Shoko can't find any files

See original GitHub issue

I had to reinstall Shoko because of needing to switch from snap Docker to actual docker, but after doing fresh install of Shoko, I can’t get it to find files at all.

There should not be issues with permissions and there is 0 errors in log either because well… It can’t find or see any files at all. $USER is in docker group too.

sudo docker run -d --name shokoserver --restart always -p 8111:8111 -v "$HOME/.shoko:/home/shoko/.shoko" -v "/path/to/anime:/mnt/c62e3ef2-3132-4015-9ee1-637926405c19/Anime" -v "/path/to/import:/mnt/a0b07893-5fb3-476b-8ec9-e66a78ad370c/Media/Import" -e PUID=$UID -e PGID=$GID shokoanime/server:latest

That was the code I used for running Shoko and I learned from my past mistake so I know that is not the issue either. I have no issues with my other dockers either which is why I’m bit stumped with this, although they don’t really have to access any files like Shoko needs to.

Here is some useless log text: 2023-04-13 14:42:11 Bound to local address: 0.0.0.0:4556 - Port: 4556 (InterNetwork) 2023-04-13 14:42:11 Bound to remote address: 94.130.237.200 : 9000 2023-04-13 14:42:11 starting ping timer... 2023-04-13 14:42:12 Setting up database... 2023-04-13 14:42:12 Database Connection OK! 2023-04-13 14:42:12 Starting Server: Initializing Session Factory... 2023-04-13 14:42:14 Starting Server: Shoko.Server.Databases.SQLite - CreateAndUpdateSchema() 2023-04-13 14:42:14 Starting Server: RepoFactory.Init() 2023-04-13 14:42:14 Starting Server: Database - Populating Data (Users)... 2023-04-13 14:42:14 Starting Server: Database - Populating Data (Group Filters)... 2023-04-13 14:42:14 Starting Server: Database - Populating Data (Locked Group Filters)... 2023-04-13 14:42:14 Starting Server: Database - Populating Data (Rename Script)... 2023-04-13 14:42:14 Starting Server: Database - Populating Data (Custom Tags)... 2023-04-13 14:42:14 Starting Server: RepoFactory.PostInit() 2023-04-13 14:42:14 Initializing Session Factory... 2023-04-13 14:42:14 Watching ImportFolder: Anime || /mnt/c62e3ef2-3132-4015-9ee1-637926405c19/Anime/ 2023-04-13 14:42:14 Parsed ImportFolderLocation: /mnt/c62e3ef2-3132-4015-9ee1-637926405c19/Anime/ 2023-04-13 14:42:14 Watching ImportFolder: Import || /mnt/a0b07893-5fb3-476b-8ec9-e66a78ad370c/Media/Import/ 2023-04-13 14:42:14 Parsed ImportFolderLocation: /mnt/a0b07893-5fb3-476b-8ec9-e66a78ad370c/Media/Import/ 2023-04-13 14:42:14 Starting Server: Complete! I’ve cut out the “Settings.FileQualityPreferences.PreferredVideoCodecs: [“hevc”,“h264”,“mpeg4”,“vc1”,“flv”,“mpeg2”,“mpeg1”,“vp6f”]” etc as they are all the default ones.

Just sidenote: Really loving the new WebUI for server.

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ElementalCrisiscommented, Apr 16, 2023

Yeah, I’ve asked @revam to add it since IIRC, he rewrote them not too long ago.

1reaction
Cazzarcommented, Apr 13, 2023

I was mostly adapting your command swapping them, the way in the documentation is the correct way around, @ElementalCrisis are we able to add something to clarify this in the docs?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions
Using Shoko Desktop, navigate to Utilities > Unrecognized Files and if your files are showing up there, you can manually link them to...
Read more >
Dealing with unrecognized files? · Issue #862
I understand that Shoko Desktop is only available on Windows, and that it contains some features that allow it to manually link ...
Read more >
Shoko + Jellyfin Stack - How do you use it/which settings ...
Ideally I'd love to have Shoko rename the files and move them to my JF folder from my drop path, but I'm not...
Read more >
Shoko Server & Shoko Desktop - crashes on launch
Hi, I'm running Wine 4.0.1 on Linux Mint 19.1. ... Two programs for managing & viewing your anime collection. I've been running both...
Read more >
Forum: Shoko
File Renaming • Series Vote Management Shoko has built-in support for streaming your collection to any compatible program or plugin regardless of location, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found