Failed to load resource 403 Error

Hi all,

I set up my nextcloud server on my dedicated server half year ago (managed by Plesk).

Now I tried to move my nextcloud instance to my new server (also managed by Plesk). I’m already finish, but got some last problems.

The webinterface is not loading right, seems the css and js is not loading fine (see attached image). Also the Login button won’t work.

The Browser Console also shows some errors:

Failed to load resource: the server responded with a status of 403 (Forbidden)
client.js Failed to load resource: the server responded with a status of 403 (Forbidden)
fileinfo.js Failed to load resource: the server responded with a status of 403 (Forbidden)
contactsmenu.js Failed to load resource: the server responded with a status of 403 (Forbidden)
jstz.js Failed to load resource: the server responded with a status of 403 (Forbidden)
loading-dark.gif Failed to load resource: the server responded with a status of 403 (Forbidden)
logo.svg Failed to load resource: the server responded with a status of 403 (Forbidden)
merged-template-prepend.js?v=2eecd364-14:236 Uncaught ReferenceError: jQuery is not defined
    at merged-template-prepend.js?v=2eecd364-14:236
merged-share-backend.js:14 Uncaught TypeError: Cannot read property 'Share' of undefined
    at merged-share-backend.js:14
    at merged-share-backend.js:80
merged-login.js:2 Uncaught ReferenceError: $ is not defined
    at merged-login.js:2
theming:2 Uncaught ReferenceError: OCA is not defined
    at theming:2
    at theming:10
/core/img/favicon.ico Failed to load resource: the server responded with a status of 403 (Forbidden)
select2.css Failed to load resource: the server responded with a status of 403 (Forbidden)
jquery-ui.css Failed to load resource: the server responded with a status of 403 (Forbidden)
versions.css Failed to load resource: the server responded with a status of 403 (Forbidden)
guest.css Failed to load resource: the server responded with a status of 403 (Forbidden)
style.css Failed to load resource: the server responded with a status of 403 (Forbidden)
style.css Failed to load resource: the server responded with a status of 403 (Forbidden)

Nextcloud version: 13
Operating system and version:Ubuntu 16.04.4 LTS

Apache Version: Server version: Apache/2.4.18 (Ubuntu)
Server built: 2017-09-18T15:09:02
nginx version: nginx version: nginx/1.11.10
PHP version: 7.1.15

The issue you are facing:

The output of your Nextcloud log in Admin > Logging:




