limesurvey install script fails - User creation failed : HTTP/1.1 500 Internal Server Error

Trying to install limesurvey 2.51.4+160908 via the install scripts function with the following result. Can't see any errors in the apache error log and checked to use the same username and password as the domain in the installation options.

Downloading http://download.limesurvey.org/latest-stable-release/limesurvey2.51.4+16... (73.20 MB) .. Received 1024 bytes (0 %) Received 7.32 MB (10 %) Received 14.64 MB (20 %) Received 21.96 MB (30 %) Received 29.28 MB (40 %) Received 36.60 MB (50 %) Received 43.92 MB (60 %) Received 51.24 MB (70 %) Received 58.56 MB (80 %) Received 65.88 MB (90 %) Received 73.20 MB (100 %) .. download complete.

Configuring webserver PHP settings .. .. already done.

Applying web server configuration .. .. done

Now installing LimeSurvey version 2.51.4+160908 ..

User creation failed : HTTP/1.1 500 Internal Server Error

More information on using this script can be found at http://www.limesurvey.org/.

.. installation was only partially complete.

Applying web server configuration .. .. done

Status: 
Active

Comments

Howdy -- what error do you see in $HOME/logs/error_log when that occurs? The error you pasted in above suggests that there may be a helpful error available in that log file. Thanks!

I see no errors in the log file at the time I am doing the install.

This may be my problem, how do I fix this? Validate Virtual Servers
Beginning validation of selected virtual servers. Any problems found will be shown in red ..

ext.cleverfinance.com.au Administration user : Hashed password for Unix user ext does not match virtual server

Hmm, that's likely an unrelated issue, though we can certainly address that to be sure.

You should be able to correct that issue by changing your Virtual Server owner's password. To do that, go into Edit Virtual Server -> Configurable Settings, and there you can set the administrator's password

Fixed the admin password so it validates okay now but still have the same error when trying to install limesurvey.

I'm glad the password issue is fixed!

Regarding the site error -- if it's throwing a 500 error, that means it thinks it logged something somewhere. We may need to sort out why there isn't an error in there.

What is the output of this command:

ls -l $HOME/logs/

ls -l $HOME/logs/ ls: cannot access /root/logs/: No such file or directory

In the above, $HOME refers to the Virtual Server's home directory... so it would be something like /home/USERNAME/logs/.

Looks right in virtualmin but not being set in linux, how do I go about setting this?

Virtual server details Domain name ext.cleverfinance.com.au Administration username ext Administration group ext Created on 12/Mar/2015 20:46 by root Home directory /home/ext IP addresses 103.16.130.179

Okay, so our goal is to determine where the logs are... it sounds like that would be within the home directory of the user /home/ext.

What is the output of this command:

ls -la /home/ext/logs/

ls -la /home/ext/logs/ total 8 drwxr-x--- 2 ext ext 4096 Jan 5 2016 . drwxr-x--- 14 ext ext 4096 Sep 15 10:30 .. lrwxrwxrwx 1 ext ext 55 Jan 5 2016 access_log -> /var/log/virtualmin/ext.cleverfinance.com.au_access_log lrwxrwxrwx 1 ext ext 54 Jan 5 2016 error_log -> /var/log/virtualmin/ext.cleverfinance.com.au_error_log

There is no errors relating to this in those log files however.