-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 files:scan -> Exception during scan: NOAUTH Authentication required. #1402
Comments
I have the same issue, cannot execute commands like |
Any updates on this issue? I have similar issue while running
|
@veerendra2 For now at least, disable the Redis password, that should fix it. |
Is this merely this? #1608 (comment) Keep in mind the image uses multiple config files, so merely looking at |
@joshtrichards I did not use the config file to set the redis password, I used environment:
REDIS_HOST_PASSWORD_FILE: /run/secrets/nextcloud_redis_pass
secrets:
- nextcloud_redis_pass My understanding is this should be enough to get NC to use a Redis password. I can try again though. |
This does indeed appear to be a bug. The Lines 108 to 133 in 13f51c4
But it's not used in the docker/.config/redis.config.php Line 8 in 13f51c4
There is a new PR from @VesperiaArt that will likely fix this. Anyone on this thread may wish to manually test #2232 by replacing their Note, upon merge, you'll still have to upgrade your |
Correctly set the redis password config from the REDIS_HOST_PASSWORD_FILE environment variable. Fix an issue similar to #1402 when using the REDIS_HOST_PASSWORD_FILE environment variable to provide the redis host secret. Signed-off-by: Vesperia Art <[email protected]>
I'm using the docker container with the |
@calebjones Thanks for providing feedback on testing in your environment. It's appreciated. :) |
Hi,
Summary:
using
redis
with a password makes someocc
commands bug.Details
I recently reinstalled
nextcloud
from scratch (all volumes deleted) after deciding to use userns-remap on Docker.I deactivate the userns for
nextcloud
and the whole thing works as well as before, with one exception.BUG:
docker-compose
relevant services:config.php
Temporary fix
Disable the password in
redis
and adjustconfig.php
.Notes
The
redis
container works fine with a password for everything, except someocc
commandsIt seems like a
nextcloud
problem to me, but maybe I'm wrong.Does anyone else have that problem and/or know how to fix it ?
Many thanks to all who try to help :)
The text was updated successfully, but these errors were encountered: