Internal server error (500)

themes

#1

Hi
I'm getting this message, after syncing with my mobil

Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error). : <?xml version="1.0" encoding="utf-8"?>

Doctrine\DBAL\Exception\SyntaxErrorException
An exception occurred while executing 'SELECT uri, operation FROM oc_calendarchanges WHERE synctoken >= ? AND synctoken < ? AND calendarid = ? ORDER BY synctoken LIMIT 1000' with params ["14191", "14194", "19"]:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1000' at line 1

CalendarApp.ProviderBase.Exceptions.AccountRequestException: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error). : <?xml version="1.0" encoding="utf-8"?>

Doctrine\DBAL\Exception\SyntaxErrorException
An exception occurred while executing 'SELECT uri, operation FROM oc_calendarchanges WHERE synctoken >= ? AND synctoken < ? AND calendarid = ? ORDER BY synctoken LIMIT 1000' with params ["14191", "14194", "19"]:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1000' at line 1

---> CalendarApp.Common.Net.HttpException: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error). ---> System.Exception: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error).
at SharedLibrary!+0x3f7d77
at CalendarApp.Gui.Win10!+0x802823
at CalendarApp.Gui.Win10!+0x80285d
at CalendarApp.Gui.Win10!+0x8094c1
Exception_EndOfInnerExceptionStack
at CalendarApp.Gui.Win10!+0x809d0b
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at CalendarApp.Gui.Win10!+0xa53575
Exception_EndOfInnerExceptionStack
at CalendarApp.Gui.Win10!+0xa53641
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at CalendarApp.Gui.Win10!+0x9e04c3
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at CalendarApp.Gui.Win10!+0x9e7ae1
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at CalendarApp.Gui.Win10!+0x7ee41f
at CalendarApp.Gui.Win10!+0xa5970b
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at SharedLibrary!+0x369b0f
at CalendarApp.Gui.Win10!+0x76dd2b
RequestType: REPORT
RequestUrl: https://www.jugendschutz-akademie.de/ajscloud/remote.php/dav/calendars/ajskalender/uwek/
RequestData:
http://sabre.io/ns/sync/14191
1

1000





ResponseData: <?xml version="1.0" encoding="utf-8"?>

Doctrine\DBAL\Exception\SyntaxErrorException
An exception occurred while executing 'SELECT uri, operation FROM oc_calendarchanges WHERE synctoken >= ? AND synctoken < ? AND calendarid = ? ORDER BY synctoken LIMIT 1000' with params ["14191", "14194", "19"]:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1000' at line 1

Inner exception: CalendarApp.Common.Net.HttpException: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error). ---> System.Exception: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error).
at SharedLibrary!+0x3f7d77
at CalendarApp.Gui.Win10!+0x802823
at CalendarApp.Gui.Win10!+0x80285d
at CalendarApp.Gui.Win10!+0x8094c1
Exception_EndOfInnerExceptionStack
at CalendarApp.Gui.Win10!+0x809d0b
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at SharedLibrary!+0x368a33
at SharedLibrary!+0x369031
at SharedLibrary!+0x369b49
at CalendarApp.Gui.Win10!+0xa53575
Inner exception: System.Exception: Internal server error (500).

Response status code does not indicate success: 500 (Internal Server Error).
at SharedLibrary!+0x3f7d77
at CalendarApp.Gui.Win10!+0x802823
at CalendarApp.Gui.Win10!+0x80285d
at CalendarApp.Gui.Win10!+0x8094c1


#2

This is a known issue which was fixed some time back ....

Which version are you running. The fix is in 10.0.6+


#3

Hi
I'm using ownCloud 10.0.7 (stable). Still I have the problems.


#4

looks like we missed one query ..... I'll have a look.

What database version are you running? THX


#5

Hi
I don't know.
How do I get this Information.


#6

Here is the fix - https://github.com/owncloud/core/pull/30763


#7

Hi
How do I apply this fix?


#8

Good day DeepDiver1975 I get the same errors in my windows apps on diffrent PCs.
I also dont know how to use the bug fix.
System Status
installed 1
maintenance
needsDbUpgrade
version 10.0.8.5
versionstring 10.0.8
edition Community
productname ownCloud
hostname mocha9004.mochahost.com

Can you please help me?

Thank you


#9

Without the server logs I cannot say anything.


Windows sync client - set rescan frequency?
#10

