question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't create identities (new fresh install with apache)

See original GitHub issue

Hi all,

Subject says it all. No identities can be created. I am using appache currently and will also test it with nginx and report here.

cheers, JBR

Impacted versions

  • Modoboa: 1.10.6
  • installer used: Yes
  • Webserver: Apache

Steps to reproduce

  • Open the webinterface go to identities and click on ‘+Add’
  • Fill in the required fields, press, ‘Next’ and ‘Submit’

Current behavior

No result. The dialog windows with the ‘Submit’ button stays on screen.

Expected behaviour

Create an identity (i.e. user in this case)

Javascript Console, output


 [Show/hide message details.] SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data jquery.min.js:3:4315
parseJSON
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:4315
post/<
https://mail.nerderlands.net/sitestatic/js/creation_wizard.js:61:28
i
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:6334
c
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:7852
fireWith
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:8658
k
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:14038
r
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:18226
[Show/hide message details.] SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data jquery.min.js:3:4315
parseJSON
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:4315
post/<
https://mail.nerderlands.net/sitestatic/js/creation_wizard.js:61:28
i
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:6334
c
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:7852
fireWith
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:8658
k
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:14038
r
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:18226
[Show/hide message details.] SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data jquery.min.js:3:4315
parseJSON
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:4315
post/<
https://mail.nerderlands.net/sitestatic/js/creation_wizard.js:61:28
i
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:6334
c
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:7852
fireWith
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:3:8658
k
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:14038
r
https://mail.nerderlands.net/sitestatic/jquery/jquery.min.js:5:18226

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ByteSizedMariuscommented, Feb 11, 2021

Sorry for bumping this 3yr old thread, but I had the exact same problem and as this is the first resource you find on google, I would like to maybe help the next desperate person searching for the answer. My problem was that the www-data user didnt have any perms for the /srv/modoboa/pdfcredentials/ directory. chowning it/ giving it perms manually fixed it for me.

0reactions
ksaadDEcommented, Apr 21, 2021

Sorry for bumping this 3yr old thread, but I had the exact same problem and as this is the first resource you find on google, I would like to maybe help the next desperate person searching for the answer. My problem was that the www-data user didnt have any perms for the /srv/modoboa/pdfcredentials/ directory. chowning it/ giving it perms manually fixed it for me.

Same weirdity occured here. I did the same. In my case chmod 755 -R /srv/modoboa/pdfcredentials was NOT enough. Sadly it’s so annoying you need 7777 otherwise the admin panel won’t create the user (why ever!)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache Nifi fresh install: No users.xml and authorizations.xml
When you install Apache NiFi (building from source or downloading the binaries), the users.xml and authorizations.xml files will not exist ...
Read more >
Install a web server on your EC2 instance - AWS Documentation
Install a web server to serve public content and connect to the private Amazon RDS DB Instance.
Read more >
Free Tier: Install Apache and PHP on an Ubuntu Instance
Log in to the Oracle Cloud Infrastructure Console. Open the navigation menu and click Identity & Security. Under Identity, click Compartments. Click Create...
Read more >
Create an Apache-based YUM/DNF repository on Red Hat ...
yum clean all Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Red Hat ...
Read more >
Running a basic Apache web server - Google Cloud
Prerequisites; Install Apache; Test your server; Clean up ... If you're new to Google Cloud, create an account to evaluate how Compute Engine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found