-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a super user fails with docker #232
Comments
you need a |
Thanks. One would think that it would written in install documentation but its not. I have the following files in /home/user/nemo but it still produces an error:
|
try running
before the createsuperuser command |
Getting this error now: Traceback (most recent call last): |
remove NEMO.apps.nemo_ce from your installed apps unless you are really trying to install nemo ce in which case you should use the other container |
Thanks that seemed to do it, I got past the initial static command. Now running in this problem: The above exception was the direct cause of the following exception: Traceback (most recent call last): |
you need to run replace the nemo container by nemo-ce if that's what you are trying to install |
On Ubuntu Server 24.04 step from installation manual fails with the following error:
docker run --interactive --tty --volume /home/user/nemo:/nemo nanofab/nemo django-admin createsuperuser
`Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/django/core/management/init.py", line 237, in fetch_command
app_name = commands[subcommand]
~~~~~~~~^^^^^^^^^^^^
KeyError: 'createsuperuser'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/django-admin", line 8, in
sys.exit(execute_from_command_line())
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.11/site-packages/django/core/management/init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/core/management/init.py", line 244, in fetch_command
settings.INSTALLED_APPS
File "/usr/local/lib/python3.11/site-packages/django/conf/init.py", line 82, in getattr
self._setup(name)
File "/usr/local/lib/python3.11/site-packages/django/conf/init.py", line 69, in _setup
self._wrapped = Settings(settings_module)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/django/conf/init.py", line 170, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1140, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'settings'`
Docker image present:
docker images REPOSITORY TAG IMAGE ID CREATED SIZE nanofab/nemo latest e6132da841da 13 days ago 1.22GB
The text was updated successfully, but these errors were encountered: