Server: JSCombiner unable to cache

Created on 29 Jul 2018  路  11Comments  路  Source: nextcloud/server

Steps to reproduce

  1. Visit nextcloud instance
    Alternatively:
  2. Remove javascript cache directory
  3. visit nextcloud instance

Expected behaviour

JSCombiner is able to cache

Actual behaviour

JSCombiner is unable to cache.
The $datadir/appdata_occxyz/js/ folder is never written to (and its contents also don't get recreated), but it is used (without it I get a 500 type server error).
The contents of the javascript cache folder are very old and it's unclear, why JSCombiner is failing to write there (all folders below $datadir are owned by the webserver user (e.g. css cache doesn't fail!).
As they don't get recreated, I have to use the old backup contents which lead to very long load times for most of the apps (all the javascript is loaded separately, etc.)!

Server configuration

Operating system: Arch Linux

Web server: nginx 1.14.0

Database: mariadb 10.1.34

PHP version: 7.2.8

Nextcloud version: 13.0.5.2

Updated from an older Nextcloud/ownCloud or fresh install: Updated from ownCloud long time ago.

Where did you install Nextcloud from: official Arch Linux repositories (packaged version of nextcloud)

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.

List of activated apps:


App list

Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - bookmarks: 0.11.0
  - calendar: 1.6.1
  - comments: 1.3.0
  - contacts: 2.1.5
  - dav: 1.4.7
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_pdfviewer: 1.2.1
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - firstrunwizard: 2.2.1
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - news: 12.0.4
  - nextcloud_announcements: 1.2.0
  - notes: 2.3.2
  - notifications: 2.1.2
  - oauth2: 1.1.1
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - spreed: 3.2.5
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - tasks: 0.9.6
  - theming: 1.4.5
  - twofactor_backupcodes: 1.2.3
  - updatenotification: 1.3.0
  - workflowengine: 1.3.0
Disabled:
  - encryption
  - files_external
  - user_external
  - user_ldap

Nextcloud configuration:


Config report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "localhost",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "version": "13.0.5.2",
        "dbtype": "mysql",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "",
        "mysql.utf8mb4": true,
        "installed": true,
        "default_language": "en",
        "defaultapp": "files",
        "knowledgebaseenabled": true,
        "enable_avatars": true,
        "allow_user_to_change_display_name": true,
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "session_keepalive": true,
        "token_auth_enforced": false,
        "skeletondirectory": "",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpdebug": false,
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtptimeout": 10,
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "overwritehost": "",
        "overwriteprotocol": "",
        "overwritewebroot": "",
        "overwritecondaddr": "",
        "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "proxy": "",
        "proxyuserpwd": "***REMOVED SENSITIVE VALUE***",
        "trashbin_retention_obligation": "7, 14",
        "versions_retention_obligation": "120, 127",
        "appcodechecker": true,
        "updatechecker": true,
        "updater.server.url": "https:\/\/updates.nextcloud.com\/updater_server\/",
        "has_internet_connection": true,
        "check_for_working_webdav": true,
        "check_for_working_wellknown_setup": true,
        "check_for_working_htaccess": true,
        "config_is_read_only": false,
        "log_type": "nextcloud",
        "logfile": "\/var\/log\/nextcloud.log",
        "loglevel": 0,
        "syslog_tag": "nextcloud",
        "log.condition": {
            "shared_secret": "***REMOVED SENSITIVE VALUE***",
            "users": [
                "sample-user"
            ],
            "apps": [
                "files"
            ]
        },
        "logdateformat": "F d, Y H:i:s",
        "logtimezone": "Europe\/Berlin",
        "log_query": false,
        "cron_log": true,
        "log_rotate_size": false,
        "appstoreenabled": false,
        "appstore.experimental.enabled": false,
        "apps_paths": [
            {
                "path": "\/usr\/share\/webapps\/nextcloud\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/srv\/http\/cloud\/***REMOVED SENSITIVE VALUE***\/apps",
                "url": "\/wapps",
                "writable": true
            }
        ],
        "enable_previews": true,
        "preview_max_x": 2048,
        "preview_max_y": 2048,
        "preview_max_scale_factor": 10,
        "preview_max_filesize_image": 50,
        "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
        "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore --convert-to pdf --outdir ",
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown"
        ],
        "ldapUserCleanupInterval": 51,
        "comments.managerFactory": "\\OC\\Comments\\ManagerFactory",
        "systemtags.managerFactory": "\\OC\\SystemTag\\ManagerFactory",
        "maintenance": false,
        "singleuser": false,
        "openssl": {
            "config": "\/absolute\/location\/of\/openssl.cnf"
        },
        "enable_certificate_management": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "cache_path": "",
        "cache_chunk_gc_ttl": 86400,
        "supportedDatabases": [
            "sqlite",
            "mysql",
            "pgsql",
            "oci"
        ],
        "hashingCost": 10,
        "blacklisted_files": [
            ".htaccess"
        ],
        "share_folder": "\/",
        "theme": "",
        "cipher": "AES-256-CFB",
        "minimum.supported.desktop.version": "1.7.0",
        "quota_include_external_storage": false,
        "filesystem_check_changes": 0,
        "part_file_in_storage": true,
        "asset-pipeline.enabled": false,
        "filesystem_cache_readonly": false,
        "secret": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_X_FORWARDED",
            "HTTP_FORWARDED_FOR"
        ],
        "max_filesize_animated_gifs_public_sharing": 10,
        "filelocking.enabled": true,
        "filelocking.ttl": 3600,
        "upgrade.disable-web": false,
        "debug": false,
        "data-fingerprint": "",
        "copied_sample_config": false
    }
}

Are you using external storage, if yes which one: -

Are you using encryption: -

Are you using an external user-backend, if yes which one: -

Client configuration

Browser: Firefox 61.0.1

Operating system: Arch Linux

Logs

Web server error log


Web server error log

On normal access, there are no real error messages:

IP_ADDRESS - - [29/Jul/2018:10:38:40 +0200] "GET /index.php/apps/gallery/thumbnails?ids=85713%3B83409%3B83396%3B83552%3B84746%3B12691%3B12693%3B12694%3B12695&scale=1&square=1&requesttoken=7T7N%2BDegrByjZCfWSB4bBFhboser1HQFkV5SRKG5Ju4%3D%3AtEukqEbC%2FFjXJRSDJDFIYA8386jurUNP%2FBcjdNvuTq0%3D HTTP/2.0" 200 879 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:41 +0200] "GET /index.php/apps/theming/img/core/filetypes/image.svg?v=0 HTTP/2.0" 200 376 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:41 +0200] "GET /core/img/filetypes/folder.svg HTTP/2.0" 200 255 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:41 +0200] "GET /index.php/apps/gallery/thumbnails?ids=86019%3B86021%3B85978%3B85890%3B46277%3B84567&scale=1&square=1&requesttoken=7T7N%2BDegrByjZCfWSB4bBFhboser1HQFkV5SRKG5Ju4%3D%3AtEukqEbC%2FFjXJRSDJDFIYA8386jurUNP%2FBcjdNvuTq0%3D HTTP/2.0" 200 598 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:42 +0200] "GET /index.php/apps/news/ HTTP/2.0" 200 78007 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/img/favicon.ico HTTP/2.0" 200 4286 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/app.css?v=2758a9b1-0 HTTP/2.0" 200 802 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/content.css?v=2758a9b1-0 HTTP/2.0" 200 14027 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/custom.css?v=2758a9b1-0 HTTP/2.0" 200 431 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/explore.css?v=2758a9b1-0 HTTP/2.0" 200 1708 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/mobile.css?v=2758a9b1-0 HTTP/2.0" 200 645 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/navigation.css?v=2758a9b1-0 HTTP/2.0" 200 4604 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/settings.css?v=2758a9b1-0 HTTP/2.0" 200 1251 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/css/shortcuts.css?v=2758a9b1-0 HTTP/2.0" 200 532 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/img/rss.svg HTTP/2.0" 200 741 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/img/starred.png HTTP/2.0" 200 586 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /core/img/actions/history.svg?v=1 HTTP/2.0" 200 382 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/img/close.svg HTTP/2.0" 200 1613 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /core/img/actions/triangle-s.svg?v=1 HTTP/2.0" 200 133 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /core/img/places/link.svg?v=1 HTTP/2.0" 200 1114 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /core/img/actions/settings-dark.svg?v=1 HTTP/2.0" 200 1070 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /apps/news/img/arrow-white.svg HTTP/2.0" 200 1673 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:43 +0200] "GET /index.php/apps/theming/img/core/filetypes/folder.svg?v=0 HTTP/2.0" 200 254 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:44 +0200] "GET /apps/news/js/build/app.min.js?v=f5f3f2f5-0 HTTP/2.0" 200 2221286 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:44 +0200] "GET /apps/news/img/favicon-touch.png HTTP/2.0" 200 1503 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:44 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 74 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:45 +0200] "GET /index.php/apps/news/settings HTTP/2.0" 200 180 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:45 +0200] "GET /index.php/apps/news/feeds/active HTTP/2.0" 200 34 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:38:45 +0200] "GET /index.php/apps/news/folders HTTP/2.0" 200 1955 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:00 +0200] "GET /index.php/apps/news/feeds HTTP/2.0" 200 108111 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:01 +0200] "GET /index.php/apps/news/items?id=252&limit=40&oldestFirst=false&search=&showAll=true&type=0 HTTP/2.0" 200 337274 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:02 +0200] "GET /apps/news/img/loading.gif HTTP/2.0" 200 3208 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:14 +0200] "GET /index.php/apps/news/items?id=252&limit=40&oldestFirst=false&search=&showAll=true&type=0 HTTP/2.0" 200 337274 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:15 +0200] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0" 200 74 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:15 +0200] "GET /index.php/apps/news/%7B%7B%20::Content.getFeed(item.feedId).faviconLink%20%7D%7D HTTP/2.0" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:15 +0200] "GET /apps/news/img/inactive_star.svg HTTP/2.0" 200 541 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:15 +0200] "GET /core/img/actions/toggle.svg?v=1 HTTP/2.0" 200 308 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
IP_ADDRESS - - [29/Jul/2018:10:39:19 +0200] "GET /index.php/apps/files/ HTTP/2.0" 200 61704 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"

