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

Error Encountered During PAT File Extraction in Virtual DSM #871

Open
lzfxuexi opened this issue Jan 2, 2025 · 1 comment
Open

Error Encountered During PAT File Extraction in Virtual DSM #871

lzfxuexi opened this issue Jan 2, 2025 · 1 comment

Comments

@lzfxuexi
Copy link

lzfxuexi commented Jan 2, 2025

Operating system

raspberry pi os(64-bit)

Description

I am writing to seek assistance with an issue I encountered while setting up Virtual DSM on my Raspberry Pi using Docker Compose. Here's a summary of the problem and the steps I've taken:

Docker compose

Host: Raspberry Pi
Docker version 27.4.1, build b9d17ea
Docker Compose Command Used: docker-compose up -d

Docker log

dsm | ❯ Starting Virtual DSM for Docker v7.19...
dsm | ❯ CPU: Cortex A76 | RAM: 3/4 GB | DISK: 48 GB (ext4) | HOST: 6.6.62+rpt-rpi-2712...
dsm |
dsm | ❯ Install: Downloading DSM_VirtualDSM_72806.pat...
dsm |
dsm | 0K ........ ........ ........ ........ 9% 2.51M 2m4s
dsm | 32768K ........ ........ ........ ........ 18% 1.96M 2m7s
dsm | 65536K ........ ........ ........ ........ 27% 1.26M 2m21s
dsm | 98304K ........ ........ ........ ........ 37% 2.29M 1m56s
dsm | 131072K ........ ........ ........ ........ 46% 2.47M 94s
dsm | 163840K ........ ........ ........ ........ 55% 2.29M 76s
dsm | 196608K ........ ........ ........ ........ 65% 2.44M 58s
dsm | 229376K ........ ........ ........ ........ 74% 2.53M 42s
dsm | 262144K ........ ........ ........ ........ 83% 2.27M 26s
dsm | 294912K ........ ........ ........ ........ 92% 2.27M 11s
dsm | 327680K ........ ........ ........ ........ 100% 2.77M=2m38s
dsm |
dsm | ❯ Install: Extracting downloaded image...
dsm | /run/extract/syno_extract_system_patch: error while loading shared libraries: libsynocodesign-ng-virtual-junior-wins.so.7: failed to map segment from shared object
dsm | ❯ ERROR: Failed to extract PAT file, reason 127

I have located the libsynocodesign-ng-virtual-junior-wins.so.7 file at the following path within the Docker container:

root@raspberrypi:/etc/docker # sudo find / -name libsynocodesign-ng-virtual-junior-wins.so.7 2>/dev/null

/var/lib/docker/overlay2/58f4b1fde686d911c74a80e4154dde39962d8639c0ed63a80032d5345703ceb6/diff/run/extract/libsynocodesign-ng-virtual-junior-wins.so.7

I'm not sure how to get it working properly, looking forward to your reply.
Happy New Year!

Screenshots (optional)

No response

@lzfxuexi
Copy link
Author

lzfxuexi commented Jan 2, 2025

Here is my docker-compose.yml
services:
dsm:
container_name: dsm
image: vdsm/virtual-dsm:7.19
environment:
DISK_SIZE: "16G"
devices:
- /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- "5000:5000"
volumes:
- "/var/dsm:/storage"
stop_grace_period: "2m"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant