docker-ps3netsrv icon indicating copy to clipboard operation
docker-ps3netsrv copied to clipboard

[HELP] viso error: failed to create virtual iso

Open TheMusicWizard opened this issue 1 year ago • 2 comments

I have read and followed all troubleshooting steps from the README.md?

SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu // paste the secret help code in here

Problem description:

When I attempt to mount a game from WebManMod, I get this in the logs of the ps3netsrv docker container:  
building virtual iso...
viso error: failed to create virtual iso

Or in the case of Nier:
building virtual iso...
viso error: failed to create virtual iso
open error on "/GAMES/Nier BLUS30481" (viso=1)
open dir /.
open dir /GAMES
open dir /GAMES/Nier BLUS30481
building virtual iso...
viso error: getting title id in PS3 MODE
open error on "/GAMES/Nier BLUS30481/PS3_GAME" (viso=1)
open error, send result error: -1 9

The full games directory I'm using is /games/PS3/GAMES..., where /games is a mounted nfs share from another machine. The owner of the dataset being shared is UID 1000 GID 3001

 // paste the problem description here

System configuration:
Please execute every command here and post the output. I will not answer tickets where these outputs are missing.

Output of docker version:

Client:
 Version:           23.0.6
 API version:       1.42
 Go version:        go1.20.10
 Git commit:        ef23cbc4315ae76c744e02d687c09548ede461bd
 Built:             Thu Oct 12 14:14:03 2023
 OS/Arch:           linux/amd64
 Context:           default

Server:
 Engine:
  Version:          23.0.6
  API version:      1.42 (minimum version 1.12)
  Go version:       go1.20.10
  Git commit:       9dbdbd4b6d7681bd18c897a6ba0376073c2a72ff
  Built:            Thu Oct 12 14:14:03 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.2
  GitCommit:        0cae528dd6cb557f7201036e9f43420650207b58
 runc:
  Version:          1.1.7
  GitCommit:        860f061b76bb4fc671f0f9e900f7d80ff93d4eb7
 docker-init:
  Version:          0.19.0
  GitCommit:
 // paste the output of the docker version command here

Output of docker ps -a -f "ancestor=shawly/ps3netsrv":

CONTAINER ID   IMAGE                     COMMAND   CREATED      STATUS      PORS                                           NAMES
04dba0d3c4e5   shawly/ps3netsrv:latest   "/init"   4 days ago   Up 4 days   0.00.0:38008->38008/tcp, :::38008->38008/tcp   ps3netsrv
// paste the output of the docker ps -a -f "ancestor=shawly/ps3netsrv" command here

