DanWin / hosting

This is a setup for a Tor based shared web hosting server
https://danwin1210.de/hosting/
GNU General Public License v3.0
341 stars 125 forks source link

captcha for login / registration #132

Open zwieblinger opened 12 months ago

zwieblinger commented 12 months ago

what could be the error if after a reboot the page loads but without captcha and the login or register button ??

DanWin commented 12 months ago

Sounds like PHP is encountering a fatal error and aborts execution at some point. You should check the error logs for more information (/var/log/nginx/errors.log)

zwieblinger commented 12 months ago

/var/log/nginx/errors.log not found !

DanWin commented 12 months ago

Right, it is /var/log/nginx/error.log, without the s.

zwieblinger commented 12 months ago

this is from the log-file: roote@osboxes:"# cat /var/log/nginx/error. log

[2023/10/08 13:47:39 [notice] 512701#512701: signal process started

[2023/10/08 13:49:18 [notice] 542930#542930: signal process started

[2023/10/08 13:50:07 [crit] 1286#1286: *3 connect() to unix:/var/run/mysqld/mysqld.sock failed (2: Mi such file or directory) while connecting to Upstream, Client: unix:, server: Unix:/var/WuwW/var/run/ Inysgld/mysgld.sock, upstream: "unix:/var/run/mysqld/mysqld.sock', bytes from/to client:0/0, bytes fl jom/to upstream:0/0

and if i do the reboot i get this message:

mariadb database error

DanWin commented 12 months ago

Then most likely your mariadb server is not running. Check with systemctl status mariadb.service and journalctl -u mariadb.service for any issues.