{"reqId":"q5ZJrRIF7F5BtwJf2dAm","level":4,"time":"2018-03-14T19:39:08+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Database.kdbx","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'ade79831619fe73...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'AES-256-CTR', 76, 0)\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #732, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #736, Resource id #746, '27230')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"ymkNET0i99sjZAvVyBHc","level":4,"time":"2018-03-14T21:39:12+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Ausbildungsberichte\/2018%20-%20KW9%20-%xxxxxxxxx.docx","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('Pmumv8nliqwefua...', '.\\\\x05\\\\x98\\\\xC5\\\\xD8\\\\xE0\\\\xFE\\\\x9D%&\\\\xBB&\\\\x12U\\\\xAA...', '678eecf1dbff9c0...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('Pmumv8nliqwefua...', '.\\\\x05\\\\x98\\\\xC5\\\\xD8\\\\xE0\\\\xFE\\\\x9D%&\\\\xBB&\\\\x12U\\\\xAA...', 'AES-256-CTR', 5, 0)\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #632, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #636, Resource id #646, '39956')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"PhmAawgRWBl53OfBincO","level":4,"time":"2018-03-14T21:39:13+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Crypto_Icos.txt","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('d2S\\\/wEcWL5zR6Hh...', '\\\\x8D\\\\xDEp\\\\x17\\\\x8D([\\\\x19\\\\v\\\\xCD\\\\xF4\\\\x03\\\\x81\\\\xE9\\\\xBB...', '22e00e2b5389eec...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('d2S\\\/wEcWL5zR6Hh...', '\\\\x8D\\\\xDEp\\\\x17\\\\x8D([\\\\x19\\\\v\\\\xCD\\\\xF4\\\\x03\\\\x81\\\\xE9\\\\xBB...', 'AES-256-CTR', 63, '0end')\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(1391)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #632, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #636, Resource id #646, '1391')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"9UQnUM1FdKW7NA7BdMfA","level":4,"time":"2018-03-14T21:39:14+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Database.kdbx","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'ade79831619fe73...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'AES-256-CTR', 76, 0)\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #732, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #736, Resource id #746, '27230')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"LsOhn6crKF0e7gognSbO","level":4,"time":"2018-03-14T23:39:16+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Ausbildungsberichte\/2018%20-%20KW9%20-%xxxxxxxxxxxxx.docx","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('Pmumv8nliqwefua...', '.\\\\x05\\\\x98\\\\xC5\\\\xD8\\\\xE0\\\\xFE\\\\x9D%&\\\\xBB&\\\\x12U\\\\xAA...', '678eecf1dbff9c0...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('Pmumv8nliqwefua...', '.\\\\x05\\\\x98\\\\xC5\\\\xD8\\\\xE0\\\\xFE\\\\x9D%&\\\\xBB&\\\\x12U\\\\xAA...', 'AES-256-CTR', 5, 0)\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #632, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #636, Resource id #646, '39956')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"FY5faMdBVNFMiLuW2tIe","level":4,"time":"2018-03-14T23:39:18+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Crypto_Icos.txt","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('d2S\\\/wEcWL5zR6Hh...', '\\\\x8D\\\\xDEp\\\\x17\\\\x8D([\\\\x19\\\\v\\\\xCD\\\\xF4\\\\x03\\\\x81\\\\xE9\\\\xBB...', '22e00e2b5389eec...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('d2S\\\/wEcWL5zR6Hh...', '\\\\x8D\\\\xDEp\\\\x17\\\\x8D([\\\\x19\\\\v\\\\xCD\\\\xF4\\\\x03\\\\x81\\\\xE9\\\\xBB...', 'AES-256-CTR', 63, '0end')\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(1391)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #632, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #636, Resource id #646, '1391')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}
{"reqId":"AxwUW0Jf8NrEotZ0IUiP","level":4,"time":"2018-03-14T23:39:18+01:00","remoteAddr":"2003:d4:7f27:c500:b129:5d49:f0b2:2bfa","user":"Felix","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Database.kdbx","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(465): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'ade79831619fe73...')\\n#1 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(380): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('t2aGE0P7LyL+d8e...', '\\\\x04_8\\\\xFA\\\\xAD\\\\x9D\\\\x1F\\\\xAD\\\\x01\\\\x9B&\\\\x98L\\\\xC9\\\\xBF...', 'AES-256-CTR', 76, 0)\\n#2 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(464): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(295): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #732, 8192)\\n#6 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/files_external\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(80): stream_copy_to_stream(Resource id #736, Resource id #746, '27230')\\n#9 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/remote.php(164): require_once('\\\/var\\\/www\\\/vhosts...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/vhosts\\\/domain.de\\\/cloud.domain.de\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":485,\"Hint\":\"Ung\\u00fcltige Signatur\"}","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.3.2 (build 1) (Nextcloud)","version":"13.0.0.14"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'dadgehdadadiuhai',
  'passwordsalt' => 'owdMTd4hE/60fsf+tmepIeHwFtNvVixjW',
  'secret' => 'AiD74ETGAApmYHL8S1zz5V4Hdadaddg9wshmhm9E0CxSq26Dv0UIz',
  'trusted_domains' => 
  array (
    0 => 'cloud.domain.de',
	1 => 'cloud.domain.de',
  ),
  'datadirectory' => '/nextcloud_data',
  'overwrite.cli.url' => 'https://cloud.domain.de',
  'dbtype' => 'mysql',
  'version' => '13.0.0.14',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'pipapo',
  'dbpassword' => 'pipapo',
  'installed' => true,
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'domain.de',
  'log_type' => 'file',
  'logtimezone' => 'Europe/Berlin',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'logfile' => '/nextcloud_data/nextcloud.log',
);

The output of your Apachenextcloud_login log in /var/log/____:

[Thu Mar 15 00:32:41.636611 2018] [ssl:warn] [pid 12617:tid 140025409046400] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.636858 2018] [ssl:warn] [pid 12617:tid 140025409046400] AH01909: default-2a01_238_43ad_b700_d9e0_c143_808a_e1ee:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.637102 2018] [ssl:warn] [pid 12617:tid 140025409046400] AH01909: default-85_214_245_112:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.637864 2018] [suexec:notice] [pid 12617:tid 140025409046400] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Thu Mar 15 00:32:41.659596 2018] [auth_digest:notice] [pid 12618:tid 140025409046400] AH01757: generating secret for digest authentication ...
[Thu Mar 15 00:32:41.667229 2018] [ssl:warn] [pid 12618:tid 140025409046400] AH01909: lists:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.667484 2018] [ssl:warn] [pid 12618:tid 140025409046400] AH01909: default-2a01_238_43ad_b700_d9e0_c143_808a_e1ee:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.667728 2018] [ssl:warn] [pid 12618:tid 140025409046400] AH01909: default-85_214_245_112:443:0 server certificate does NOT include an ID which matches the server name
[Thu Mar 15 00:32:41.669677 2018] [mpm_event:notice] [pid 12618:tid 140025409046400] AH00489: Apache/2.4.18 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.2g configured -- resuming normal operations
[Thu Mar 15 00:32:41.669738 2018] [core:notice] [pid 12618:tid 140025409046400] AH00094: Command line: '/usr/sbin/apache2'
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 ajax
-rw-r-----  1 projectlix psacln  1,5K Feb 15 08:45 Application.php
drwxr-x--- 15 projectlix psacln  4,0K Feb 15 08:46 Command
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 Controller
drwxr-x---  5 projectlix psacln  4,0K Feb 15 08:46 css
drwxr-x---  4 projectlix psacln  4,0K Feb 15 08:46 doc
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 fonts
drwxr-x---  7 projectlix psacln  4,0K Feb 15 08:46 img
drwxr-x---  7 projectlix psacln  4,0K Feb 15 08:46 js
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 l10n
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 Middleware
drwxr-x---  2 projectlix psacln  4,0K Feb 15 08:46 Migrations
-rw-r-----  1 projectlix psacln  9,9K Feb 15 08:45 register_command.php
-rw-r-----  1 projectlix psacln  7,3K Feb 15 08:45 routes.php
drwxr-x---  6 projectlix psacln  4,0K Feb 15 08:46 search
-rw-r-----  1 projectlix psacln   925 Feb 15 08:45 shipped.json
-rw-r-----  1 projectlix psacln  1,3M Feb 15 08:45 signature.json
drwxr-x---  4 projectlix psacln  4,0K Feb 15 08:46 skeleton
-rw-r-----  1 projectlix psacln  1,1K Feb 15 08:45 strings.php
drwxr-x---  5 projectlix psacln  4,0K Feb 15 08:46 templates
drwxr-x--- 24 projectlix psacln  4,0K Feb 15 08:46 vendor

I think I got some permission problems in my /nextcloud/core/ folder. Thats why the errors appear.

Hope the Info I provided above is enough! If not, feel free to ask for more information!

Would be lovely to get some advice of you guys!

Thanks in advance,

Felix

Nobody who has some ideas for me?

Otherwise I will try to reinstall nextcloud completely :no_mouth:

I’m not farmilliar with Apache myself but the first thing that jumps out at me is looking at the permissions it looks the the user/group is probably wrong. I think Apache on ubuntu is run under www-data.

if that’s correct you’ll want to chown -R www-data:www-data your nextcloud folder (Note the -R makes this a recursive command so everythin in the nextcloud folder will become owned by www-data and the www-data group.