Closed biztems closed 5 years ago
Already tried empty the redis caches with redis-cli FLUSHDB
and redis-cli FLUSHALL
along with manually emptying the oc_filecache
table. Also tried a bunch of times occ maintenance:repair
and various files:
and scan:
options to no avail.
Could you check the nginx configuration (https://docs.nextcloud.com/server/16/admin_manual/installation/nginx.html)? Unfortunately css files are served by nextcloud and not nginx directly. According to your web server error log nginx tries to resolve the css file.
Could you check the nginx configuration (https://docs.nextcloud.com/server/16/admin_manual/installation/nginx.html)? Unfortunately css files are served by nextcloud and not nginx directly. According to your web server error log nginx tries to resolve the css file.
Dangit, you are right - there was a spurious entry which looked eerily similar to what was reported in the docs and as such went unnoticed. Removing it made everything work. My bad!
I hope this will be useful in case someone else has the same issue.
Thanks again for the great job with NextCloud!
Steps to reproduce
Expected behaviour
Tell us what should happen
The css folder should be loaded correctly from appdata_*
Actual behaviour
Tell us what happens instead
It tries to look for the css folder in $SERVERROOT (which is wrong, since css files are generated in appdata*)
Just for testing, symlinking the css folder makes everything work
Server configuration
Operating system: CentOS 7.6
Web server: NGINX
Database: mariadb 10.4
PHP version: 7.3
Nextcloud version: (see Nextcloud admin page) 16.0.0.9
Updated from an older Nextcloud/ownCloud or fresh install: Updated from 15
Where did you install Nextcloud from: ZIP file
Signing status:
Signing status
``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```No errors have been found.
List of activated apps:
App list
``` Enabled: - accessibility: 1.2.0 - activity: 2.9.1 - admin_audit: 1.6.0 - bruteforcesettings: 1.3.0 - cloud_federation_api: 0.2.0 - comments: 1.6.0 - dav: 1.9.2 - federatedfilesharing: 1.6.0 - federation: 1.6.0 - files: 1.11.0 - files_pdfviewer: 1.5.0 - files_rightclick: 0.13.0 - files_sharing: 1.8.0 - files_texteditor: 2.8.0 - files_trashbin: 1.6.0 - files_versions: 1.9.0 - files_videoplayer: 1.5.0 - firstrunwizard: 2.5.0 - gallery: 18.3.0 - logreader: 2.1.0 - lookup_server_connector: 1.4.0 - nextcloud_announcements: 1.5.0 - notifications: 2.4.1 - oauth2: 1.4.2 - password_policy: 1.6.0 - privacy: 1.0.0 - provisioning_api: 1.6.0 - recommendations: 0.4.0 - serverinfo: 1.6.0 - sharebymail: 1.6.0 - support: 1.0.0 - survey_client: 1.4.0 - systemtags: 1.6.0 - theming: 1.7.0 - twofactor_backupcodes: 1.5.0 - updatenotification: 1.6.0 - user_ldap: 1.6.0 - viewer: 1.0.0 - workflowengine: 1.6.0 Disabled: - encryption - files_external ```Nextcloud configuration:
Config report
``` { "system": { "debug": "true", "csrf.disabled": "true", "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "url.domain.tld" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "16.0.0.9", "overwrite.cli.url": "https:\/\/url.domain.tld", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "3306", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "lost_password_link": "disabled", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_smtpauthtype": "LOGIN", "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "enabledPreviewProviders": [ "OC\\Preview\\Illustrator", "OC\\Preview\\Movie", "OC\\Preview\\MSOffice2003", "OC\\Preview\\MSOffice2007", "OC\\Preview\\MSOfficeDoc", "OC\\Preview\\OpenDocument", "OC\\Preview\\PDF", "OC\\Preview\\Photoshop", "OC\\Preview\\Postscript", "OC\\Preview\\StarOffice", "OC\\Preview\\SVG", "OC\\Preview\\TIFF", "OC\\Preview\\Font", "OC\\Preview\\PNG", "OC\\Preview\\JPEG", "OC\\Preview\\GIF", "OC\\Preview\\HEIC", "OC\\Preview\\BMP", "OC\\Preview\\XBitmap", "OC\\Preview\\MP3", "OC\\Preview\\TXT", "OC\\Preview\\MarkDown" ], "sort_groups_by_name": "true", "memcache.local": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 0, "password": "***REMOVED SENSITIVE VALUE***", "dbindex": 0 }, "cipher": "AES-256-CFB", "quota_include_external_storage": false, "filesystem_check_changes": 0, "part_file_in_storage": true, "memcache.locking": "\\OC\\Memcache\\Redis", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "theme": "", "loglevel": 0, "maintenance": false } } ```Are you using external storage, if yes which one: local/smb/sftp/... NFS
Are you using encryption: yes/no No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP
LDAP configuration (delete this part if not used)
LDAP config
``` +-------------------------------+-------------------------------------------------------------------------------------------------------+ | Configuration | s01 | +-------------------------------+-------------------------------------------------------------------------------------------------------+ | hasMemberOfFilterSupport | 0 | | homeFolderNamingRule | attr:uid | | lastJpegPhotoLookup | 0 | | ldapAgentName | uid=*REMOVED* | | ldapAgentPassword | *** | | ldapAttributesForGroupSearch | cn | | ldapAttributesForUserSearch | uid | | ldapBackupHost | | | ldapBackupPort | | | ldapBase | dc=*REMOVED* | | ldapBaseGroups | ou=*REMOVED* | | ldapBaseUsers | ou=*REMOVED* | | ldapCacheTTL | 600 | | ldapConfigurationActive | 1 | | ldapDefaultPPolicyDN | | | ldapDynamicGroupMemberURL | | | ldapEmailAttribute | mail | | ldapExperiencedAdmin | 0 | | ldapExpertUUIDGroupAttr | | | ldapExpertUUIDUserAttr | | | ldapExpertUsernameAttr | uid | | ldapExtStorageHomeAttribute | | | ldapGidNumber | gidNumber | | ldapGroupDisplayName | description | | ldapGroupFilter | (&(*REMOVED*)) | | ldapGroupFilterGroups | | | ldapGroupFilterMode | 1 | | ldapGroupFilterObjectclass | | | ldapGroupMemberAssocAttr | member | | ldapHost | *REMOVED* | | ldapIgnoreNamingRules | | | ldapLoginFilter | uid=%uid | | ldapLoginFilterAttributes | | | ldapLoginFilterEmail | 0 | | ldapLoginFilterMode | 1 | | ldapLoginFilterUsername | 0 | | ldapNestedGroups | 0 | | ldapOverrideMainServer | | | ldapPagingSize | 500 | | ldapPort | 389 | | ldapQuotaAttribute | | | ldapQuotaDefault | | | ldapTLS | 1 | | ldapUserAvatarRule | default | | ldapUserDisplayName | cn | | ldapUserDisplayName2 | | | ldapUserFilter | (&*REMOVED*)(memberOf=*REMOVED*)) | | ldapUserFilterGroups | | | ldapUserFilterMode | 1 | | ldapUserFilterObjectclass | | | ldapUuidGroupAttribute | auto | | ldapUuidUserAttribute | auto | | turnOffCertCheck | 0 | | turnOnPasswordChange | 0 | | useMemberOfToDetectMembership | 1 | +-------------------------------+-------------------------------------------------------------------------------------------------------+ ```Client configuration
Browser: Firefox and Chrome
Operating system: Windows 10
Logs
Web server error log
Web server error log
``` 2019/05/02 14:34:12 [error] 4845#4845: *3 open() "/usr/share/nginx/html/nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.10.103, server: *REMOVED*, request: "GET /css/icons/icons-vars.css?v=1556799617 HTTP/2.0", host: "*REMOVED*" 2019/05/02 14:34:12 [error] 4845#4845: *3 open() "/usr/share/nginx/html/nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.10.103, server: *REMOVED*, request: "GET /css/icons/icons-vars.css?v=1556799617 HTTP/2.0", host: "*REMOVED*" ```Nextcloud log (data/nextcloud.log)
Nextcloud log
``` {"reqId":"upQLXzsayCNGK5HuABeW","level":0,"time":"2019-05-02T12:54:11+00:00","remoteAddr":"192.168.10.103","user":"--","app":"cron","method":"GET","url":"\/cron.php","message":"Run OC\\Command\\CommandJob job with ID 228","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36","version":"16.0.0.9"} {"reqId":"upQLXzsayCNGK5HuABeW","level":0,"time":"2019-05-02T12:54:11+00:00","remoteAddr":"192.168.10.103","user":"--","app":"cron","method":"GET","url":"\/cron.php","message":"Finished OC\\Command\\CommandJob job with ID 228 in 0 seconds","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/73.0.3683.103 Safari\/537.36","version":"16.0.0.9"} ```Browser log
Browser log
``` cfb8-7382-server.css:1 Failed to load resource: the server responded with a status of 404 () cfb8-7382-css-variables.css:1 Failed to load resource: the server responded with a status of 404 () 12a4-7382-styles.css:1 Failed to load resource: the server responded with a status of 404 () cfb8-7382-results.css:1 Failed to load resource: the server responded with a status of 404 () 2icons-vars.css:1 Failed to load resource: the server responded with a status of 404 () main.js:278 JQMIGRATE: Migrate is installed, version 1.4.1 cfb8-7382-server.css:1 Failed to load resource: the server responded with a status of 404 () cfb8-7382-css-variables.css:1 Failed to load resource: the server responded with a status of 404 () 12a4-7382-styles.css:1 Failed to load resource: the server responded with a status of 404 () cfb8-7382-results.css:1 Failed to load resource: the server responded with a status of 404 () icons-vars.css:1 Failed to load resource: the server responded with a status of 404 () ```