After moving $datadir/appdata_occb68f03468/js/* out of the way:

85.212.123.35 - - [29/Jul/2018:11:18:31 +0200] "GET / HTTP/2.0" 302 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"
85.212.123.35 - - [29/Jul/2018:11:18:32 +0200] "GET /index.php/apps/files/ HTTP/2.0" 500 289 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0"

Nextcloud log (data/nextcloud.log)


Nextcloud log

On normal access of the nextcloud instance:

{"reqId":"zBpXwiQKbOoi8Jc01dlb","level":3,"time":"July 29, 2018 10:38:42","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/news\/","message":"JSCombiner: unable to cache: merged-template-prepend.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"zBpXwiQKbOoi8Jc01dlb","level":3,"time":"July 29, 2018 10:38:42","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/news\/","message":"JSCombiner: unable to cache: merged-share-backend.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"zBpXwiQKbOoi8Jc01dlb","level":3,"time":"July 29, 2018 10:38:42","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/news\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged-template-prepend.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged-share-backend.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged-index.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: activity-sidebar.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: additionalScripts.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:15","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:16","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:16","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: scripts-for-file-app.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:16","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"rsp94iud9BCu7l9NC9if","level":3,"time":"July 29, 2018 10:39:16","remoteAddr":"IP_ADDRESS","user":"user_name","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"JSCombiner: unable to cache: merged.js","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

After moving $datadir/appdata_occb68f03468/js/* out of the way:

{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"5EXRKPJxT00oIomlb1Jf","level":3,"time":"July 29, 2018 10:42:17","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('error', '')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/Base.php(132): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(351): OC\\\\Template\\\\Base->printPage()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(70): OC_Template::printExceptionErrorPage(Object(OCP\\\\Files\\\\NotPermittedException))\\n#13 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"sxrsXt7Wt2088HJaZif3","level":3,"time":"July 29, 2018 10:43:03","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('error', '')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/Base.php(132): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(351): OC\\\\Template\\\\Base->printPage()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(70): OC_Template::printExceptionErrorPage(Object(OCP\\\\Files\\\\NotPermittedException))\\n#13 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"Qqo90d2jwu4Z7kzZHTCG","level":3,"time":"July 29, 2018 10:43:04","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('error', '')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/Base.php(132): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(351): OC\\\\Template\\\\Base->printPage()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(70): OC_Template::printExceptionErrorPage(Object(OCP\\\\Files\\\\NotPermittedException))\\n#13 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"file_get_contents(\/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps): failed to open stream: No such file or directory at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#214","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"stat(): stat failed for \/srv\/http\/cloud\/cloud.sleepmap.de\/data\/appdata_occb68f03468\/js\/core\/merged-template-prepend.js.deps at \/usr\/share\/webapps\/nextcloud\/lib\/private\/Files\/Storage\/Local.php#140","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('user', 'files')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/public\\\/AppFramework\\\/Http\\\/TemplateResponse.php(157): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Http\\\/Dispatcher.php(114): OCP\\\\AppFramework\\\\Http\\\\TemplateResponse->render()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php(115): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files\\\\Controller\\\\ViewController), 'index')\\n#13 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/Routing\\\/RouteActionHandler.php(47): OC\\\\AppFramework\\\\App::main('ViewController', 'index', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer), Array)\\n#14 [internal function]: OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler->__invoke(Array)\\n#15 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Route\\\/Router.php(297): call_user_func(Object(OC\\\\AppFramework\\\\Routing\\\\RouteActionHandler), Array)\\n#16 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/base.php(999): OC\\\\Route\\\\Router->match('\\\/apps\\\/files\\\/')\\n#17 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(42): OC::handleRequest()\\n#18 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}
{"reqId":"DnTHRFinizLBsMBygbL3","level":3,"time":"July 29, 2018 10:43:05","remoteAddr":"IP_ADDRESS","user":"USER_NAME","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\\\Files\\\\NotPermittedException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(122): OC\\\\Files\\\\Node\\\\File->delete()\\n#1 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/SimpleFS\\\/SimpleFile.php(91): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->checkFile()\\n#2 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(123): OC\\\\Files\\\\SimpleFS\\\\SimpleFile->getContent()\\n#3 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSCombiner.php(100): OC\\\\Template\\\\JSCombiner->isCached('merged-template...', Object(OC\\\\Files\\\\SimpleFS\\\\SimpleFolder))\\n#4 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(113): OC\\\\Template\\\\JSCombiner->process('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...', 'core')\\n#5 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/JSResourceLocator.php(69): OC\\\\Template\\\\JSResourceLocator->cacheAndAppendCombineJsonIfExist('\\\/usr\\\/share\\\/weba...', 'core\\\/js\\\/merged-...')\\n#6 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/ResourceLocator.php(78): OC\\\\Template\\\\JSResourceLocator->doFind('js\\\/merged-templ...')\\n#7 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(306): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#8 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/TemplateLayout.php(146): OC\\\\TemplateLayout::findJavascriptFiles(Array)\\n#9 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(207): OC\\\\TemplateLayout->__construct('error', '')\\n#10 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Template\\\/Base.php(132): OC_Template->fetchPage()\\n#11 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/template.php(351): OC\\\\Template\\\\Base->printPage()\\n#12 \\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/index.php(70): OC_Template::printExceptionErrorPage(Object(OCP\\\\Files\\\\NotPermittedException))\\n#13 {main}\",\"File\":\"\\\/usr\\\/share\\\/webapps\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Node\\\/File.php\",\"Line\":122}","userAgent":"Mozilla\/5.0 (X11; Linux x86_64; rv:61.0) Gecko\/20100101 Firefox\/61.0","version":"13.0.5.2"}

Browser log


Browser log

After moving $datadir/appdata_occb68f03468/js/* out of the way:
The browser gets a 500 type return from the webserver

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

0. Needs triage bug needs info stale

Most helpful comment

@juliushaertl thanks for getting back to me so fast!
I have found a solution to my problem (and I think something in the js folder was weird):

  • delete js folder: rm -r appdata_*/js
  • recreate occ files:scan-app-data
  • repair: occ maintenance:repair

