cracksilver Posted April 15, 2020 Share Posted April 15, 2020 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 Quote Link to comment
Squid Posted April 15, 2020 Share Posted April 15, 2020 via the docker exec command docker exec nextcloud sudo -u abc php7 /config/www/nextcloud/occ preview:generate-all -vvv 1 Quote Link to comment
cracksilver Posted April 16, 2020 Author Share Posted April 16, 2020 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 Quote Link to comment
jbreezy Posted February 29 Share Posted February 29 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? Quote Link to comment
Recommended Posts
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.