Skip to content
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

[Question] How should the library path be set in WSL2? #346

Open
Zebartin opened this issue Mar 8, 2023 · 1 comment
Open

[Question] How should the library path be set in WSL2? #346

Zebartin opened this issue Mar 8, 2023 · 1 comment
Labels
general question Question about Mango and how to use it

Comments

@Zebartin
Copy link

Zebartin commented Mar 8, 2023

First of all, thank Mango developers very much.

I am using Mango binary, downloaded from latest release, in WSL2, and it works well when I set the library path to a directory inside Linux file system. But it fails to work if I set it to a path referring to somewhere inside Windows file system, like /mnt/d/comic/ in WSL2, which means D:\comic\ in Windows. Mango did scan some entries once or twice, but not complete. And I did chmod recursively the library path to prevent permission issues.

Here is the log:

Mango - Manga Server and Web Reader. Version 0.27.0

[DEBUG]   2023/03/08 10:36:24 | Current version: 12
[DEBUG]   2023/03/08 10:36:24 | Target version: 12
[DEBUG]   2023/03/08 10:36:24 | Nothing to be done
[DEBUG]   2023/03/08 10:36:24 | Loading cached library from /home/zebartin/mango/library-e.yml.gz
[DEBUG]   2023/03/08 10:36:24 | Library cache loaded
[DEBUG]   2023/03/08 10:36:24 | We are in release mode. Using embedded static files.
[DEBUG]   2023/03/08 10:36:24 | Starting Kemal server
[DEBUG]   2023/03/08 10:36:24 | Current version: 12
[DEBUG]   2023/03/08 10:36:24 | Target version: 12
[DEBUG]   2023/03/08 10:36:24 | Nothing to be done
[DEBUG]   2023/03/08 10:36:25 | 200 GET /api/admin/thumbnail_progress 27.36ms
[DEBUG]   2023/03/08 10:36:30 | 200 GET /api/admin/thumbnail_progress 10.1ms
[DEBUG]   2023/03/08 10:36:35 | 200 GET /api/admin/thumbnail_progress 14.07ms
[DEBUG]   2023/03/08 10:36:41 | 200 GET /api/admin/thumbnail_progress 15.3ms
[INFO]    2023/03/08 10:36:46 | Scanned 0 titles in 21343.920114ms
[DEBUG]   2023/03/08 10:36:46 | Library initialized in 21345.576614ms
[DEBUG]   2023/03/08 10:36:46 | Caching library to /home/zebartin/mango/library-e.yml.gz
[DEBUG]   2023/03/08 10:36:46 | 200 GET /api/admin/thumbnail_progress 2.77ms
[DEBUG]   2023/03/08 10:36:49 | 200 GET /api/admin/thumbnail_progress 847.8µs
[DEBUG]   2023/03/08 10:36:54 | 200 GET /api/admin/thumbnail_progress 1.04ms
[DEBUG]   2023/03/08 10:36:59 | 200 GET /api/admin/thumbnail_progress 1.08ms
[DEBUG]   2023/03/08 10:37:04 | 200 GET /api/admin/thumbnail_progress 1.03ms
[DEBUG]   2023/03/08 10:37:09 | 200 GET /api/admin/thumbnail_progress 863.9µs
[DEBUG]   2023/03/08 10:37:14 | 200 GET /api/admin/thumbnail_progress 896.9µs
[DEBUG]   2023/03/08 10:37:19 | 200 GET /api/admin/thumbnail_progress 1.37ms
[INFO]    2023/03/08 10:37:24 | Starting thumbnail generation
[INFO]    2023/03/08 10:37:24 | Thumbnail generation finished
[DEBUG]   2023/03/08 10:37:24 | 200 GET /api/admin/thumbnail_progress 1.17ms
@Zebartin Zebartin added the general question Question about Mango and how to use it label Mar 8, 2023
@mrford3rd
Copy link

my work around for wsl2 was to delete the mango/library folder and then symlink the windows directory
e.g.
rmdir mango/library
ln -s /mnt/d/comic/ /home/zebartin/mango/library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
general question Question about Mango and how to use it
Projects
None yet
Development

No branches or pull requests

2 participants