Now on accessing the instance, the css and js files get merged properly (according to the log). Everything is fast and back to normal! :-)

My best guess is, that there was some corrupt (or super old) .js or .json file in the cache, that caused this.

Does JSCombiner choke on corrupt data? If so, it would probably be great to have some integrated tests for that.
Not sure how to cause this behavior, but if you're interested I can send you a compressed backup of the js folder as test data!

All 11 comments

GitMate.io thinks possibly related issues are https://github.com/nextcloud/server/issues/8483 (Preview cache issue ), https://github.com/nextcloud/server/issues/7656 (Unable to load redis), https://github.com/nextcloud/server/issues/8844 (Unable to create new note), https://github.com/nextcloud/server/issues/8249 (Exception: Unable to send file), and https://github.com/nextcloud/server/issues/8356 (Unable to change forgotten password).

@dvzrv Manually deleting files from the appdata is not recommended. Please run occ files:scan-app-data to update the file cache after that.

You can manually clean the JS/CSS cache by using occ maintenance:repair

One note about the JSCombiner: unable to cache log message, those are basically caused by a NoPermissionException when writing the cache file, so I guess there is something wrong then on your instance.

@juliushaertl: Thanks for the reply.
While I do get, that closing bugs is great, please wait until I actually had time to reply. That's not very respectful of my time.

