- I tried to change mimetypes files (both of them). Made copies for both mimetypealiases and mimetypemapping .json files from “/snap/nextcloud/current/htdocs/resources/config” and placed those copies to “/var/snap/nextcloud/current/nextcloud/config”. Then I tried loading those files.
I cd to “/snap/nextcloud/current/htdocs” then run
sudo -u www-data php occ maintenance:mimetype:update-js
Error is “App directory “/snap//current/htdocs/apps” not found! Please put the Nextcloud apps folder in the Nextcloud foder or the folder above. You can also configure the location in the config.php file.” - Furthermore, everything I try to do with sudo -u www-data php occ output the same error. HELP please!
- I also tried sudo -u www-data php nextcloud.occ maintenance:mimetype:update-js. Same error