Updating to 12.2U3 broke my nextcloud behind a reverse proxy. After doing a
to update both the nextcloud and caddy scripts. I tried to destroyed the jails and re ran the scripts. Still no luck. I have a backup of the nextcloud so I decided to see if I could wipe my nextcloud data and do a fresh install. Still not working when going to the IP of the nextcloud jail I get.
My caddy.log file from the nextcloud jail.
Code:
{"level":"info","ts":1619349985.0317822,"msg":"using provided configuration","config_file":"/usr/local/www/Caddyfile","config_adapter":"caddyfile"}
{"level":"info","ts":1619349985.0342257,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
{"level":"info","ts":1619349985.0344737,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0003cec40"}
{"level":"info","ts":1619349985.046344,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
{"level":"warn","ts":1619349985.0643094,"logger":"pki.ca.local","msg":"installing root certificate (you might be prompted for password)","path":"storage:pki/authorities/local/root.crt"}
2021/04/25 07:26:25 Note: NSS support is not available on your platform
2021/04/25 07:26:25 define JAVA_HOME environment variable to use the Java trust
{"level":"error","ts":1619349985.0644894,"logger":"pki.ca.local","msg":"failed to install root certificate","error":"trust not supported","certificate_file":"storage:pki/authorities/local/root.crt"}
{"level":"info","ts":1619349985.0646603,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":1619349985.0647213,"msg":"autosaved config","file":"/.config/caddy/autosave.json"}
{"level":"info","ts":1619349985.0647376,"msg":"serving initial configuration"}
Successfully started Caddy (pid=10826) - Caddy is running in the background
{"level":"info","ts":1619349996.5769763,"msg":"not implemented","signal":"SIGHUP"}
root@cloud:~ # cat /var/log/caddy.log
{"level":"info","ts":1619349985.0317822,"msg":"using provided configuration","config_file":"/usr/local/www/Caddyfile","config_adapter":"caddyfile"}
{"level":"info","ts":1619349985.0342257,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
{"level":"info","ts":1619349985.0344737,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0003cec40"}
{"level":"info","ts":1619349985.046344,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
{"level":"warn","ts":1619349985.0643094,"logger":"pki.ca.local","msg":"installing root certificate (you might be prompted for password)","path":"storage:pki/authorities/local/root.crt"}
2021/04/25 07:26:25 Note: NSS support is not available on your platform
2021/04/25 07:26:25 define JAVA_HOME environment variable to use the Java trust
{"level":"error","ts":1619349985.0644894,"logger":"pki.ca.local","msg":"failed to install root certificate","error":"trust not supported","certificate_file":"storage:pki/authorities/local/root.crt"}
{"level":"info","ts":1619349985.0646603,"logger":"tls","msg":"cleaned up storage units"}
{"level":"info","ts":1619349985.0647213,"msg":"autosaved config","file":"/.config/caddy/autosave.json"}
{"level":"info","ts":1619349985.0647376,"msg":"serving initial configuration"}
Successfully started Caddy (pid=10826) - Caddy is running in the background
{"level":"info","ts":1619349996.5769763,"msg":"not implemented","signal":"SIGHUP"}
Here is my config file.
I assume I should get nextcloud working first and then look at the reverse proxy?
BTW I have a redirect line in my pfsense router resolver that redirects cloud.xxxxxxxx.com to 192.168.5.83 the IP of the caddy RP jail.