Any ideas? I am not that familiar with file locations inside of docker containers, some guides talk about the config.php file, but I cannot seem to find it via the 'find “config.php” '-command. Other guides/threads talk about the memory limits as well, but I do not think it would be that…
application version
27.0.0_1.6.33
I currently don’t really have any ideas where to start from sadly…
If you have any ideas, please feel free to share them with me!
You don’t have sudo installed… I don’t know about the docker image, but it’s probably bad to run those commands as root.
You could install sudo with apt/yum/dnf/yay install sudo.
Also, when you run the commands, the occ file is in the root of the web directory, so you want to cd there. Again, I don’t know about docker, but on baremetal, it’s usually at/near /var/www/[something something]
Once you turn off maintenance mode, you might have to restart the server and then things will seem like they are working, except maybe the CODE/collabra stuff.
I just had some issues recently upgrading nextcloud, and it was related to the richdocumentscode or CODE/collabra server. Apparently, it’s too large to update through the web UI, so it has to be done manually.
do you have doas? i’m not sure what distro that is, but maybe see if which doas returns anything. I’ve never used it, but I’ve seen it in some youtube videos.
He doesnt need sudo. See above. Its a matter of logging into the docker shell with the correct user. Do not run apt update/upgrades in containers or install additional software. Its literally something docker itself recommends against. You build the container for reproducibility.
Almost all containers allow you to login as root or another user that owns your executable
Almost all containers have a text editor. You have what you need.
This works as well. You never want to accidentally screw the permissions by using root inside a docker container. If its a mounted volume things will get painful. If its internal to the container you could fix easily by prune and repull. Its just advisable to respect the user that has permission in the container to do stuff. Ive had to do it a lot. Ive also made a lot of mistakes lol
This is where the fun part comes…
Since I am using the easy version which is somewhat jerryrig from combination of docker and kubernetes by Ix systems…