• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Correct way to run Nextcloud occ?

kimharding

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.79 Update #4 Web Host Edition
Every time I try to use Nextcloud’s occ command I run into problems which seem to be permissions issues, but I can figure out what the correct users and permissions are.

Nextcloud says "You must run occ as your HTTP user so that the file ownership and permissions on your Nextcloud data directory stay consistent with the web server." It also says that "The HTTP user and group in Debian/Ubuntu is www-data", as I am running Ubuntu 24.04 I have tried that, but it doesn't want to work.

Clearly, Plesk has things set up differently, so how do I find the correct User?
 
A simple way to achieve correct execution is to create a "scheduled task" (without activating it), select the same PHP version from the drop down like the one your website is running, then execute the scheduled task manually once.
 
Thanks for the answers, those are helpful :)

Another way I found, if you are in terminal, is to run the command
Code:
ls -lar
which will show who the user is.

Hope this helps others who have come across the same problem.
 
Back
Top