Difegue / LANraragi

Web application for archival and reading of manga/doujinshi. Lightweight and Docker-ready for NAS/servers.
https://lrr.tvc-16.science
MIT License
2.16k stars 151 forks source link

Error while uploading archives on Unraid #647

Closed Modelik closed 2 years ago

Modelik commented 2 years ago

LRR Version and OS Unraid 6.10.3 , LANraragi Version 0.8.5

Bug Details While attempting to upload an archive using the Upload Center, I always get the Error "The file couldn't be moved to your content folder!". This happens on the default configuration I got from the Unraid "Apps" section and also if I change the content folder to be any other folder on any share. Manually uploading the archive to the "content" folder afterwards works, but while trying to generate a thumbnail through the settings I get a Permission error, which can't be solved by enabling the "privileged" checkbox in Unraid. The attached log is specifically from the Upload process.

Matching Logs [2022-06-23 21:49:18] [Tag Stats] [debug] Done! [2022-06-23 21:49:53] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:49:53] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:49:53] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:49:53] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:49:53] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:49:53] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:49:53] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:49:53] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:49:53] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:49:59] [File Upload/Download] [debug] ID of uploaded file is 6241a30c1d43c097105214037221f9755f8d3ed4 [2022-06-23 21:49:59] [Archive] [debug] Pushing to redis on ID 6241a30c1d43c097105214037221f9755f8d3ed4: [2022-06-23 21:49:59] [Archive] [debug] File Name: Test_Upload [2022-06-23 21:49:59] [Archive] [debug] Filesystem Path: /home/koyomi/lanraragi/content/Test_Upload.cbz [2022-06-23 21:50:03] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:03] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:50:04] [Search Engine] [debug] Search request: --title-asc-0-0 [2022-06-23 21:50:04] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:50:04] [Tag Stats] [debug] Building stat indexes... [2022-06-23 21:50:04] [Tag Stats] [debug] Done! [2022-06-23 21:50:04] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:04] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:04] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:50:04] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:04] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:50:05] [Search Engine] [debug] Search request: SET_1656020096--title-asc-0-0 [2022-06-23 21:50:05] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:50:05] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:05] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:34] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:34] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:34] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:34] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:34] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:50:34] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:34] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:34] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:34] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:48] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:48] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:48] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:50:48] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:48] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:50:48] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:48] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:50:48] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:50:48] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:09] [LANraragi] [info] LANraragi 0.8.5 (re-)started. (Debug Mode) [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Chaika.moe [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Tag Copier [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Add Timestamp Tag [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: E-Hentai [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: eze [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: FAKKU [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Hdoujin [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: koromo [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Mayriad's EH Master Script [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: Filename Parsing [2022-06-23 21:51:09] [LANraragi] [info] Plugin Detected: nHentai [2022-06-23 21:51:09] [LANraragi] [info] Script Detected: Blacklist Migration [2022-06-23 21:51:09] [LANraragi] [info] Script Detected: Subfolders to Categories [2022-06-23 21:51:09] [LANraragi] [info] Script Detected: Source Finder [2022-06-23 21:51:09] [LANraragi] [info] Script Detected: nHentai Source Converter [2022-06-23 21:51:09] [LANraragi] [info] Downloader Detected: Chaika.moe Downloader [2022-06-23 21:51:09] [LANraragi] [info] Downloader Detected: E*Hentai Downloader [2022-06-23 21:51:09] [LANraragi] [info] Successfully connected to Minion database. [2022-06-23 21:51:09] [LANraragi] [debug] Registered tasks with Minion. [2022-06-23 21:51:09] [LANraragi] [debug] Shinobu Worker new PID is 249 [2022-06-23 21:51:09] [LANraragi] [info] Routing done! Ready to receive requests. [2022-06-23 21:51:09] [Search Engine] [debug] Search request: --title-asc-0-0 [2022-06-23 21:51:09] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:09] [Search Engine] [debug] Search request: SET_1656020096--title-asc-0-0 [2022-06-23 21:51:09] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:09] [Tag Stats] [debug] Building stat indexes... [2022-06-23 21:51:09] [Tag Stats] [debug] Done! [2022-06-23 21:51:11] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:51:11] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:11] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:51:11] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:11] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:51:11] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:51:11] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:11] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:51:11] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:19] [File Upload/Download] [debug] ID of uploaded file is 6241a30c1d43c097105214037221f9755f8d3ed4 [2022-06-23 21:51:19] [Archive] [debug] Pushing to redis on ID 6241a30c1d43c097105214037221f9755f8d3ed4: [2022-06-23 21:51:19] [Archive] [debug] File Name: Test_Upload [2022-06-23 21:51:19] [Archive] [debug] Filesystem Path: /home/koyomi/lanraragi/content/Test_Upload.cbz [2022-06-23 21:51:23] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:51:23] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:51:24] [Search Engine] [debug] Search request: --title-0-- [2022-06-23 21:51:24] [Search Engine] [debug] Using cache for this query. [2022-06-23 21:51:24] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:51:24] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:51:24] [Search Engine] [debug] Search request: --title-0-0-0 [2022-06-23 21:51:24] [Tag Stats] [debug] Serving tag statistics with a minimum weight of 2 [2022-06-23 21:51:24] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:51:24] [Search Engine] [debug] Search request: --title-asc-0-0 [2022-06-23 21:51:24] [Search Engine] [debug] No cache available, doing a full DB parse. [2022-06-23 21:51:24] [Tag Stats] [debug] Building stat indexes... [2022-06-23 21:51:24] [Tag Stats] [debug] Done!

Screenshots Error while trying to upload: image

Error while trying to create thumbnail: image

kywarai commented 2 years ago

That's permission issue, make sure that content folder able to write. And you don't have to enable the 'privileged' option. 0 1 2 3

Modelik commented 2 years ago

Thank you! I couldn't find the exact Window you used, but resetting the permission using "Tools -> New Permissions" worked for me

kywarai commented 2 years ago

Forgot to point out. that’s “Dynamix File Manager” plugin.

anyway, you nailed it.

Difegue commented 2 years ago

Thanks for answering! I hadn't gotten to it yet since I never used unraid 🥲 I'll convert the issue to a discussion so others can see the answer easier. 👍