Can't import project from previous installation
-
wrote on Mar 8, 2024, 3:06 PM last edited by
Hi,
In our company we use an old version on Taiga and want to migrate Taiga to cloudron.
I tried exporting one of the projects we have in our previous installation.
Due to the size of the exported file (1.4Gb) , I had to export it with manage.py command.I tried to upload the export on a new project but the file size is too big. So I uploaded the file with cloudron's file manager.
I tried then to import the file with manage.py using this command :python3 manage.py load_dump my_export.json my_email_address
I got this error :
Traceback (most recent call last): File "/app/code/taiga-back/manage.py", line 15, in <module> from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'
I also tried to edit nginx.conf file but it's readonly.
Is there any way to change nginx config or make the manage.py command work ?
Thanks
-
Hi,
In our company we use an old version on Taiga and want to migrate Taiga to cloudron.
I tried exporting one of the projects we have in our previous installation.
Due to the size of the exported file (1.4Gb) , I had to export it with manage.py command.I tried to upload the export on a new project but the file size is too big. So I uploaded the file with cloudron's file manager.
I tried then to import the file with manage.py using this command :python3 manage.py load_dump my_export.json my_email_address
I got this error :
Traceback (most recent call last): File "/app/code/taiga-back/manage.py", line 15, in <module> from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'
I also tried to edit nginx.conf file but it's readonly.
Is there any way to change nginx config or make the manage.py command work ?
Thanks
@Lloyd66 have you seen https://docs.cloudron.io/apps/taiga/#importing-a-project ? You have to activate the virtualenv first.
-
wrote on Apr 26, 2024, 4:00 PM last edited by
Sorry for the late answer !
I didn't do that previously, thanks !The documentation forgets to mention it's necessary to set DJANGO_SETTINGS_MODULE=settings.config env to make the load_dump command work !