I did run occ maintenance:repair before and after moving the js files. I get an "Unable to clear frontend cache" error.

I agree, that moving files is probably a big hammer method, but with backups not an issue.

As I'd like to really get to the bottom of this, could you point me to where exactly the JS frontend cache is supposed to be located (in case the above folder in the appdata folder is incorrect) and what permissions are expected (if not read/write for the user running nextcloud). I'm puzzled as to why this works for the other caches, but not the javascript!

Thanks!

Sorry, maybe I have been a bit to fast with closing.

As I'd like to really get to the bottom of this, could you point me to where exactly the JS frontend cache is supposed to be located (in case the above folder in the appdata folder is incorrect) and what permissions are expected (if not read/write for the user running nextcloud). I'm puzzled as to why this works for the other caches, but not the javascript!

The unable to cache log message is thrown here: https://github.com/nextcloud/server/blob/master/lib/private/Template/JSCombiner.php#L202 it should work very similar to the SCSScacher for example (https://github.com/nextcloud/server/blob/master/lib/private/Template/SCSSCacher.php)

Regarding the permissions, read/write by nextcloud running user should be fine. You're right, that there is something wrong then as the other caches work.

@juliushaertl thanks for getting back to me so fast!
I have found a solution to my problem (and I think something in the js folder was weird):

  • delete js folder: rm -r appdata_*/js
  • recreate occ files:scan-app-data
  • repair: occ maintenance:repair

Now on accessing the instance, the css and js files get merged properly (according to the log). Everything is fast and back to normal! :-)

My best guess is, that there was some corrupt (or super old) .js or .json file in the cache, that caused this.

Does JSCombiner choke on corrupt data? If so, it would probably be great to have some integrated tests for that.
Not sure how to cause this behavior, but if you're interested I can send you a compressed backup of the js folder as test data!

My best guess is, that there was some corrupt (or super old) .js or .json file in the cache, that caused this.

Does JSCombiner choke on corrupt data? If so, it would probably be great to have some integrated tests for that.

As far as I can tell the only reason this might happen is that the files have been touched somehow, so the mtime of the file is not correct and therefore they are considered as up to date.

Not sure how to cause this behavior, but if you're interested I can send you a compressed backup of the js folder as test data!

The other strange thing is, that during an update the cache is force cleaned by a repair step. Maybe you can have a look at your logs if there is something interesting on the last update?

The "clear frontend cache" step failed on the last few updates. This is also what I experienced, when I just ran occ maintenance:repair.
I'm happy the above steps fix that issue!

@dvzrv thanks - I had upgraded an owncloud install to nextcloud and something upgraded a version of owncloud back over the top. Even after installing a fresh nextcloud in a new directory, I was getting this error.

Ran the delete/recreate/repair and now it's all fine again.

So, was it because the directory did not exists? Because files perms were off?

This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings