Can no longer access cloudron ui
-
@girish root@localhost:~# journalctl -u nginx -fa
Oct 07 14:55:55 localhost nginx[5267]: nginx: [emerg] cannot load certificate "/home/yellowtent/platformdata/nginx/cert/imit.tech.cert": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/home/yellowtent/platformdata/nginx/cert/imit.tech.cert, r) error:10000080:BIO routines::no such file)
Oct 07 14:55:55 localhost nginx[5267]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 07 14:55:55 localhost systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 07 14:55:55 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 07 14:55:55 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Oct 07 14:55:55 localhost systemd[1]: nginx.service: Scheduled restart job, restart counter is at 5.
Oct 07 14:55:55 localhost systemd[1]: Stopped A high performance web server and a reverse proxy server.
Oct 07 14:55:55 localhost systemd[1]: nginx.service: Start request repeated too quickly.
Oct 07 14:55:55 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 07 14:55:55 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server. -
@falkfyre yes, correct. deleting the nginx configs and even the certs is totally safe, Cloudron can re-create the configs with no data loss.
Once nginx is online, access the dashboard. Then, just go into each app and do "Repair" . This will regenerate the nginx configuration.
-
@girish Now I'm just getting
root@localhost:~# systemctl restart nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for details. root@localhost:~# root@localhost:~# journalctl -u nginx -fa Oct 07 15:51:29 localhost systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 07 15:51:29 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server. Oct 07 15:51:29 localhost systemd[1]: nginx.service: Scheduled restart job, restart counter is at 5. Oct 07 15:51:29 localhost systemd[1]: Stopped A high performance web server and a reverse proxy server. Oct 07 15:51:29 localhost systemd[1]: nginx.service: Start request repeated too quickly. Oct 07 15:51:29 localhost systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 07 15:51:29 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server. Oct 07 15:51:33 localhost systemd[1]: nginx.service: Start request repeated too quickly. Oct 07 15:51:33 localhost systemd[1]: nginx.service: Failed with result 'exit-code'. Oct 07 15:51:33 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.
-
@girish root@localhost:~# journalctl -u nginx -fa
Oct 07 15:57:27 localhost nginx[4359]: nginx: [emerg] cannot load certificate "/home/yellowtent/platformdata/nginx/cert/imit.tech.cert": BIO_new_file() failed (SSL: error:80000002:system library::No such file or directory:calling fopen(/home/yellowtent/platformdata/nginx/cert/imit.tech.cert, r) error:10000080:BIO routines::no such file)
Oct 07 15:57:27 localhost nginx[4359]: nginx: configuration file /etc/nginx/nginx.conf test failed
Oct 07 15:57:27 localhost systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Oct 07 15:57:27 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 07 15:57:27 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Oct 07 15:57:27 localhost systemd[1]: nginx.service: Scheduled restart job, restart counter is at 5.
Oct 07 15:57:27 localhost systemd[1]: Stopped A high performance web server and a reverse proxy server.
Oct 07 15:57:27 localhost systemd[1]: nginx.service: Start request repeated too quickly.
Oct 07 15:57:27 localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
Oct 07 15:57:27 localhost systemd[1]: Failed to start A high performance web server and a reverse proxy server.When I do
cd /etc/nginx
grep -ir _.imit.tech.certnothing happens
-
@falkfyre
You must manually refresh the certificate under “Domains & Certs” -
@matix131997 How do I go about that with no dashboard?
-
@matix131997 Nothing, tried a private window and another browser. This is on a VPS btw
-
@matix131997 Is there a cli option?
-
@matix131997 Proxied through cloudflare. There is no advanced option. It isn't like how a self signed or local shows up.
my.imit.tech
I'll try turning off proxy option in cloudflare
-
@matix131997 Didn't cross my mind. this is a new issue. Hence the reason I mentioned it could have been part of the problem that just came up a minute before.
-
@falkfyre so did it work out?
-