You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Since version 0.11.0 scanning symlinks fails most of the time as Stash tries to generate the oshash from the symlink itself instead of the actual file.
This fails almost always as the filesize of the link is often not a multiple of 8.
Error message: "error generating oshash for /data/library/testfile.mp4: oshash head: buffer is not a multiple of 8"
To Reproduce
Steps to reproduce the behavior:
Install Stash as a docker container as described in the README.md.
Create the following folder structure inside the /data folder:
/data/library
/data/downloads
Run Stash and set the library to /data/library
Add a video file to the /data/downloads folder
Create a (relative) symlink (inside the docker) from the file in the downloads folder to the library folder
Scan the library
Expected behavior
The file should be scanned and added to the library normally. The oshash should be generated from the video file itself, not the link. This worked until the 0.11.0 update.
Stash Version: (from Settings -> About): 0.12.0
Desktop (please complete the following information):
OS: Ubuntu 20.04.3 LTS
Docker Version: 20.10.12
Docker-Compose Version: 1.29.2
Additional Information
The same problem occurs when using the Docker container for Unraid and when running the latest Linux release directly.
The text was updated successfully, but these errors were encountered:
Describe the bug
Since version 0.11.0 scanning symlinks fails most of the time as Stash tries to generate the oshash from the symlink itself instead of the actual file.
This fails almost always as the filesize of the link is often not a multiple of 8.
Error message: "error generating oshash for /data/library/testfile.mp4: oshash head: buffer is not a multiple of 8"
To Reproduce
Steps to reproduce the behavior:
/data/library
/data/downloads
Expected behavior
The file should be scanned and added to the library normally. The oshash should be generated from the video file itself, not the link. This worked until the 0.11.0 update.
Stash Version: (from Settings -> About): 0.12.0
Desktop (please complete the following information):
Additional Information
The same problem occurs when using the Docker container for Unraid and when running the latest Linux release directly.
The text was updated successfully, but these errors were encountered: