-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Server Error when Add/Delete Domain #102
Comments
Better to check your apache error logs for clues. 500 is too general to isolate. |
here this error log
|
@kang28ivan Nothing in your error log would throw a fatal error, they are all just notices rather than errors or warnings. Try editing your .htaccess file, changing line 34 to |
I use nginx + php-fpm at this time, and for the DB menu is not available? |
@kang28ivan This is likely related to issue #97 which has been fixed in the upcoming release, but you can try the solution listed in this comment to see if that works. I would also appreciate if you could run the command |
Thank you, this means just waiting for an upcoming release for improvement db menu. here debug command result bash <(curl -s https://cdgco.github.io/debug) |
@kang28ivan Sorry, it looks like the debug script isn't working. Could you try running this command instead As for the actual issue, yes you can wait for the next release, but the fix is already uploaded to GitHub, so if you manually replace your includes.php file as detailed in the comment I linked above, you should be able to fix it immediately. |
Thank you, I will try manual update sir. php -v && lsb_release -a && /usr/local/vesta/bin/v-list-sys-config && /usr/local/vesta/bin/v-list-sys-servicesPHP 7.2.21 (cli) (built: Jul 30 2019 14:46:08) ( NTS ) nginx running 0.1 1285 5551 |
@kang28ivan It looks like your problem is the same as the other issue. It is specifically related to MariaDB (and/or Apache2 & Named) on CentOS. If this fix does not work, let me know. Also, I could be wrong, but I believe this error should also be preventing your 'DNS' page from displaying too. |
It seems right as you said, several times I have to restart the mariadb because when access to the interface appears not connected notifications, and after restarting mariadb can work fine. So how is the solution to fix it? |
@kang28ivan The issue with the menus not showing is that VWI is attempting to find MySQL not MariaDB. That is fixed by replacing your includes/includes.php file with this one. The 'not connected' notifications are an entirely different issue, and are likely a product of your server configuration. Either your server does not have enough resources to keep up with the requests from VWI or it is having trouble using the specified connection. One method of solving this is to enable database caching in your includes.php file by changing line 34 from To fix the underlying issue that is causing this, you might want to try different addresses such as |
I have already tried reinstalling, but the result is still the same, when add domain and delete domain always "Internal Server Error"
|
@kang28ivan The error that is causing this is from this line Unfortunately, this in not an error with VWI but rather VestaCP and your configuration of nginx and php-fpm. I would recommend reading something like this and altering your memory and timeout configurations, or contacting the support team from VestaCP as they are much more knowledgeable about these issues. |
I have problems when adding or removing domains
500
Internal Server Error
Something went wrong. Please try your request again.
https://prnt.sc/or6s0j
The text was updated successfully, but these errors were encountered: