Error after upgrade -

Hi
I finally succeeded in making the upgrade from version 9 to 10.0.7
Everything works fine, except that users trying to access the cloud from the web interface receive the following error.
If I try to log in as admin, the error disappears.

Suggestions please?

Errore interno del server
Il server ha riscontrato un errore interno e non è stato in grado di completare la tua richiesta.

Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.

More details can be found in the server log.

Dettagli tecnici
Indirizzo remoto:
ID richiesta: WqpoJhoZOJ-EAbGiLL7h-gAAAEQ

Hi,

can you download the owncloud.log file and look for the entry with this reqID:

WqpoJhoZOJ-EAbGiLL7h-gAAAEQ

hi, sure.
I can give you the description of another request ID, generated with the same operation (user logging with the web interface). Please note that I removed the user email for privacy reasons

{"reqId":"060ef6d5-4c0c-4a82-ad4b-d1523e2d45e7","level":3,"time":"2018-03-15T13:26:54+00:00","remoteAddr":"213.215.247.34","user":"--","app":"PHP","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Call to a member function getUID() on null at \/var\/www\/vhosts\/imcdcloud.com\/httpdocs\/lib\/private\/legacy\/app.php#152"}
{"reqId":"Wqp0rRZ6n0otqrsSpu1RcQAAAQs","level":2,"time":"2018-03-15T13:27:09+00:00","remoteAddr":"213.215.247.34","user":"--","app":"core","method":"POST","url":"\/index.php\/login","message":"Login failed: '' (Remote IP: '213.215.247.34')"}
{"reqId":"Wqp0sxZ6n0otqrsSpu1RewAAAQw","level":3,"time":"2018-03-15T13:27:15+00:00","remoteAddr":"213.215.247.34","user":"","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\Files\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php(217): OC\\Files\\Node\\Node->getFileInfo()\n#1 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php(117): OC\\Files\\Node\\Node->getPermissions()\n#2 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Folder.php(151): OC\\Files\\Node\\Node->checkPermissions(4)\n#3 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(99): OC\\Files\\Node\\Folder->newFolder('18')\n#4 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(120): OC\\AvatarManager->getFolder(Object(OC\\Files\\Node\\Folder), '18')\n#5 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(91): OC\\AvatarManager->getAvatarFolder(Object(OC\\User\\User))\n#6 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/TemplateLayout.php(101): OC\\AvatarManager->getAvatar('')\n#7 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/legacy\\/template.php(234): OC\\TemplateLayout->construct('user', 'files')\n#8 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/public\\/AppFramework\\/Http\\/TemplateResponse.php(156): OC_Template->fetchPage()\n#9 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(112): OCP\\AppFramework\\Http\\TemplateResponse->render()\n#10 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/App.php(103): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), 'index')\n#11 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/Routing\\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('ViewController', 'index', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#12 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->invoke(Array)\n#13 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Route\\/Router.php(342): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#14 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/base.php(913): OC\\Route\\Router->match('\\/apps\\/files\\/')\n#15 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/index.php(55): OC::handleRequest()\n#16 {main}\",\"File\":\"\\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php\",\"Line\":97}"}
{"reqId":"Wqp0tRoZOJ-EAbGiLL7mxwAAAFg","level":3,"time":"2018-03-15T13:27:18+00:00","remoteAddr":"213.215.247.34","user":"","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":"Exception: {\"Exception\":\"OCP\\Files\\NotFoundException\",\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php(217): OC\\Files\\Node\\Node->getFileInfo()\n#1 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php(117): OC\\Files\\Node\\Node->getPermissions()\n#2 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Folder.php(151): OC\\Files\\Node\\Node->checkPermissions(4)\n#3 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(99): OC\\Files\\Node\\Folder->newFolder('18')\n#4 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(120): OC\\AvatarManager->getFolder(Object(OC\\Files\\Node\\Folder), '18')\n#5 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AvatarManager.php(91): OC\\AvatarManager->getAvatarFolder(Object(OC\\User\\User))\n#6 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/TemplateLayout.php(101): OC\\AvatarManager->getAvatar('')\n#7 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/legacy\\/template.php(234): OC\\TemplateLayout->construct('user', 'files')\n#8 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/public\\/AppFramework\\/Http\\/TemplateResponse.php(156): OC_Template->fetchPage()\n#9 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/Http\\/Dispatcher.php(112): OCP\\AppFramework\\Http\\TemplateResponse->render()\n#10 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/App.php(103): OC\\AppFramework\\Http\\Dispatcher->dispatch(Object(OCA\\Files\\Controller\\ViewController), 'index')\n#11 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/AppFramework\\/Routing\\/RouteActionHandler.php(46): OC\\AppFramework\\App::main('ViewController', 'index', Object(OC\\AppFramework\\DependencyInjection\\DIContainer), Array)\n#12 [internal function]: OC\\AppFramework\\Routing\\RouteActionHandler->invoke(Array)\n#13 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Route\\/Router.php(342): call_user_func(Object(OC\\AppFramework\\Routing\\RouteActionHandler), Array)\n#14 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/base.php(913): OC\\Route\\Router->match('\\/apps\\/files\\/')\n#15 \\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/index.php(55): OC::handleRequest()\n#16 {main}\",\"File\":\"\\/var\\/www\\/vhosts\\/imcdcloud.com\\/httpdocs\\/lib\\/private\\/Files\\/Node\\/Node.php\",\"Line\":97}"}

Do you have external storage in your ownCloud and LDAP?

Could you fill out the template that is there when you create a new issue?

Hi. No exernal storage and no LDAP.
On this server I have two installations of ownCloud, so same settings for the two.
One is working but it was started with ownCloud 10 directly.
The other giving this problem was version 9 before.

Could it be a permission problem on files or folders?

Let me try to find the template to fill out

This is the information I can give you for the template you ask for.

Steps to reproduce

  1. upgrade from owncloud 9.x to 10.0.7
    2.login with a non-admin user via the web interface

Actual behaviour

Server internal error . Please contact the server administrator if this error reappears multiple times and include the technical details below in your report. More details can be found in the server log.

Server configuration

CentOS Linux 7.4.1708 (Core)

Web server:
Apache

Database:
MySql

PHP version:
7.0.28

ownCloud version: (see ownCloud admin page)
10.0.7

Updated from an older ownCloud or fresh install:
updated from version 9

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

NO ERRORS HAVE BEEN FOUND

List of activated apps:
Just the standard ones. Already tried to disable them but it didn't help

Are you using external storage, if yes which one: local/smb/sftp/...
NO

Are you using encryption: yes/no
NO

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
NO

error is gone after correcting the "data" folder permissions.
thanks anyway.

1 Like

Yay!

I am glad the error is gone :slight_smile:

Buenas días, como le otorgaste los permisos a la carpeta?
Gracias.