Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

500 Internal Server Error

Omar Pulido   ( User )

Commented 6 years ago

I have been trying to install Akauting on my dreamhost server. I am getting the folloing error after the database screen configuration screen:


 


Internal Server Error


The server encountered an internal error or misconfiguration and was unable to complete your request.


Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.


More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


=====================


I do not get to the admin and email setup screen. 41 tables are created in the database. The user table is not populated. The requirements are there for the installation.


I have tried with PHP 5.6 fast cgi and also 7.0, 7.1 and 7.2. If I used just CGI i get an error 504 instead of 500.


Http error log (change domain name to site):


[Sun Mar 25 08:16:33 2018] [error] [client 189.190.171.112] File does not exist:
 /home/site/site.com/index.php
[Sun Mar 25 08:16:33 2018] [error] [client 189.190.171.112] File does not exist:
 /home/site/site.com/index.php
[Sun Mar 25 08:38:17 2018] [error] [client 189.190.171.112] Script timed out bef
ore returning headers: php70.cgi, referer: http://www.site.com/boffice
/install/database
[Sun Mar 25 08:46:44 2018] [error] [client 189.190.171.112] Script timed out bef
ore returning headers: php70.cgi, referer: http://www.site.com/boffice
/install/database
[Sun Mar 25 08:56:34 2018] [error] [client 189.190.171.112] Premature end of scr
ipt headers: index.php, referer: http://www.site.com/boffice/install/d
atabase


I hope you can guide me. Regards


 

Omar Pulido   ( User )

Commented 6 years ago

After researching on this timeout issue, I was able to identify that the problem was realted to the location and therefore distance between the web server and the database server. There was a 2 minute timeout set by the hosting service in order to stop any scripts that run forever. Anyway, problem has been solved.

Taki Kauser   ( User )

Commented 3 years ago

Internal Server Error!
while I'm trying to install apps(in 1.3.17) in local server(localhost). what's wrong actually???
It's okay(2.1.14) in cloud server.

Warnerjonn   ( User )

Commented 2 years ago

The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue. If your site is serving a Internal Server Error, this can be caused by a number of things, such

as:

Errors in .htaccess files
Server permission
Server timeout
Script timeout
Or some other Web Server Issues

Normally, a permissions issue on the file (or files) would be one cause of the 500 Internal Server Error. The simple solution is to run chmod 644 on the problem file(s) or chmod 755 on the directories.

$ sudo chmod -R 777 /"your files location"

The best way to debug the error depends upon the server and what’s actually running at the time. Consider some debugging tips to help diagnose and fix common causes of this problem.

http://net-informations.com/q/mis/500.html

Please login or register to leave a response.

Showing 1 to 4 of 4 discussions