syncloud / platform

Run popular services on your device with one click
https://syncloud.org
GNU General Public License v3.0
400 stars 40 forks source link

Some apps can't be reached again after power failure #418

Closed klmhsb42 closed 5 years ago

klmhsb42 commented 5 years ago

After hard disconnection (~4 days) from power (without shutdown), some apps can't be reached over URL. Case for nextcloud and users app. Redirection to e.g. https://nextcloud.name.syncloud.it/apps/files/ to Internal Server Error page.

cyberb commented 5 years ago

You need to send logs to support or yourself to check what is failing.

cyberb commented 5 years ago

You actually helped me to fix this long standing bug! Could you update users?

cyberb commented 5 years ago

Nextcloud is also updated.

klmhsb42 commented 5 years ago

Whatever I've done, I'm happy to help. User works again. Nextcloud still same error. Send logs.

cyberb commented 5 years ago

What version of nextcloud do you have now?

klmhsb42 commented 5 years ago

Installed version: 1909118

cyberb commented 5 years ago

What exact error do you get?

klmhsb42 commented 5 years ago

I can use nextcloud android apps, but when I open it in browser, I'm getting to https://nextcloud.name.syncloud.it/apps/files/ which says:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
klmhsb42 commented 5 years ago

This is the case in firefox and chrome. MS Edge says, that my TLS Certificate is old or unsecure...

cyberb commented 5 years ago

Ok, log says:

/opt/disk/external/nextcloud/appdata_oc4gxcge6xq4/js/core/merged-template-prepend.js

Could you check if this file or directory containing this file actualy exists?

cyberb commented 5 years ago

There is a way regenerate appdata dir: https://help.nextcloud.com/t/screwed-up-data-appdata-instanceid/7569/3

snap run nextcloud.occ config:system:delete instanceid
klmhsb42 commented 5 years ago

No, there is only appdata_oczo0ea8c1k9 and no /js inside. Regenerating appdata dir works! Thanks again. Is it possible to implement an automatic check function for other users?