April 15, 20206 yr 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
April 15, 20206 yr via the docker exec command docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv
April 16, 20206 yr 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
February 29, 20242 yr 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.