Hi.
I had a nextcloud server running at /srv/www/htdocs/nextcloud. It crashed at an upgrade and stop working. I have managed to make it work… almost. Some things does not work properly, other do. During the recover I saw the owner.group of /srv/www/htdocs/nextcloud was root.root and I read somewhere (don’t remember where, sorry) It must be the user and group of the apache process, so I changed it to wwwrun.www. I’m trying to fix it all and I was wondering if I have owner.group of all /srv/www badly set (is root.root) so searching I found here that they must be root.root. Then they must be root.root everywhere, including /srv/www/htdocs/nextcloud?
From my working Nextcloud install ( passes their online security test ):
/srv/www/htdocs should all be root:root
in there the nextcloud folder and everything in it should be wwwrun;www
I logged in nextcloud as adminstrator and the an alert appeared “new version, upgrade?” and I clicked… I think it was an error and the upgrade should have been done from the repos. Then it began upgrading and in the middle of it it crashed.
Then I reinstalled nextcloud from the repos and then I have been checking databases, the config file, etc. Most of it works fine, except in the administrator login the +apps does nothing
I have tried the maintenance mode, upgrading all apps, I have done occ maintenance:repair, but it still does not work.
I have just changed /srv/www/htdocs/nextcloud owner to root.root and run
yes, sorry I misread something. I tested changing to root.root, it dindn¡t work, chaged back to wwwrun.www it works like before, but like before the +app in the administrator menu does not work.
In loglevel 2 I log in as adminstrator, I click admin +apps (none show), I click admin users (and none show either) … and nothing in the log.
In loglevel 1 the same… nothing in the log.
In loglevel 0
logging as admin
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Deprecated event type for OCA\\Files::loadAdditionalScripts: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"0rsjyqAARvWgmrTf1qLb","level":0,"time":"June 03, 2020 09:10:18","remoteAddr":"81.35.20.139","user":"administrador","app":"maps","method":"GET","url":"/nextcloud/index.php/apps/files/","message":"Could not find resource file \"/nextcloud/apps/maps/js/filetypes.js\"","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"QE1wl9afj4s1VpX6f1wP","level":0,"time":"June 03, 2020 09:10:22","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=20&c=6ab25dc436126f775df1cb55c12697fc&x=250&y=250&forceIcon=0","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"KY1zWwVdb4KMqH0XL8aM","level":0,"time":"June 03, 2020 09:10:22","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=10630&c=8ae21a751638fec68a481e09bdd5eb59&x=250&y=250&forceIcon=0","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"OZM2zgfFP1GnSEw6dVei","level":0,"time":"June 03, 2020 09:10:23","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=17&x=32&y=32","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"fF0C1Lig2qJSzN8QGc17","level":0,"time":"June 03, 2020 09:10:23","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=10630&x=32&y=32","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"wGrzCW9Hdnf0XAr2O5pr","level":0,"time":"June 03, 2020 09:10:23","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=18&x=32&y=32","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"rBWbfgAqHZs8pQVGWV9q","level":0,"time":"June 03, 2020 09:10:23","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=19&x=32&y=32","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
{"reqId":"yCf5wHQ68MtuwCUfhk9h","level":0,"time":"June 03, 2020 09:10:23","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/core/preview?fileId=20&x=32&y=32","message":"Deprecated event type for OCP\\IPreview:PreviewRequested: Symfony\\Component\\EventDispatcher\\GenericEvent","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
Clicking admin menu +apps → nothing in the log and noting appears
Clicking admin menu users
{"reqId":"CkbgGH4WaxNRzH9lHMHB","level":0,"time":"June 03, 2020 09:11:32","remoteAddr":"81.35.20.139","user":"administrador","app":"no app in context","method":"GET","url":"/nextcloud/index.php/settings/users","message":"Deprecated event type for OC\\Settings\\Users::loadAdditionalScripts: null","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
And nothing appears
I had also colllabra working and it is not working.
I wonder if maybe will be better a basckup of user data (is it possible to back up user configurations, user docuymnets, calendar, etc. and restore in a new nextcloud? ) and install it from scratch again