Hi Deepdiver1975,

Sorry for only replying back now. I have tried the latest client daily build on the clients PCs as I thought that might help but I still get an internal server error on all clients.

I could not upload the log file as it exceeds the limit. will you be able to download it from the following link?

http://kharkitoilethire.co.za/owncloud/index.php/settings/admin/log/download

Thank you for your assitance.


#11

no - can you please look inside the file around the time the error appeared on the client?


#12

oclogfile error 9 55 20.txt (7.1 KB)

Hi deepdiver. I hope this will help
thank you


#13

this is the client log - I need the server logs please


#14

Hi DeepDiver. I am not sure if this is the correct log because it does not show any errors at the times I get Internal server errors on the clients.

Here is one at the same time as the client log I have send you before.

{“reqId”:“95692286-108a-4d27-883f-8dd9b7e9d769”,“level”:3,“time”:“2018-07-07T09:54:40+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“roelfk7”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/roelfk7/Public/2018/Creditors/Statements%20,%20Recons%20&%20Invoices%20,%20orders%20and%20monthly%20request/Statements,%20Invoices%20&%20Orders/Farm,%20My%20Family%20&%20Ranch%20EJ/Feb",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“066bcd6a-7e25-42a4-9c56-99dd590e6825”,“level”:3,“time”:“2018-07-07T09:56:15+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“roelfk7”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/roelfk7/Public/2018/Creditors/Statements%20,%20Recons%20&%20Invoices%20,%20orders%20and%20monthly%20request/Statements,%20Invoices%20&%20Orders/Head%20Office/April/Tidy%20Files",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“cb058e2f-2782-4cf9-9efa-629c8620b6a6”,“level”:3,“time”:“2018-07-07T09:57:49+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“roelfk7”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/roelfk7/Public/2018/Creditors/Statements%20,%20Recons%20&%20Invoices%20,%20orders%20and%20monthly%20request/Statements,%20Invoices%20&%20Orders/Head%20Office/June/Cell%20C/H%20Office",“message”:“Module ‘json’ already loaded at Unknown#0”}


#15

If it is not the correct log file please let me know where I can find the correct file please.

Many Thanks


#16

I’m getting similar issue with only one user. He’s getting “500 Internal Server Error” on two files and a “401 Fobidden” on another file while trying to sync via the ownCloud client.

Running:
ownCloud: 10.0.7.2
mySQL; 15.1
OS: Ubuntu 16.04

Server Log:
500 Internal Server Error

{"reqId":"c1123939-cb99-4b82-a771-97b8bdaa9ccd","level":2,"time":"2018-07-10T09:35:22-04:00","remoteAddr":"72.173.241.123","user":"steven.brooks@dxc.com","app":"filesystem","method":"DELETE","url":"\/remote.php\/dav\/files\/steven.brooks@dxc.com\/CMIPS\/Deliverables_SourceFiles\/CR_Information_Documents\/1.20\/IHSS_CMIPSII_SSR%20-%20Add%20Curam%206.1.1%20Supervisor%20Workspace%20Module%20-%20Detailed%20Design%20(CR506).docx","message":"Storage wrapper 'oc_readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems."}
{"reqId":"139bc2bf-43e9-4f39-97d9-e2196012c338","level":2,"time":"2018-07-10T09:35:22-04:00","remoteAddr":"72.173.241.123","user":"steven.brooks@dxc.com","app":"filesystem","method":"PROPFIND","url":"\/remote.php\/dav\/uploads\/steven.brooks@dxc.com\/414197779","message":"Storage wrapper 'oc_readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems."}
{"reqId":"c1123939-cb99-4b82-a771-97b8bdaa9ccd","level":3,"time":"2018-07-10T09:35:22-04:00","remoteAddr":"72.173.241.123","user":"steven.brooks@dxc.com","app":"remote","method":"DELETE","url":"\/remote.php\/dav\/files\/steven.brooks@dxc.com\/CMIPS\/Deliverables_SourceFiles\/CR_Information_Documents\/1.20\/IHSS_CMIPSII_SSR%20-%20Add%20Curam%206.1.1%20Supervisor%20Workspace%20Module%20-%20Detailed%20Design%20(CR506).docx","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to a member function getStorageId() on array\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Wrapper\\\/CacheWrapper.php(67): OC\\\\Files\\\\Cache\\\\Wrapper\\\\ReadOnlyCachePermissionsMask->formatCacheEntry(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(180): OC\\\\Files\\\\Cache\\\\Wrapper\\\\CacheWrapper->get('files_trashbin')\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(172): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('files_trashbin')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(313): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('files_trashbin\\\/...', 3, -1, NULL, false)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Updater.php(124): OC\\\\Files\\\\Cache\\\\Scanner->scan('files_trashbin\\\/...', false, 3, false)\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(326): OC\\\\Files\\\\Cache\\\\Updater->update('files_trashbin\\\/...', 1531229722)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1198): OC\\\\Files\\\\View->writeUpdate(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files_trashbin\\\/...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(272): OC\\\\Files\\\\View->basicOperation('mkdir', '\\\/files_trashbin...', Array)\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/Events\\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(274): OC\\\\Files\\\\View->emittingCall(Object(Closure), Array, 'file', 'create')\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(153): OC\\\\Files\\\\View->mkdir('files_trashbin\\\/...')\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(255): OCA\\\\Files_Trashbin\\\\Trashbin::setUpTrash('steven.brooks@d...')\\n#12 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('CMIPS\\\/Deliverab...')\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('Deliverables_So...', 'unlink')\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1183): OCA\\\\Files_Trashbin\\\\Storage->unlink('Deliverables_So...')\\n#15 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(737): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/CMIPS\\\/Delivera...', Array)\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/Events\\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}()\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(747): OC\\\\Files\\\\View->emittingCall(Object(Closure), Array, 'file', 'delete')\\n#18 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(391): OC\\\\Files\\\\View->unlink('\\\/CMIPS\\\/Delivera...')\\n#19 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#20 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(287): Sabre\\\\DAV\\\\Tree->delete('files\\\/steven.br...')\\n#21 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#22 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#23 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#24 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#25 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(263): Sabre\\\\DAV\\\\Server->exec()\\n#26 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#27 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#28 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Wrapper\\\/ReadOnlyCachePermissionsMask.php\",\"Line\":54}"}

403 Forbidden File:

{"reqId":"3686e407-13f1-46bf-a601-6b038240c5f7","level":2,"time":"2018-07-10T09:41:28-04:00","remoteAddr":"72.173.241.123","user":"steven.brooks@dxc.com","app":"filesystem","method":"DELETE","url":"\/remote.php\/dav\/files\/steven.brooks@dxc.com\/CMIPS\/Deliverables_SourceFiles\/FlareFiles\/CMIPSII_OLH_UM_Source.flprjzip","message":"Storage wrapper 'oc_readonly' was not registered via the 'OC_Filesystem - preSetup' hook which could cause potential problems."}
{"reqId":"3686e407-13f1-46bf-a601-6b038240c5f7","level":3,"time":"2018-07-10T09:41:29-04:00","remoteAddr":"72.173.241.123","user":"steven.brooks@dxc.com","app":"remote","method":"DELETE","url":"\/remote.php\/dav\/files\/steven.brooks@dxc.com\/CMIPS\/Deliverables_SourceFiles\/FlareFiles\/CMIPSII_OLH_UM_Source.flprjzip","message":"Exception: {\"Exception\":\"Error\",\"Message\":\"Call to a member function getStorageId() on array\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Wrapper\\\/CacheWrapper.php(67): OC\\\\Files\\\\Cache\\\\Wrapper\\\\ReadOnlyCachePermissionsMask->formatCacheEntry(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(180): OC\\\\Files\\\\Cache\\\\Wrapper\\\\CacheWrapper->get('files_trashbin')\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(172): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('files_trashbin')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Scanner.php(313): OC\\\\Files\\\\Cache\\\\Scanner->scanFile('files_trashbin\\\/...', 3, -1, NULL, false)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Updater.php(124): OC\\\\Files\\\\Cache\\\\Scanner->scan('files_trashbin\\\/...', false, 3, false)\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(326): OC\\\\Files\\\\Cache\\\\Updater->update('files_trashbin\\\/...', 1531230089)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1198): OC\\\\Files\\\\View->writeUpdate(Object(OCA\\\\Files_Trashbin\\\\Storage), 'files_trashbin\\\/...')\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(272): OC\\\\Files\\\\View->basicOperation('mkdir', '\\\/files_trashbin...', Array)\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/Events\\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}()\\n#9 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(274): OC\\\\Files\\\\View->emittingCall(Object(Closure), Array, 'file', 'create')\\n#10 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(153): OC\\\\Files\\\\View->mkdir('files_trashbin\\\/...')\\n#11 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Trashbin.php(255): OCA\\\\Files_Trashbin\\\\Trashbin::setUpTrash('steven.brooks@d...')\\n#12 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(185): OCA\\\\Files_Trashbin\\\\Trashbin::move2trash('CMIPS\\\/Deliverab...')\\n#13 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_trashbin\\\/lib\\\/Storage.php(120): OCA\\\\Files_Trashbin\\\\Storage->doDelete('Deliverables_So...', 'unlink')\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(1183): OCA\\\\Files_Trashbin\\\\Storage->unlink('Deliverables_So...')\\n#15 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(737): OC\\\\Files\\\\View->basicOperation('unlink', '\\\/CMIPS\\\/Delivera...', Array)\\n#16 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/Events\\\/EventEmitterTrait.php(50): OC\\\\Files\\\\View->OC\\\\Files\\\\{closure}()\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/View.php(747): OC\\\\Files\\\\View->emittingCall(Object(Closure), Array, 'file', 'delete')\\n#18 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/File.php(391): OC\\\\Files\\\\View->unlink('\\\/CMIPS\\\/Delivera...')\\n#19 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Tree.php(179): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\File->delete()\\n#20 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(287): Sabre\\\\DAV\\\\Tree->delete('files\\\/steven.br...')\\n#21 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpDelete(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#22 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#23 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:DELETE', Array)\\n#24 \\\/var\\\/www\\\/owncloud\\\/lib\\\/composer\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#25 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/lib\\\/Server.php(263): Sabre\\\\DAV\\\\Server->exec()\\n#26 \\\/var\\\/www\\\/owncloud\\\/apps\\\/dav\\\/appinfo\\\/v2\\\/remote.php(31): OCA\\\\DAV\\\\Server->exec()\\n#27 \\\/var\\\/www\\\/owncloud\\\/remote.php(165): require_once('\\\/var\\\/www\\\/ownclo...')\\n#28 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/Files\\\/Cache\\\/Wrapper\\\/ReadOnlyCachePermissionsMask.php\",\"Line\":54}"}

If this should be a new thread, please let me know.

Thanks


#17

Here is my latest log when errors occured

{“reqId”:“W0W7B8YmUu4AAGlodJoAAABg”,“level”:0,“time”:“2018-07-11T08:08:39+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login?redirect_url=%252Fowncloud%252Findex.php%252Fsettings%252Fadmin%253Fsectionid%253Dgeneral",“message”:“CSRF check failed”}
{“reqId”:“dafd1aff-1ca0-46bc-ac21-0d6d51863800”,“level”:3,“time”:“2018-07-11T08:08:43+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“Melanie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/Public/2018/Creditors/Statements%20,%20Recons%20&%20Invoices%20,%20orders%20and%20monthly%20request/Order,Grn%20and%20Invoice%20Sheet/Ranfontein/2018/April%202018",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“W0W7DcYmUu4AAGe-uz0AAAAj”,“level”:3,“time”:“2018-07-11T08:08:50+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/heartbeat",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“730f9285-6ea4-4057-825b-389e9a7dbb9e”,“level”:3,“time”:“2018-07-11T08:08:51+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“Llewellyn”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Llewellyn/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“W0W7DcYmUu4AAGmuS80AAACE”,“level”:3,“time”:“2018-07-11T08:08:53+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/settings/ajax/checksetup",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“2da41ddf-69ea-45df-ad42-7b6a5813adf3”,“level”:3,“time”:“2018-07-11T08:10:08+00:00”,“remoteAddr”:“196.220.172.182”,“user”:“Hannelie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Hannelie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“47f86c88-9cfd-494b-a45f-52be83cfd496”,“level”:3,“time”:“2018-07-11T08:10:17+00:00”,“remoteAddr”:“196.220.172.182”,“user”:“Melanie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“5722ddec-9d0a-4400-bbf0-a3d4e1a6fa0f”,“level”:3,“time”:“2018-07-11T08:10:17+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“Llewellyn”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Llewellyn/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“6e180a50-2b72-4657-a7f3-ea429179fa9b”,“level”:3,“time”:“2018-07-11T08:10:30+00:00”,“remoteAddr”:“196.220.172.182”,“user”:"–",“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/",“message”:“Uncaught exception ‘Doctrine\DBAL\DBALException’ with message ‘Failed to connect to the database: An exception occured in driver: SQLSTATE[42000] [1203] User roelfk7_kharcld already has more than ‘max_user_connections’ active connections’ in /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/private/DB/Connection.php:62\nStack trace:\n#0 /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): OC\DB\Connection->connect()\n#1 /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\DBAL\Connection->getDatabasePlatformVersion()\n#2 /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(328): Doctrine\DBAL\Connection->detectDatabasePlatform()\n#3 /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/composer/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(623): Doctrine\DBAL\Connection->getDa at /home6/roelfk7/public_html/kharkitoilethire.co.za/owncloud/lib/private/DB/Connection.php#62”}
{“reqId”:“W0W7ZsYmUu4AAI74Cx8AAAAQ”,“level”:3,“time”:“2018-07-11T08:10:31+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/avatar/roelfk7/32",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“fb3c17bd-d726-46d3-9dac-403a67caa1c2”,“level”:3,“time”:“2018-07-11T08:11:49+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“roelfk7”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/roelfk7/Melanie/Secondary%20Drive%20B/CTSD/DOJANG%20INFORMATION/TRANQUILITY",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“7f78ef56-f7e7-4727-9265-ad59ace84c68”,“level”:3,“time”:“2018-07-11T08:11:59+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“Hannelie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Hannelie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“824e4de6-4c9b-4d22-aa26-d8d9f26c3a94”,“level”:3,“time”:“2018-07-11T08:12:02+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“Llewellyn”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Llewellyn/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“W0W8KsYmUu4AAGfF1K8AAAAp”,“level”:3,“time”:“2018-07-11T08:13:33+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“c7bad95e-2359-4ebd-aa41-f446fcacab0f”,“level”:3,“time”:“2018-07-11T08:13:33+00:00”,“remoteAddr”:“196.220.172.182”,“user”:“Melanie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“61255414-1d6d-4d33-8c11-9ae24a8a3298”,“level”:3,“time”:“2018-07-11T08:14:59+00:00”,“remoteAddr”:“196.220.172.182”,“user”:“Melanie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“ae015221-3f18-4456-830f-24c354af4931”,“level”:3,“time”:“2018-07-11T08:15:07+00:00”,“remoteAddr”:“196.220.172.182”,“user”:“Hannelie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Hannelie/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“W0W91MYmUu4AAGl8fH8AAABk”,“level”:3,“time”:“2018-07-11T08:20:41+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/settings/ajax/checksetup",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“5b14c757-a38c-4b9a-aa95-255cb252a0cc”,“level”:3,“time”:“2018-07-11T08:24:46+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“Melanie”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Melanie/Public/2018/Assets/Old/Ellisras/Ellisras%20as%20per%20system/Ellisras%20old",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“c876491a-a8fc-4031-a479-db1c9cb7b012”,“level”:3,“time”:“2018-07-11T08:25:22+00:00”,“remoteAddr”:“198.38.82.124”,“user”:“Llewellyn”,“app”:“PHP”,“method”:“PROPFIND”,“url”:"/owncloud/remote.php/dav/files/Llewellyn/",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“W0W-AMYmUu4AAGfE0KoAAAAo”,“level”:3,“time”:“2018-07-11T08:25:38+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json",“message”:“Module ‘json’ already loaded at Unknown#0”}
{“reqId”:“2331a2ec-15a2-48f3-af0d-8445503a0402”,“level”:3,“time”:“2018-07-11T08:29:05+00:00”,“remoteAddr”:“197.99.81.19”,“user”:“roelfk7”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json",“message”:“Module ‘json’ already loaded at Unknown#0”}


#18

Hey,

i think this is your main issue. It looks to me that your database server can’t handle the connection requirements of ownCloud.

This looks me to also like something you need to fix within your PHP configuration to get some cleaner logs.


#19

Thank you Tom.
Could it be beacuse I am on a shared hosting server with my host. Will it help to upgrade to VPS?


#20

Hey,

unfortunately i don’t have any experiences with shared hosters.

But from what i have read in the past a shared hosting server might be not the recommended platform to run an advanced software like ownCloud. Some environments are having restrictions / limitations like you have seen in your logfiles or the provider even disallows running software like ownCloud via their terms and conditions.