Thanks,bro. I’ve encountered another tricky issue. I accidentally deleted the NGINX folder, but the Nextcloud folder and database should still be intact. How can I recover this Nextcloud instance? Despite copying the previously backed-up NGINX folder back to its original location, the instance remains unrecoverable.
after a reboot, its all internal erro page now.this is what i got from command line
tail -n 1 /srv/nextcloud/data/nextcloud.log | jq
parse error: Unfinished string at EOF at line 1, column 448
god helps me, !! are three backups in nextcloud’s backup directory, but I don’t know if them valid or not, because there ware error massage showen ont the web page.
could you show me how to recover from those backups😂
Is it a permissions issue? What account(s) are the owner/group for the restored NGINX folder? What account is the service running as? Could you just re-install NGINX and copy the config over once the service is running?
I backed up NGINX using the CP command into an NGINX.BAK folder, then deleted the NGINX and certificate folders with RM -RF. Afterward, I restored the NGINX and certificate folders using the CP command, but everything changed. The permissions were root both before and after, which is quite puzzling.
Most probably you have a certificate problem if it complains on that. Try to solve that first. Nginx is probably correct but certificate path or cert itself is the problem.