-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] occ commands don't work #338
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
All you need to from within the container is start the command with |
too easy, thank you so much |
Does that mean that there's no need for the |
Correct. We built a command alias in to the container: docker-nextcloud/root/usr/bin/occ Line 4 in 87ab71d
All you have to do is; |
Is there an existing issue for this?
Current Behavior
I updated nexcloud to version 27.01 and there were no problems. Now I have to run the occ db:add-missing-indices command but I can’t.
Before I always used the command:
sudo docker exec -u abc -it nextcloud php occ db:add-missing-indices
or
sudo docker exec -it nextcloud /bin/bash
cd /config/www/nextcloud
sudo -u abc php occ occ db:add-missing-indices
Now the result is:
Could not open input file: occ
Expected Behavior
No response
Steps To Reproduce
sudo docker exec -u abc -it nextcloud php occ db:add-missing-indices
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: