I
Immich2mo ago
Zer0Cool

ReplyError: MISCONF Valkey is configured to save RDB snapshots

Hello, This error is constantly going by for docker logs immich_server. This started at some point today after I updated to latest images, but I also did a chown -R on a parent folder to handle an unrelated issue. I am guessing it’s a permissions issue, but not sure what to do. Everything was working prior to today. The app opens but search wont work. I have tried restarting the Immich containers. Any advice would be appreciated. If further info is needed I can try to provide it. Thanks Here is full error from docker logs immich_server, which repeats with minor variations endlessly.
ReplyError: MISCONF Valkey is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Valkey logs for details about the RDB error.
at parseError (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:302:14) {
command: {
name: 'bzpopmin',
args: [ 'immich_bull:storageTemplateMigration:marker', '10' ]
}
}
ReplyError: MISCONF Valkey is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Valkey logs for details about the RDB error.
at parseError (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:302:14) {
command: {
name: 'bzpopmin',
args: [ 'immich_bull:storageTemplateMigration:marker', '10' ]
}
}
And further down (cut short to fit char limit of Disc)…
ReplyError: MISCONF Valkey is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Valkey logs for details about the RDB error. script: 070c73c5f8b75418912cd70ddf6ee861dac4a86d, on @user_script:111.
at parseError (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:302:14) {
…}
ReplyError: MISCONF Valkey is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Valkey logs for details about the RDB error. script: 070c73c5f8b75418912cd70ddf6ee861dac4a86d, on @user_script:111.
at parseError (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/usr/src/app/server/node_modules/redis-parser/lib/parser.js:302:14) {
…}
17 Replies
Immich
Immich2mo ago
:wave: Hey @Zer0Cool, Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich :immich:. References - Container Logs: docker compose logs docs - Container Status: docker ps -a docs - Reverse Proxy: https://immich.app/docs/administration/reverse-proxy - Code Formatting https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline#h_01GY0DAKGXDEHE263BCAYEGFJA Checklist I have... 1. :ballot_box_with_check: verified I'm on the latest release(note that mobile app releases may take some time). 2. :ballot_box_with_check: read applicable release notes. 3. :ballot_box_with_check: reviewed the FAQs for known issues. 4. :ballot_box_with_check: reviewed Github for known issues. 5. :ballot_box_with_check: tried accessing Immich via local ip (without a custom reverse proxy). 6. :ballot_box_with_check: uploaded the relevant information (see below). 7. :ballot_box_with_check: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable (an item can be marked as "complete" by reacting with the appropriate number) Information In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider: - Your docker-compose.yml and .env files. - Logs from all the containers and their status (see above). - All the troubleshooting steps you've tried so far. - Any recent changes you've made to Immich or your system. - Details about your system (both software/OS and hardware). - Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h). - The version of the Immich server, mobile app, and other relevant pieces. - Any other information that you think might be relevant. Please paste files and logs with proper code formatting, and especially avoid blurry screenshots. Without the right information we can't work out what the problem is. Help us help you ;) If this ticket can be closed you can use the /close command, and re-open it later if needed. Successfully submitted, a tag has been added to inform contributors. :white_check_mark:
Zeus
Zeus2mo ago
you haven't included anything the bot asked about, like compose env and system details
bo0tzz
bo0tzz2mo ago
This error in redis generally doesn't matter and it won't have anything to do with search not working oh nvm redis is set to reject commands
Zeus
Zeus2mo ago
I don't think it typically shows up in the immich server logs though?
Zer0Cool
Zer0CoolOP2mo ago
I couldn’t include any more, I got an error trying to submit post that limit of 2,000 characters applied If there’s anything specific I should post to help let me know, I didnt want to just dump it all, I assumed the character limit was intentional to prevent a wall of text
Zeus
Zeus2mo ago
It's not, you can send multiple messsages as well as attachments but this is probably due to a permission issue and I am guessing you are using a non standard setup
Zer0Cool
Zer0CoolOP2mo ago
Depends what you mean by non-standard. On my Docker host, Ubuntu Server 24.04, I’ve got /home/user/docker_files “User” is in the docker group I then have /home/user/docker_files/immich
Zeus
Zeus2mo ago
if you are running containers as non root, that's non-standard
Zer0Cool
Zer0CoolOP2mo ago
Ah ok then yes I assume so
Zeus
Zeus2mo ago
You should be able to fix it by doing all of this
Zer0Cool
Zer0CoolOP2mo ago
Ok looking over it, tho I don’t recall specifically following directions for this just for Immich
Zeus
Zeus2mo ago
I don’t understand what you mean by that. Our docker compose runs as root. If you change that you’re expected to adjust the mounts etc accordingly
Zer0Cool
Zer0CoolOP2mo ago
What I am saying is I didnt do anything specific, that I am waste of to run specifically Immich as non-root. IE: “You can change the user in the container by setting the user argument in docker-compose.yml for each service.” Is not something I did *that I am aware of Would it be helpful if I provided my docker-compose.yaml?
Zeus
Zeus2mo ago
It’s probably the same if your docker daemon isn’t running as root
Zer0Cool
Zer0CoolOP2mo ago
I’m relatively new to Docker, how would I check if that’s the case? I added the user to the compose and recreated the containers, see shortly if it’s behaving. Leads to a new docker logs immich_server repeating error:
Error: getaddrinfo EAI_AGAIN redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'redis'
}
Error: getaddrinfo EAI_AGAIN redis
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:26) {
errno: -3001,
code: 'EAI_AGAIN',
syscall: 'getaddrinfo',
hostname: 'redis'
}
Looks like I got it working. Thanks for the help
Immich
Immich2mo ago
This thread has been closed. To re-open, use the button below.

Did you find this page helpful?