December 13, 20223 yr Author Hmm maybe try to disable and fully reinstall the app? Could maybe be that you have wrong permissions on your nextcloud folders too...
December 13, 20223 yr I'm having a permission problem. In the logs of nextcloud-cronjob I get this feedback Cannot write into "config" directory! This can usually be fixed by giving the web server write access to the config directory. But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See https://docs.nextcloud.com/server/25/go.php?to=admin-config Can someone guide me here ?
December 13, 20223 yr Author What's the owner of your nextcloud appdata folder and contents? Should be user/group 33, shows up as sshd on current unraid Edited December 13, 20223 yr by Kilrah
December 13, 20223 yr 6 minutes ago, Kilrah said: What's the owner of your nextcloud appdata folder and contents? Should be user/group 33, shows up as sshd on current unraid right now it is nobody users Should I: chown -R user:33 ?
December 13, 20223 yr uhm wait. I tried it like tat and looks like it's working docker exec -u root nextcloud chown -R 33:33 * But I can't access the website
December 13, 20223 yr docker exec -u root nextcloud chown -R 33:users * was the correct command. Thanks for you help!
December 13, 20223 yr Issue 2: Picture files are very slow to load up, any way to speed that up? If you're talking of generating the previews not really, if they're large images that's a lot of processing. There's a "preview generator" app in nextcloud apps that you can use to pre-generate them, might help. ---- I installed the preview generator and it says that I have to add this to a cron job "php /var/www/nextcloud/occ preview:pre-generate" can i add this to the cron job docker that I downloaded for Nextcloud itself and if so do you know how I might be able to do that? Sorry I am new to all of this.
December 13, 20223 yr Author Maybe try to generate them once initially and see if that's helping you with speed, if so you can move on to making a custom cron script...
December 13, 20223 yr I can try that - guessing using the same command structure you have on the top of this - can't hurt to try - thank you.
December 14, 20223 yr 15 hours ago, Kilrah said: Hmm maybe try to disable and fully reinstall the app? Could maybe be that you have wrong permissions on your nextcloud folders too... Reinstalling (two times) helped. It seems that Node.js binary was not downloaded completely or could not be decompressed. Thank you very much!
December 16, 20223 yr Author Added info about using Redis caching for performance improvements in 2nd post
December 22, 20223 yr I'm surprised I didn't see this mentioned yet, but is it possible to expose a GPU to this container? I'm desperately trying to find a way to expose my Quadro P400 to Nextcloud so I can enable hardware trasncoding in Memories.
December 22, 20223 yr Author Looks like what you were answered in https://github.com/nextcloud/all-in-one/discussions/1525 also applies here, ffmpeg on debian not being built with nvenc support either. Edited December 22, 20223 yr by Kilrah
December 22, 20223 yr 2 hours ago, Kilrah said: ffmpeg on debian not being built with nvenc support either. I didnt know that, but now that I think about it Debian is one of the 100% Foss distros so that makes sense. 2 hours ago, Kilrah said: Looks like what you were answered in https://github.com/nextcloud/all-in-one/discussions/1525 Thanks for pointing that out, I actually hadn't seen the latest reply yet. So unless I'm missing something, it looks like my only option is a VM if I want HW transcoding, especially nvenc. I cant think of a single Docker image I haven't tried in the last 2 weeks.
December 22, 20223 yr Author Most likely. Since it is one app from a third-party developer I doubt nextcloud themselves are going to go through the rabbit hole of adding a lot of dependencies to enable that to their containers... Edited December 22, 20223 yr by Kilrah
December 24, 20223 yr I'm realy struggeling with the permissions for the Nextcloud cron. Can't run with the nextcloud basic config. When I run this command "docker exec -u root nextcloud chown -R 33:users * " the cron works... but then I'm unable to access nextcloud Unable to write to the "config" directory! This problem is usually solved by giving the web server write access to the configuration directory. Or, if you prefer to keep the config.php file read-only, set the "config_is_read_only" option to true. See https://docs.nextcloud.com/server/25/go.php?to=admin-config when I run: "docker exec -u root nextcloud chown -R 99:users * " I do have access on nextcloud but the script can't access (just like in the begining) I was able to fix it once in the past but then I had no access to the nextcloud appstore. Do you have any hint ?
January 12, 20233 yr On 12/10/2022 at 1:52 AM, darkangelus said: Hi, how would I go about fixing: > Running Script: ./run-cron-php.sh Cannot write into "config" directory! This can usually be fixed by giving the web server write access to the config directory. Thanks. i have the same issue, anyone know how to fix it?
January 12, 20233 yr Author Have you checked the answer? This is an issue on the nextcloud side, not cronjob (and the cron job should be ran fine despite the warning)
January 24, 20233 yr On 12/24/2022 at 6:45 PM, Alpha.Ars said: I'm realy struggeling with the permissions for the Nextcloud cron. Can't run with the nextcloud basic config. When I run this command "docker exec -u root nextcloud chown -R 33:users * " the cron works... but then I'm unable to access nextcloud Unable to write to the "config" directory! This problem is usually solved by giving the web server write access to the configuration directory. Or, if you prefer to keep the config.php file read-only, set the "config_is_read_only" option to true. See https://docs.nextcloud.com/server/25/go.php?to=admin-config when I run: "docker exec -u root nextcloud chown -R 99:users * " I do have access on nextcloud but the script can't access (just like in the begining) I was able to fix it once in the past but then I had no access to the nextcloud appstore. Do you have any hint ? Having this same exact issue. Using knex666's docker image of nextcloud. Setting permissions to 33:users lets the cron docker image run the script, but then the nextcloud container can't access anything. Switching permissions back to 99 gives nextcloud access, but then the cron docker image doesn't work.
January 24, 20233 yr Author 2 options: 1) Change the user in the advanced settings of the cronjob container to 99: 2) remove the --user 99:100 in Extra Parameters of the knex666 template, then on unraid terminal chown -R 33:33 /mnt/user/appdata/nextcloud/ (or your folder) It should then work fine. Edited January 24, 20233 yr by Kilrah
January 24, 20233 yr 6 hours ago, Kilrah said: 2 options: 1) Change the user in the advanced settings of the cronjob container to 99: 2) remove the --user 99:100 in Extra Parameters of the knex666 template, then on unraid terminal chown -R 33:33 /mnt/user/appdata/nextcloud/ (or your folder) It should then work fine. Did option 1. Had to change the perms for the data folder & contents to 99 since, for whatever reason, it was set to 33. Works now. Thanks
February 25, 20233 yr First of all, thank you for providing such an excellent project. Now I facing an tricky issue which may need your help. I want to modify the max upload file size. I have tried to modify it in both Nextcloud/.user.ini and php.ini, but it doesn't work. Can you tell me how to modify the max upload file size in your project please? Thank you!
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.