version: 16.0.3.0
Hello,
I saw many people who have the same problem but not found the answer.
I did a fresh install (tried GUI and CLI through occ) and some files are missing
/nextcloud/js/core/merged-login.js
/nextcloud/js/core/merged-template-prepend.js
This prevents me to log in
I’ve copied them in
cp /var/www/htdocs/nextcloud/data/appdata_ocee1vaiac6l/js/core/merged-template-prepend.js /var/www/htdocs/nextcloud/js/core/ cp /var/www/htdocs/nextcloud/data/appdata_ocee1vaiac6l/js/core/merged-login.js /var/www/htdocs/nextcloud/js/core/
And I have been able to log in anyway just after login I have other missing files css and js
I’d like to know what is wrong.
I use the Nginx configuration from
https://docs.nextcloud.com/server/16/admin_manual/installation/nginx.html
I double checked, triple checked, quadruple checked…
The important stanza should be this one
location ~ \.(?:css|js|woff2?|svg|gif|map)$ { try_files $uri /index.php$request_uri; #add_header Cache-Control "public, max-age=15778463"; #add_header X-Content-Type-Options nosniff; #add_header X-XSS-Protection "1; mode=block"; #add_header X-Robots-Tag none; #add_header X-Download-Options noopen; #add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; # Optional: Don't log access to assets access_log off; }
and I put it below
location ~ ^\/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+)\.php(?:$|\/) {
… }
location ~ ^/(?:updater|oc[ms]-provider)(?:$|/) { try_files $uri/ =404; index index.php; }
I tried to disable all modules without any success
Anyone has a solution ?