Hardware: Beelink U59 YunoHost version: 188.8.131.52 (stable)
**I have access to my server : Through SSH & through the webadmin & direct access via keyboard / screen Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes, runing backports package because my GPU is not available with Debian 10, so I upgraded kernel of linux in 5.X Backports and forced it in the grub to launch the GPU pilots. I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen |
Description of my issue
Since a while, I have problem to display my data on nextcloud with Yunohost. At first, my files were no longer displayed even if the architecture of yunohost seemed to work well. In the center part of my screen, no files were displayed.
Since the last update, my complete displayed of the nextcloud app is break. Here is a capture :
The problem persist :
When trying to run an OCC command : Could not open input file: occ
I tried this : sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/occ maintenance:repair
Cannot write into "config" directory!
This can usually be fixed by giving the webserver write access to the config directory.
But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
Tried this too : ` /var/www/nextcloud/config# chown -R www-data:www-data config.php
But still, I got this when i tried to rescan files :
sudo -u www-data php occ files:scan --all
An unhandled exception has been thrown:
OC\HintException: : Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
Seems to come from the PHP ?
But at this point, I am asking myself if it would not be more easy to reinstall completly the app. The point is that i woudlike to not loose my data and also recover the users data as it was. Hopefully the date is hold on an external nas which mount locally on the debian.
So I reach you in order to answer two questions :
Do you have any idea from when come the problem and how to solve it ? I do no know from where to start to investigate actually …
Should I reinstall the app ?
Once again, thanks a lot in advance to the comunity for your help,
I will be reactiv to answer if my message is not clear.
I made some progress about my problem. So I started too reinstall the whole app because it seems to difficult to debug it…
When I reinstall it, everything work properly, the installation put back the default data directory and all the displays are perfect!
I tried to put back my old data directories with all the files that I kept from the previous nextcloud app (that I really don’t want to loose !). When I do that, the same problem reappear with the bug of displays… So it seems that some of my files are corrupted in my previous version.
If I copy the files like index.html from my fresh installation to my old path, will it solve my problem? If yes, what are all the files that I should bring? If no, what should I do …