mirror of
https://github.com/modoboa/modoboa.git
synced 2026-04-26 01:16:01 +03:00
[GH-ISSUE #768] Cannot create users on a fresh install #691
Labels
No labels
bug
bug
dependencies
design
documentation
duplicate
enhancement
enhancement
enhancement
feedback-needed
help-needed
help-needed
installer
invalid
looking-for-sponsors
modoboa-contacts
new-ui
new-ui
pr
pull-request
pyconfr
python
question
security
stale
webmail
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/modoboa-modoboa#691
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fulviuus on GitHub (Oct 25, 2015).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/768
I have installed Modoboa using the latest automated installer on two different VPS, one running Ubuntu 14.04 and also a Debian 8.1.
The install runs fine, I add a domain on the webadmin, but when I try to create a mail user and click Submit I get a 500 server error.
I have tried checking the logs, but I see nothing in either /var/log/nginx/error.log or the modoboa specific one.
Any help to debug the issue would be really appreciated, is there a Linux distro where the software is known to run without problems?
@tonioo commented on GitHub (Oct 25, 2015):
Set DEBUG to True inside settings.py and open a javascript console (firebug or similar), you should have more information.
@piwats commented on GitHub (Oct 25, 2015):
Is there an uwsgi log somewhere, too?
@Fulviuus commented on GitHub (Oct 25, 2015):
Thanks for the quick reply!
This is what I got:
Seems like the /var/lib/modoboa directory is not there at all.
@Fulviuus commented on GitHub (Oct 25, 2015):
Also got another error when clicking the "admin" user:
@tonioo commented on GitHub (Oct 25, 2015):
We have two different issues here:
@Fulviuus commented on GitHub (Oct 25, 2015):
Ok, this is the full log of the install, with the --debug flag enabled:
http://pastebin.com/72UM83B7
Unfortunately it does not seem to log SQL queries + execution result, so I am unable to see what is wrong with it. the only weird thing that I can see is this, right at the bottom:
By the way, I see the directory pdfcredentials inside /srv/modoboa, but it is called 'pdfcredentials' (not pdf_credentials) and it's empty.
@tonioo commented on GitHub (Oct 26, 2015):
Ok. I've fixed the issue with the installer so modoboa settings will be applied properly. Now I need to fix the admin bug.
@tonioo commented on GitHub (Oct 31, 2015):
I've opened a specific issue for the admin bug: https://github.com/modoboa/modoboa-postfix-autoreply/issues/20.
I close this one.
@schneidermayer commented on GitHub (Apr 13, 2017):
Got the same issue, fixed it by setting proper permissions for the webserver user
www-dataon a) the modoboa instance and b) the wsgi lock file:Use this if you have Nginx with uWSGI:
chmod -R 774 /run/uwsgi/app/chown -R modoboa:www-data /run/uwsgi/Use this if you have Apache with mod_wsgi:
chmod -R 774 /var/run/apache2/chown -R modoboa:www-data /var/run/apache2/Finally, set permission on those folder, just in case:
chown -R modoboa:www-data /srv/modoboaCheck syslog and apache2 access+error logs and always restart the webserver. If you use nginx don't forget to restart uwsgi seperately!
Caution, the chown is way too lose. If it works you may wanna specify it in detail.
@kisst commented on GitHub (Mar 16, 2022):
Just run into this on a fresh install. ( debian 11 hence on --beta due to the deprecated decodestring in 3.9 feedparser dependency in latest stable )
@kisst commented on GitHub (Mar 16, 2022):
https://github.com/modoboa/modoboa-pdfcredentials/blob/master/modoboa_pdfcredentials/forms.py#L25 still points to the folder which does not exist.