Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Redis error #1190

Closed
MasticoreChen opened this issue Feb 17, 2025 · 1 comment
Closed

Redis error #1190

MasticoreChen opened this issue Feb 17, 2025 · 1 comment

Comments

@MasticoreChen
Copy link

Hello,

I am using the Windows Nightlies 0.9.40 WSL2 version of LANraragi. My content folder is an SMB-mapped NAS space (X:\Manga). The thumb folder is the same as the content folder.

After running the LANraragi service, the X:\Manga directory can generate the thumb and appendonlydir directories, but the logs show the following errors:

Shinobu:
[2025-02-17 12:09:45] [Shinobu] [debug] Computed ID is 5f428322c3f51ae20a05eb9ae4cf5c2e5b11153e.
[2025-02-17 12:09:45] [Shinobu] [error] Error scanning /mnt/x/Manga/[filename1].zip: [hset] MISCONF Redis 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 Redis logs for details about the RDB error., at /usr/local/share/perl5/site_perl/Redis.pm line 321.

[2025-02-17 12:09:45] [Shinobu] [debug] Computed ID is fa51edc1bd240be2515fdd3a17d4db4392064b60.
[2025-02-17 12:09:45] [Shinobu] [error] Error scanning /mnt/x/Manga/[filename2].zip: [hset] MISCONF Redis 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 Redis logs for details about the RDB error., at /usr/local/share/perl5/site_perl/Redis.pm line 321.
...

Redis:
32:M 17 Feb 2025 12:25:25.015 * 1 changes in 900 seconds. Saving...
32:M 17 Feb 2025 12:25:25.016 * Background saving started by pid 264
264:C 17 Feb 2025 12:25:25.147 # Failed to fsync directory while saving DB: I/O error
32:M 17 Feb 2025 12:25:25.217 # Background saving error
32:M 17 Feb 2025 12:25:31.041 * 1 changes in 900 seconds. Saving...
32:M 17 Feb 2025 12:25:31.042 * Background saving started by pid 265
265:C 17 Feb 2025 12:25:31.133 # Failed to fsync directory while saving DB: I/O error
32:M 17 Feb 2025 12:25:31.143 # Background saving error
...

Could you please let me know if the system does not support SMB-mapped directories, or if there might be an issue with my settings?

Thank you very much.

@Difegue
Copy link
Owner

Difegue commented Feb 20, 2025

SMB mapping should be fine for content, but I wouldn't recommend it for the database... The issue is on the windows port, those live in the same spot.

You should ensure your SMB dir is writable from the windows host first, but if that doesn't work I'd recommend moving your content elsewhere. (Or install LRR on the NAS itself if that's a possibility?)

Repository owner locked and limited conversation to collaborators Feb 20, 2025
@Difegue Difegue converted this issue into discussion #1193 Feb 20, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants