Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

run a command inside nextcloud docker

Featured Replies

Hi there

 

I'm using nextcloud in a docker container and want do run a command inside the container with the plugin user script.

 

The command:

sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv

How can I add it in a user script on unraid to run it in the container?

 

any help is greatly appreciated.

cracksilver

via the docker exec command

docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv

 

  • Author
18 hours ago, Squid said:

via the docker exec command


docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv

 

Thanks for that Squid. It works wunderfull ;-)

  • 3 years later...
On 4/15/2020 at 7:55 AM, Squid said:

via the docker exec command

docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv

 

Hi Squid, I'm trying to run this command docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ security:bruteforce:reset 12.34.56.678

 

When I do I get this output: Could not open input file: /config/www/nextcloud/occ

 

Any ideas?

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.