Unable to save settings, tried multiple computers, tried different versions of LRR #534
-
LRR Version and OS Bug Details I am running into issues saving settings, I have tried installing Lanraragi on 3 separate devices but get the same error. When I save and check the log console I get this error: Use of uninitialized value in subroutine entry at /home/koyomi/lanraragi/script/../lib/LANraragi/Utils/Database.pm line 253. And when I check the Redis Logs I get this error: 37:M 24 Oct 2021 23:21:46.239 * AOF rewrite child asks to stop sending diffs. I have uninstalled LRR, the Linux subsystem, restarted, installed, same thing. New database or old database and no change. I am unable to change any settings and save, it will give the message for success, but on exit and restart it will default back to initial settings. I have tried as both a normal click/run instance, and run as administrator instance, and sadly same issue. Any help on this matter would be appreciated. Matching Logs Debug log of an attempt to save: [LANraragi] [debug] Saving nofunmode with value 1 Screenshots |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Looks like a permission issue on an existing |
Beta Was this translation helpful? Give feedback.
-
Sadly deleting the appendonly.aof file didn't work either. I also just tried creating a new content folder, added a few files, set the directory, started LRR, and got the same thing. I am currently set to WSL 1 and ran it as both normal and administrator. |
Beta Was this translation helpful? Give feedback.
-
Sadly I'm not really sure where the issue lies since it seems to be a hiccup between WSL and how redis saves its AOF files -- You can either rollback to 0.7.9 which does not have AOF, or remove this line in the server's files to disable it. I'll run some tests to make sure AOF isn't busted on 0.8.1 + WSL later today. |
Beta Was this translation helpful? Give feedback.
-
Reverting back to 0.7.9 has fixed the issue, I tried removing line # 93 but I would get the a Use of uninitialized value in subroutine entry at /home/koyomi/lanraragi/script/../lib/LANraragi/Utils/Database.pm line 253. removing the block at 250-256 causes another error at line 119 of config.pm in /home/koyomi/lanraragi/script/../lib/LANraragi/Controller/Config.pm And that is where I stopped, and decided it would be best not to mess with functions more than I should. So it definitely seems to be an issue with WSL and redis saving the AOF files on my end. I have reverted back to 0.7.9 and I can save without any issues. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
I've ran some tests with the latest 0.8.1 on my Win11 machine and can confirm the AOF file and its RDB variant work just fine.
Did you use the same content folder between all your installs, in a network folder for instance? That might be the cause of the problem.
I've also tried removing only the line that enables AOF and didn't encounter the errors you mentioned:
Moving this to a Q&A discussion since it doesn't seem to stem from a software bug 👍