Shoko can't find any files
See original GitHub issueI 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:
- Created 5 months ago
- Comments:9 (6 by maintainers)
Top Related StackOverflow Question
Yeah, I’ve asked @revam to add it since IIRC, he rewrote them not too long ago.
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?