A lot of settings are not usable, user management, background jobs, sharing and others

Linux dd50414 5.4.0-132-generic #148-Ubuntu SMP Mon Oct 17 16:02:06 UTC 2022 x86_64
PHP: 8.1.13
MariaDB: 10.5.18

It’s a shared server and I make my updates via SSH.

My problems:
first problem I had was that the sharing function did not work:
“List of shares could not be loaded”
(Sorry that’s an translation from German)
Then I discovered many other problems:
I cannot change settings like

  • Personal info → language
  • Basic Settings → background jobs
  • Sharing (Allow Apps to use the Stare API is active)
    “Group list could not be retrieved.”
  • Background jobs, I cannot switch from Ajax to Cron:
    “Background Job mode cannot be updated.”
  • and I cannot use the user administration:
    “An error occurred during the request. It is not possible to continue.”

There is no problem creating folders and up-/download files.

Only one error in “Logging” I have found:
Error: opendir(/tmp): Failed to open directory: Permission denied at /www/htdocs/w01ace46/lib/private/TempManager.php#191

And I cannot eliminate these warnings:
“opcache.max_accelerated_files”
“opcache.memory_consumption”
“opcache.interned_strings_buffer”
Because it is a shared server, but I have these warnings many months.

An overview to my used apps:
Enabled:

  • activity: 2.17.0
  • calendar: 4.2.3
  • circles: 25.0.0
  • cloud_federation_api: 1.8.0
  • comments: 1.15.0
  • contacts: 5.1.0
  • contactsinteraction: 1.6.0
  • dashboard: 7.5.0
  • dav: 1.24.0
  • federatedfilesharing: 1.15.0
  • federation: 1.15.0
  • files: 1.20.1
  • files_pdfviewer: 2.6.0
  • files_rightclick: 1.4.0
  • files_sharing: 1.17.0
  • files_trashbin: 1.15.0
  • files_versions: 1.18.0
  • firstrunwizard: 2.14.0
  • logreader: 2.10.0
  • lookup_server_connector: 1.13.0
  • mail: 2.2.2
  • nextcloud_announcements: 1.14.0
  • notifications: 2.13.1
  • oauth2: 1.13.0
  • password_policy: 1.15.0
  • photos: 2.0.1
  • privacy: 1.9.0
  • provisioning_api: 1.15.0
  • recommendations: 1.4.0
  • related_resources: 1.0.3
  • serverinfo: 1.15.0
  • settings: 1.7.0
  • sharebymail: 1.15.0
  • sharelisting: 1.1.1
  • support: 1.8.0
  • survey_client: 1.13.0
  • systemtags: 1.15.0
  • text: 3.6.0
  • theming: 2.0.1
  • twofactor_backupcodes: 1.14.0
  • updatenotification: 1.15.0
  • user_status: 1.5.0
  • viewer: 1.9.0
  • workflowengine: 2.7.0
    Disabled:
  • admin_audit
  • bruteforcesettings
  • encryption
  • files_external
  • suspicious_login
  • twofactor_totp
  • user_ldap
  • weather_status: 1.5.0

Can someone help me, I have no idea :frowning:

Addition to my post:
For updates I am using the command “php updater.phar”.
My webhoster (all-inkl.com) said, that the SSH environment / PHP-CLI is in php7.4, have to use “php80 updater.phar” to address php8.

Could this fault, making the update in a php7.4 environment, caused all my problems?

I have found the solution to my problems:
It was due to the write permissions of the folder “ocs” 644 instead of 755.
However, I have no idea why the write permissions were changed in this way.