Hi,
Please help… Error found when update NC 12.0.2 to 12.0.3RC2.
The following extra files have been found:
assets
Hi,
Please help… Error found when update NC 12.0.2 to 12.0.3RC2.
The following extra files have been found:
assets
Just move it elsewhere
How to move it?
My assumption is you have access to the command line with the limited details provided, it will look like this:
mv /path/to/location/of/nextcloud/assets /somewhere/else
If you aren’t the root user, it will look like this:
sudo mv /path/to/location/of/nextcloud/assets /somewhere/else
Hi,
Successfully moved the assets but now hit another issue permission error.
Check for write permissions
The following places can not be written to:
/var/www/nextcloud/updater/…/remote.php
/var/www/nextcloud/updater/…/cron.php
/var/www/nextcloud/updater/…/index.html
/var/www/nextcloud/updater/…/console.php
/var/www/nextcloud/updater/…/public.php
/var/www/nextcloud/updater/…/index.php
/var/www/nextcloud/updater/…/.user.ini
/var/www/nextcloud/updater/…/.htaccess
/var/www/nextcloud/updater/…/status.php
/var/www/nextcloud/updater/…/occ
/var/www/nextcloud/updater/…/AUTHORS
/var/www/nextcloud/updater/…/robots.txt
/var/www/nextcloud/updater/…/db_structure.xml
/var/www/nextcloud/updater/…/version.php
updater folder permission are as below
drwxr-x— 2 www-data www-data 4096 Aug 13 18:45 updater/
Thanks.
Actually you can remove the assets folder. It is a remaining from older times, where nextcloud used assets, but does not anymore.
About permissions: Try to chown -R www-data:www-data /path/to/nextcloud
again to also set owner for all subdirectories again.
Hi ekteohwl, run these commands:
sudo chown -R www-data:www-data /var/www/nextcloud
/
find /var/www/nextcloud/ -type d -exec chmod 755 {} \;
find /var/www/nextcloud/ -type f -exec chmod 644 {} \;
Although assets is unused, I usually err on the side of a move in case there by some strange chance was something in there (though, that hasn’t been the case in my findings). It is an old leftover though as @MichaIng has said
Thanks a lot guys, now I am in NC 12.0.3RC2. Applying the permission again solve the permission issue.
Thank you @stratacast @MichaIng
this works