Output of docker logs CONTAINERNAME (replace CONTAINERNAME with your ps3netsrv container's name):

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-adduser: executing...
usermod: no changes

-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    3001
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2025-01-25 16:54:59.132849031  Using port: 38008
2025-01-25 16:54:59.132886003  Using whitelist:
2025-01-25 16:54:59.135102528  ps3netsrv build 20240210a (mod by aldostools)
2025-01-26 04:44:13.458377069  Path: /games
2025-01-26 04:44:13.458381290
2025-01-26 04:44:13.458382600  Host IP #1: 172.17.0.10:38008
2025-01-26 04:44:13.458385215  Waiting for client...
2025-01-26 04:44:13.458386689  [0] Connection from 192.168.1.68
2025-01-26 04:44:13.458388015  open dir /GAMES
2025-01-26 04:44:13.458389350  open dir /PS3ISO
2025-01-26 04:44:13.458390604  open dir /PS2ISO
2025-01-26 04:44:13.458392006  open dir /PSXISO
2025-01-26 04:44:13.458393069  open dir /PSPISO
2025-01-26 04:44:13.458394438  building virtual iso...
2025-01-26 04:44:13.458395525  viso error: failed to create virtual iso
2025-01-26 04:44:13.458396855  open error on "/GAMES/Metal Gear Solid 4 Guns of The Patriots BLUS30109" (viso=1)
2025-01-26 04:44:13.458398185  [0] Connection from 192.168.1.69
2025-01-26 04:44:13.458399263  open dir /GAMES
2025-01-26 04:44:13.458410444  open dir /PS3ISO
2025-01-26 04:44:13.458411732  open dir /PS2ISO
2025-01-26 04:44:13.458412886  open dir /PSXISO
2025-01-26 04:44:13.458414042  open dir /PSPISO
2025-01-26 04:44:13.458415195  building virtual iso...
2025-01-26 04:44:13.458416359  viso error: failed to create virtual iso
2025-01-26 04:44:13.458417583  open error on "/GAMES/Nier BLUS30481" (viso=1)
2025-01-26 04:44:13.458418953  open error, send result error: -1 9
2025-01-26 04:44:13.458419897  open dir /GAMES
2025-01-26 04:44:13.458421295  open dir /PS3ISO
2025-01-26 04:44:13.458422685  open dir /PS2ISO
2025-01-26 04:44:13.458423741  open dir /PSXISO
2025-01-26 04:44:13.458424784  open dir /PSPISO
2025-01-26 04:44:13.458425977  [0] Connection from 192.168.1.100
2025-01-26 04:44:13.458427116  open dir /GAMES
2025-01-26 04:44:13.458428172  open dir /PS3ISO
2025-01-26 04:44:13.458429281  open dir /PS2ISO
2025-01-26 04:44:13.458430519  open dir /PSXISO
2025-01-26 04:44:13.458431705  open dir /PSPISO
2025-01-26 04:44:13.458432863  open dir
2025-01-26 04:44:13.458433935  open dir /GAMES
2025-01-26 04:44:13.458435043  open dir /GAMES
2025-01-26 04:44:13.458436387  open dir /PS3ISO
2025-01-26 04:44:13.458437469  open dir /PS2ISO
2025-01-26 04:44:13.458438680  open dir /PSXISO
2025-01-26 04:44:13.458439854  open dir /PSPISO
2025-01-26 04:44:13.458441015  [0] Connection from 192.168.1.134
2025-01-26 04:44:13.458442350  ERROR: Unknown command received: 4745
2025-01-26 05:27:56.703251570  ERROR: Unknown command received: 4745
2025-01-26 05:27:56.703254857  ERROR: Unknown command received: 4745
2025-01-26 05:27:56.703255919  ERROR: Unknown command received: 4745
2025-01-26 05:27:56.703256935  ERROR: Unknown command received: 4745
2025-01-26 05:27:56.703257778  [0] Connection from 192.168.1.100
2025-01-26 05:27:56.703258615  open dir /GAMES
2025-01-26 05:27:56.703259404  open dir /PS3ISO
2025-01-26 05:27:56.703260190  open dir /PS2ISO
2025-01-26 05:27:56.703260955  open dir /PSXISO
2025-01-26 05:27:56.703261736  open dir /PSPISO
2025-01-26 05:27:56.703262494  building virtual iso...
2025-01-26 05:27:56.703263314  viso error: failed to create virtual iso
2025-01-26 05:27:56.703264185  open error on "/GAMES/Nier BLUS30481" (viso=1)
2025-01-26 05:27:56.703264987  open error, send result error: -1 9
2025-01-26 05:27:56.703265817  building virtual iso...
2025-01-26 05:27:56.703266611  viso error: failed to create virtual iso
2025-01-26 05:27:56.703267416  open error on "/GAMES/Nier BLUS30481" (viso=1)
2025-01-26 05:27:56.703268191  building virtual iso...
2025-01-26 05:27:56.703268983  viso error: failed to create virtual iso
2025-01-26 05:27:56.703269842  open error on "/GAMES/Metal Gear Solid 4 Guns of The Patriots BLUS30109" (viso=1)
2025-01-26 05:27:56.703270613  open error, send result error: -1 9
2025-01-26 05:27:56.703271401  open dir /GAMES
2025-01-26 05:27:56.703272175  open dir /PS3ISO
2025-01-26 05:27:56.703272953  open dir /PS2ISO
2025-01-26 05:27:56.703273725  open dir /PSXISO
2025-01-26 05:27:56.703274486  open dir /PSPISO
2025-01-26 05:27:56.703275254  building virtual iso...
2025-01-26 05:27:56.703276067  viso error: failed to create virtual iso
2025-01-26 05:27:56.703276881  open error on "/GAMES/Nier BLUS30481" (viso=1)
2025-01-26 05:27:56.703277681  open error, send result error: -1 9
2025-01-26 05:27:56.703278501  building virtual iso...
2025-01-26 05:27:56.703279293  viso error: failed to create virtual iso
2025-01-26 05:27:56.703280103  open error on "/GAMES/Nier BLUS30481" (viso=1)
Cannot find /games/GAMES/Nier BLUS30481/PS3_GAME/PS3_GAME/PARAM.SFO
2025-01-29 23:41:10.600805902  open dir /.
2025-01-29 23:41:10.600815223  building virtual iso...
2025-01-29 23:41:10.600816319  viso error: failed to create virtual iso
2025-01-29 23:41:10.600817275  open error on "/GAMES" (viso=2)
2025-01-29 23:41:10.600818144  open dir /GAMES
2025-01-29 23:41:10.600819046  open dir /GAMES
2025-01-29 23:41:10.600819902  open dir /GAMES
2025-01-29 23:41:10.600820725  open dir /GAMES
2025-01-29 23:41:10.600821528  open dir /GAMES
2025-01-29 23:41:10.600822344  open dir /.
2025-01-29 23:41:10.600823237  open dir /.
2025-01-29 23:41:10.600824059  open dir /PKG
2025-01-29 23:41:10.600824923  open dir /.
2025-01-29 23:41:10.600825713  open dir /GAMES
2025-01-29 23:41:10.600826550  open dir /GAMES/Nier BLUS30481
2025-01-29 23:41:10.600827362  open dir /GAMES
2025-01-29 23:41:10.600828190  ERROR: open failed receiving filename: 0 0
2025-01-29 23:41:10.600829048  open error, send result error: -1 9
2025-01-29 23:41:10.600829838  open dir /.
2025-01-29 23:41:10.600830696  building virtual iso...
2025-01-29 23:41:10.600831497  open /PKG
2025-01-29 23:41:10.600832327  open dir /.
2025-01-29 23:41:10.600833126  open dir /GAMES
2025-01-29 23:41:10.600833941  building virtual iso...
2025-01-29 23:41:10.600834766  viso error: failed to create virtual iso
2025-01-29 23:41:10.600835626  open error on "/GAMES/Nier BLUS30481" (viso=1)
2025-01-29 23:41:10.600836427  open dir /.
2025-01-29 23:41:10.600837289  open dir /GAMES
2025-01-29 23:41:10.600838100  open dir /GAMES/Nier BLUS30481
2025-01-29 23:41:10.600838883  building virtual iso...
2025-01-29 23:41:10.600839708  viso error: getting title id in PS3 MODE
2025-01-29 23:41:10.600840548  open error on "/GAMES/Nier BLUS30481/PS3_GAME" (viso=1)
2025-01-29 23:41:10.600841356  open error, send result error: -1 9
2025-01-29 23:41:10.600842169  [0] Connection from 192.168.1.106
2025-01-29 23:41:10.600843003  open dir /GAMES
2025-01-29 23:41:10.600843804  open dir /PS3ISO
2025-01-29 23:41:10.600844614  open dir /PS2ISO
2025-01-29 23:41:10.600845432  open dir /PSXISO
2025-01-29 23:41:10.600846225  open dir /PSPISO
2025-01-29 23:41:10.600847142  building virtual iso...
2025-01-29 23:41:10.600849912  open /PSPISO
2025-01-29 23:41:10.600850726  building virtual iso...
2025-01-29 23:41:10.600851523  viso error: failed to create virtual iso
// paste the output of the docker logs CONTAINERNAME command here

Output of id (you should be logged in with the user that owns your games directory):

uid=1000(admin) gid=1000(admin) groups=10(wheel),18(audio),27(video),28(netdev),101(docker),1000(admin)
// paste the output of the id command here

Output of docker exec --user ps3netsrv CONTAINERNAME id (replace CONTAINERNAME with your ps3netsrv container's name):

uid=1000(ps3netsrv) gid=3001(ps3netsrv) groups=3001(ps3netsrv),100(users)
// paste the output of the docker exec --user ps3netsrv CONTAINERNAME id command here

Output of ls -l /path/to/your/games/folder:

total 51
dr-xr-xr-x    2 admin    3001             2 Jan 25 08:26 GAMEI
drwxrwxrwx    4 admin    3001             4 Jan 25 10:47 GAMES
dr-xr-xr-x    2 admin    3001             2 Jan 25 10:32 PKG
dr-xr-xr-x    2 admin    3001             2 Jan 25 08:26 PS2ISO
drwxrwxrwx    2 admin    3001             2 Jan 25 08:18 PS3ISO
drwxrwxr-x    2 admin    3001             3 Jan 29 17:37 PSPISO
dr-xr-xr-x    2 admin    3001             2 Jan 25 08:18 PSXISO
drwxr-xr-x    2 admin    3001             2 Jan 25 10:38 REDKEY
// paste the output of the ls -l /path/to/your/games/folder command here

Output of docker exec CONTAINERNAME ls -l /games (replace CONTAINERNAME with your ps3netsrv container's name):


total 51
dr-xr-xr-x 2 ps3netsrv ps3netsrv 2 Jan 25 08:26 GAMEI
drwxrwxrwx 4 ps3netsrv ps3netsrv 4 Jan 25 10:47 GAMES
dr-xr-xr-x 2 ps3netsrv ps3netsrv 2 Jan 25 10:32 PKG
dr-xr-xr-x 2 ps3netsrv ps3netsrv 2 Jan 25 08:26 PS2ISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 2 Jan 25 08:18 PS3ISO
drwxrwxr-x 2 ps3netsrv ps3netsrv 3 Jan 29 17:37 PSPISO
dr-xr-xr-x 2 ps3netsrv ps3netsrv 2 Jan 25 08:18 PSXISO
drwxr-xr-x 2 ps3netsrv ps3netsrv 2 Jan 25 10:38 REDKEY
// paste the output of the docker exec CONTAINERNAME ls -l /games command here

My docker run command or my docker-compose.yml:

version: "3"
services:
  ps3netsrv:
    image: shawly/ps3netsrv:latest
    environment:
      TZ: America/Chicago
      USER_ID: 1000
      GROUP_ID: 3001
    ports:
      - "38008:38008"
    volumes:
      - "/games/PS3:/games:rw"

// paste the FULL docker run command or your docker-compose.yml here

TheMusicWizard avatar Jan 30 '25 00:01 TheMusicWizard

You could try using the edge tag instead of latest which contains the newest ps3netsrv build. Your log also says: Cannot find /games/GAMES/Nier BLUS30481/PS3_GAME/PS3_GAME/PARAM.SFO

Which either means your game is broken or ps3netsrv has no permission to read the files. If you run ls -la /path/to/your/games/GAMES/Nier BLUS30481/PS3_GAME/PS3_GAME/ you can see the permissions on the files. Either way, doesn't seem to be an issue with my docker image and is either a problem with ps3netsrv itself or your file permissions, so the support I can give is limited.

shawly avatar Jan 30 '25 07:01 shawly

You could try using the edge tag instead of latest which contains the newest ps3netsrv build. Your log also says: Cannot find /games/GAMES/Nier BLUS30481/PS3_GAME/PS3_GAME/PARAM.SFO

Which either means your game is broken or ps3netsrv has no permission to read the files. If you run ls -la /path/to/your/games/GAMES/Nier BLUS30481/PS3_GAME/PS3_GAME/ you can see the permissions on the files. Either way, doesn't seem to be an issue with my docker image and is either a problem with ps3netsrv itself or your file permissions, so the support I can give is limited.

The log does make it look like the file permissions are incorrect, but even chmod 777 doesn't correct the issue. It may be a ps3netsrv issue. I'll try running on the local machine hosting the files instead of mounting an nfs share.

TheMusicWizard avatar Jan 30 '25 13:01 TheMusicWizard