Discussion:
[Mayan EDMS: 2600] New to Mayan, trying to change settings, getting manage.py error
Adam Kaney
2018-07-25 17:44:35 UTC
Permalink
I just recently installed Mayan doing the advanced install on Ubuntu 18.04.

I'm trying to change the storage locations.

I created a mysettings file per the instructions on the Mayan website:

#!/opt/mayan-edms/bin/python
from mayan.settings.production import *

DOCUMENTS_CACHE_STORAGE_BACKEND_ARGUMENTS='{location:
/media/145mayan/document_cache}'

DOCUMENTS_STORAGE_BACKEND_ARGUMENTS='{location:
/media/145mayan/document_storage}'

When I run python manage.py runserver
--settings=mayan.media.mayan_settings.mysettings

I get the error: python: can't open file 'manage.py': [Errno 2] No such
file or directory

I'm still new to this, so hopefully it is just something simple that I'm
missing
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-08-08 21:49:51 UTC
Permalink
Try adding an empty __init__.py to mayan.media and to
mayan.media.mayan_settings so that mysetting is importable
You can use the touch command:

touch /opt/mayan-edms/mayan/media/__init__.py
touch /opt/mayan-edms/mayan/media/mayan_settings/__init__.py

If you installed version 3.0, the initialsetup command should have created
these for you.
Post by Adam Kaney
I just recently installed Mayan doing the advanced install on Ubuntu 18.04.
I'm trying to change the storage locations.
#!/opt/mayan-edms/bin/python
from mayan.settings.production import *
/media/145mayan/document_cache}'
/media/145mayan/document_storage}'
When I run python manage.py runserver
--settings=mayan.media.mayan_settings.mysettings
I get the error: python: can't open file 'manage.py': [Errno 2] No such
file or directory
I'm still new to this, so hopefully it is just something simple that I'm
missing
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...