Giter Site home page Giter Site logo

shawly / docker-ps3netsrv Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 13.0 4.11 MB

Alpine based docker image for ps3netsrv (with arm compatibility). Built with the latest ps3netsrv binaries from aldostools (built from sources)

License: GNU General Public License v3.0

Dockerfile 100.00%
docker-container docker-image docker-ps3netsrv hacktoberfest homebrew multiman ps3 ps3netsrv ps3netsvr webman webman-mod

docker-ps3netsrv's People

Contributors

github-actions[bot] avatar shawly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-ps3netsrv's Issues

Compatibility report: OrangepiOne

Device:
OrangepiOne - Running Debian 11 + OpenMediaVault

Status:
[x] works - docker image v1.5.0 to v1.5.2
[ ] not working

Additional steps to get it to work?

  • Only docker image v1.5.0 to v1.5.2 works perfectly with my SBC, anything above these versions doesn't work. I can create a docker container for v1.6 up to the latest docker image but the problem is mounting a game. It takes forever to mount and once mounted, it throws and error message. Already tried both webmanMOD and MultiMan both latest on a latest 4.90 CFW.

Did you verify that the standalone binaries of ps3netsrv work?
[ ] yes
[x] no

Have you read the troubleshooting section in the README?
[x] yes
[ ] no

Does not work on Synology DS218+

Not sure what is the issue, but mccloud/ps3netsrv version works (which is 6 months old)
I'm willing to troubleshoot but not sure how.

[HELP] PS1 Games Don't Show Up In webMAN

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

SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu

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:

Docker version 20.10.23, build 876964a

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

CONTAINER ID   IMAGE                     COMMAND   CREATED          STATUS          PORTS     NAMES
7cd616c4d0a9   shawly/ps3netsrv:latest   "/init"   54 seconds ago   Up 43 seconds             shawly-ps3netsrv

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...

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

User uid:    1036
User gid:    100
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2024-01-18 19:46:03.165646671  ps3netsrv build 20220330 (mod by aldostools)

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

uid=1036(ps3netsrv) gid=100(users) groups=100(users)

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

uid=1036(ps3netsrv) gid=100(users) groups=100(users)

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

 ls -la /{CENSORED}/ps3netsrv/
total 408
drwx------+ 12 ps3netsrv       users   4096 Jan 17 21:29 .
drwx------+  6 {CENSORED} users   4096 Jan 17 21:23 ..
drwx------+  2 ps3netsrv       users   4096 Jan 17 20:59 BDISO
drwx------+  2 ps3netsrv       users  4096 Jan 17 20:59 DVDISO
drwx------+  3 ps3netsrv       users  4096 Jan 17 21:51 GAMES
drwx------+  2 ps3netsrv       users  4096 Jan 17 21:18 PKG
drwx------+  2 ps3netsrv       users  4096 Jan 17 21:29 PS2ISO
drwx------+  2 ps3netsrv       users  4096 Jan 17 21:28 PS3ISO
drwx------+  2 ps3netsrv       users  4096 Jan 17 20:59 PSPISO
drwx------+  4 ps3netsrv       users  4096 Jan 18 19:08 PSXISO
drwx------+  2 ps3netsrv       users  372736 Jan 17 21:23 REDKEY
drwx------+  2 ps3netsrv       users  4096 Jan 17 21:21 ROMS

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

total 400
drwx------ 2 ps3netsrv users  4096 Jan 17 20:59 BDISO
drwx------ 2 ps3netsrv users  4096 Jan 17 20:59 DVDISO
drwx------ 3 ps3netsrv users  4096 Jan 17 21:51 GAMES
drwx------ 2 ps3netsrv users  4096 Jan 17 21:18 PKG
drwx------ 2 ps3netsrv users  4096 Jan 17 21:29 PS2ISO
drwx------ 2 ps3netsrv users  4096 Jan 17 21:28 PS3ISO
drwx------ 2 ps3netsrv users  4096 Jan 17 20:59 PSPISO
drwx------ 4 ps3netsrv users  4096 Jan 18 19:08 PSXISO
drwx------ 2 ps3netsrv users  372736 Jan 17 21:23 REDKEY
drwx------ 2 ps3netsrv users  4096 Jan 17 21:21 ROMS

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

version: '3'
services:
  ps3netsrv:
    image: shawly/ps3netsrv
    environment:
      - TZ: Europe/Berlin
      - USER_ID: 1036
      - GROUP_ID: 100
    ports:
      - "38008:38008"
    volumes:
      - "/{CENSORED}/ps3netsrv:/games:rw"

Games Directory Permissions Issue?

Seems like the wrong user has permissions to the /games directory. I have tried several ways to give user 1028 the permissions. Thank you.

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

SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu

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:           20.10.3
 API version:       1.41
 Go version:        go1.15.13
 Git commit:        b455053
 Built:             Thu Aug 19 07:13:24 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.3
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.15.13
  Git commit:       a3bc36f
  Built:            Thu Aug 19 07:11:25 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.4.3
  GitCommit:        ea3508454ff2268c32720eb4d2fc9816d6f75f88
 runc:
  Version:          v1.0.0-rc93
  GitCommit:        31cc25f16f5eba4d0f53e35374532873744f4b31
 docker-init:
  Version:          0.19.0
  GitCommit:        ed96d00


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

CONTAINER ID   IMAGE                     COMMAND   CREATED      STATUS              PORTS                      NAMES
6b844771f777   shawly/ps3netsrv:latest   "/init"   2 days ago   Up About a minute   0.0.0.0:38008->38008/tcp   Ps3netsrv

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

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

User uid:    1028
User gid:    100
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022-04-12 00:08:45.833069450  ps3netsrv build 20220330 (mod by aldostools)

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

uid=1028(administrator) gid=100(users) groups=100(users),101(administrators)

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

uid=1028(ps3netsrv) gid=100(users) groups=100(users)

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

drwxrwx---+ 1 root administrators 460 Apr 11 21:25 GAMES
drwxrwx---+ 1 root administrators  56 Apr 11 20:37 PS3ISO

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

drwxrwx--- 1 root ps3netsrv 460 Apr 11 21:25 GAMES
drwxrwx--- 1 root ps3netsrv  56 Apr 11 20:37 PS3ISO

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

Ps3netsrv:
    container_name: Ps3netsrv
    cpu_shares: 50
    entrypoint:
      - /init
    environment:
      - PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      - S6_OVERLAY_RELEASE=https://github.com/just-containers/s6-overlay/releases/download/v2.2.0.3/s6-overlay-amd64.tar.gz
      - USER_ID=1028
      - GROUP_ID=100
      - TZ=America/New_York
    hostname: Ps3netsrv
    image: shawly/ps3netsrv:latest
    ipc: shareable
    labels:
      org.opencontainers.image.created: 2022-04-01T21:20:03Z
      org.opencontainers.image.description: $IMAGE_DESCRIPTION
      org.opencontainers.image.revision: c277470e11de07d489f510f444e6046fe84e5da0
      org.opencontainers.image.source: https://github.com/shawly/docker-ps3netsrv
      org.opencontainers.image.title: $IMAGE_TITLE
      org.opencontainers.image.url: https://github.com/shawly/docker-ps3netsrv
      org.opencontainers.image.vendor: shawly
      org.opencontainers.image.version: $APP_VERSION
    logging:
      driver: db
      options: {}
    mac_address: 02:42:ac:11:00:08
    networks:
      - bridge
    ports:
      - 38008:38008/tcp
    stdin_open: true
    tty: true
    volumes:
      - '/volume1/Hyperspin/Games/Sony Playstation 3/_SNAPS:/games:rw'
networks:
  bridge:
    external: true

Dockerhub Readme

https://hub.docker.com/r/shawly/ps3netsrv

The README here says to use the environment variables "USER_ID" & "GROUP_ID"
Neither of those variable work. I have verified that my game folders/files are owned by my user, and that user id=1000, group=100.

I also tried PUID & PGID, which seemed to pass through to the container.
Here is what the log showed:

"[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] 10-adduser: executing...
usermod: no changes


GID/UID

User uid: 1000
User gid: 100

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done."

I have been able to get this working on Windows very easily, i also had it working under mccloud's release on my Unraid server before they had their git account stolen, and then all templates were removed etc.

Can i please get some guidance in how this should be configured with the latest release?

Game list doesn't update

It's very possible that I have installed this wrong but the following is my Docker compose

version: '3'
services:
ps3netsrv:
image: shawly/ps3netsrv
environment:
- TZ: America/New_York
- PUID: 1027
- GUID: 101
ports:
- "38008:38008"
volumes:
- Games/Sony Playstation 3/_ISOs: /games:rw"

Compatibility report: Raspberry Pi 4 Model B

Device:
Raspberry Pi 4 Model B (4GB) (aarch64)

Distro
DietPi v7.4.2 (64-bit)

Status:
[x] works
[ ] not working

Additional steps to get it to work?

  • Soft symbolic link not working so I have to change to hard link.

Tested mounting BDISO only. Blu-ray ISO runs fine.

Help installing in UnRaid?

*** Actually, one sec, testing something, I think its working, but might be something else on my end. Will update shortly. ***

Hello there. I was wondering if you could help point me in the right direction of getting this running on Unraid. I installed the docker and added the port as 38008, made a path variable called /games and pointed it to my ps3iso directory, but I still have nothing. Any help would be greatly appreciated. Thanks.

Update images

Please restart the rebuilding of the image. Aldostools updated source from 05/05/2020.

Compatibility report: QNAP TS-431KX-2G

Device:
QNAP TS-431KX NAS with 2GB RAM,

Software:
QTS 5.0.0.1986
Container Station 2.5.1.392

Hardware:
Annapurna Labs Alpine AL214 Quad-core ARM Cortex-A15 CPU @ 1.70GHz
Arm v7 32bit (QNAP x41)

Status:
[x] works
[ ] not working

Setup:

  • Installed within Container Station using the automated downloader from Docker Hub.
  • USER_ID and GROUP_ID are set in the enviroment variables to ensure ps3netsrv can read the shared folder (see below in additional steps)
  • The directory for ps3netsrv was set up as a share in the NAS manually first (in my case called PS3) and linked using the "Volume from Host" section when setting up the container. Mount point is /games. The QNAP Container Station does allow you to use the root of a share but the interface is a little clunky, once you open up the root of the directory you want to use if you click away from the dialog it will allow you to use the root of the share.
  • Network can be left as defaults (NAT) but set up a port forward for port 38008 in both fields. eg. Host: 38008 Container: 38008 Protocol: TCP
  • Set a CPU and Memory limit that seems sensible for you, I used 40% cpu and 512MB RAM.
  • Click "Create" and it will set it up ready for use.

Additional steps to get it to work?

  • Needs USER_ID and GROUP_ID set for ps3netsrv to be able to read the directory, to get those IDs enable the admin account and SSH, remote in using an SSH client and run the 'id' command in the shell to get the id and group id of the user that you want to use. This particular NAS doesn't have a directly accessable admin account and the password of the admin account is the MAC address of adapter 1 (in this case, the 10Gbit SFP+ port) so make sure the account is disabled once used.
  • Sending files to ps3netsrv from a PS3 does work (once user id and group id are set) but permissions don't work correctly, leaving the files unreadable once written. If you plan to send things from the PS3 make sure you can remote in via ssh and change the permissions of the files when they're done. File Station Doesn't work to do this The command I used for fixing the permissions on the ISO files is ' chmod 777 /share/PS3/PS3ISO/*.ISO ' (/share/PS3 is the filesystem location of the PS3 share I'm using). This is not neccesary when sending files or folders over the SMB share or within File Station as those permissions are set correct, this is just an issue with how the container manages those permissions when ps3netsrv writes the files.

What doesn't work?
Nothing

[HELP] pkg files in PKG directory not showing up

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

// paste the secret help code in 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:

// paste the output of the docker version command here
Client: Docker Engine - Community
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:32:13 2023
 OS/Arch:           linux/arm64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.6
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.7
  Git commit:       1a79695
  Built:            Mon Sep  4 12:32:13 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.24
  GitCommit:        61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
 runc:
  Version:          1.1.9
  GitCommit:        v1.1.9-0-gccaecfc
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

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

// paste the output of the docker ps -a -f "ancestor=shawly/ps3netsrv" command here
CONTAINER ID   IMAGE              COMMAND   CREATED       STATUS       PORTS                                           NAMES
0d4d7c95df01   shawly/ps3netsrv   "/init"   2 hours ago   Up 2 hours   0.0.0.0:38008->38008/tcp, :::38008->38008/tcp   ps3netsrv

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

// paste the output of the docker logs CONTAINERNAME command here
[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:    1000
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
2023-10-23 09:56:50.209093012  ps3netsrv build 20220330 (mod by aldostools)
[services.d] done.

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

// paste the output of the id command here
uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),5(tty),6(disk),20(dialout),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),110(netdev),999(systemd-journal)

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

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

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

// 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):

// paste the output of the docker exec CONTAINERNAME ls -l /games command here
total 40
drwxrwxr-x 2 ps3netsrv ps3netsrv 20480 Oct 23 11:35 PKG
drwxrwxr-x 2 ps3netsrv ps3netsrv 20480 Oct 22 20:42 PS3ISO

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

// paste the FULL docker run command or your docker-compose.yml here
sudo docker run --name=ps3netsrv -p 38008:38008 -v PATH2ISOS:/games/PS3ISO:rw  -v PATH2PKGS:/games/PKG:rw  shawly/ps3netsrv

Compatibility report: [Raspberry Pi 3B]

Device: Raspberry Pi 3B+

[] works
[x ] not working

Additional steps to get it to work?

  • don't know

logs contains this as soon as the ps3 tries to connect to the daemon :

Jun 10 16:19:06 mattlabs kernel: Alignment trap: not handling instruction ed8c7b00 at [<004e1d24>]
Jun 10 16:19:06 mattlabs kernel: 8<--- cut here ---
Jun 10 16:19:06 mattlabs kernel: Unhandled fault: alignment exception (0x801) at 0x765c70f6
Jun 10 16:19:06 mattlabs kernel: pgd = 2b2614dc
Jun 10 16:19:06 mattlabs kernel: [765c70f6] *pgd=03797835, *pte=0726c75f, *ppte=0726cc7f
Jun 10 16:19:06 mattlabs 4f8042d706c5[641]: 2023-06-10 14:19:06.202437328  ps3netsrv build 20220330 (mod by aldostools)

Did you verify that the standalone binaries of ps3netsrv work?
[ ] yes
[x ] no

Have you read the troubleshooting section in the README?
[x ] yes
[ ] no

segfault when accessing ps3netsrv with multiman

cant access ps3netsrv on multiman, it works with webman-mod though. Im using multiman to dump my disc and transfer it directly to my NAS which running this image.

here's the log

[Wed Sep 22 09:53:42 2021] ps3netsrv[26267]: segfault at 1 ip 00007f5b5df76540 sp 00007f5b5da0e638 error 4 in ld-musl-x86_64.so.1[7f5b5df3d000+47000] [Wed Sep 22 09:53:42 2021] Code: ff fe fe fe fe fe fe fe 49 bb 80 80 80 80 80 80 80 80 4c 0f af c0 eb ae 5b c3 40 0f b6 f6 48 89 f8 a8 07 74 14 48 85 d2 74 7c <0f> b6 08 39 f1 74 3f 48 ff c0 48 ff ca eb e8 48 85 d2 74 68 0f b6

my finding is multiman was able to connect to ps3netsrv? and when i go to file manager, the directory is empty. I tried creating a new directory inside net0 directly on multiman's filemanager on it and nothing happens, I checked my NAS and see if it created the directory and yes it was indeed, its just that multiman refuse to display the content on my ps3netsrv, and given that error dmesg error showing up everytime I do something on multiman (eg scanning and creating directory).

im running the latest tag on the docker's hub repository x86-64. using it with HEN, it also have the same issue with CFW as well. Using latest webman-mod as well.

Possible Update

Hi, I was wondering if it'd be possible to update the container to use the latest version (which seems to be 2019-09-24 at the moment. If not, I will have time this weekend to examine the files and possibly fork/update/PR (especially if it's just a matter of copying new src files). Cheers!

Compatibility report: OrangePi 3 LTS

Device:
OrangePi 3 LTS
arm64

Status:
[] works
[x] not working

Additional steps to get it to work?

  • none

Webman Mod on PS3 discovers iso images but fails to load. No error logs from "docker logs".

Docker ps3netsrv image 1.6.0
Webman MOD 1.47.42

[HELP]

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

SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu

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: Docker Engine - Community
 Version:           19.03.14
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        5eb3275
 Built:             Tue Dec  1 19:14:24 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.14
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       5eb3275
  Built:            Tue Dec  1 19:21:08 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.3.9
  GitCommit:        ea765aba0d05254012b0b9e595e995c09186427f
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

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

CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS              PORTS                      NAMES
eeafd56016c1        shawly/ps3netsrv:unraid   "/init"             10 minutes ago      Up 10 minutes       0.0.0.0:38008->38008/tcp   PS3NetSrv

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...

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

User uid:    99
User gid:    100
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2021-03-31 20:10:46.573365985  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:25.127403178  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:31.910943131  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:32.913419963  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:33.913599785  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:34.911707411  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:35.916569228  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:36.917607311  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:43.016734018  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:44.017940333  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:45.210499391  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:46.847070720  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:47.850590039  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:53.107744129  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:11:54.110792833  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:12:01.901835577  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:12:08.338339946  ps3netsrv build 20201030 (mod by aldostools)
2021-03-31 20:12:18.345727398  ps3netsrv build 20201030 (mod by aldostools)

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

uid=99(nobody) gid=100(users) groups=100(users),98(nobody)

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

uid=99(ps3netsrv) gid=100(users) groups=100(users)

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

total 0
drwxr-xr-x 1 nobody users 10 Mar 31 15:25 GAMES/
drwxr-xr-x 1 nobody users 81 Mar 31 15:27 PS2ISO/
drwxr-xr-x 1 nobody users 10 Mar 31 15:25 PS3ISO/

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

total 0
drwxr-xr-x 1 ps3netsrv users 10 Mar 31 15:25 GAMES
drwxr-xr-x 1 ps3netsrv users 81 Mar 31 15:27 PS2ISO
drwxr-xr-x 1 ps3netsrv users 10 Mar 31 15:25 PS3ISO

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

I'm running on unraid, so I'm not entirely sure.

[HELP]

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

SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu

System configuration:
Hi Shawly,
First, I am really grateful for your work.
I just want to run ps3netsrv on a brand new Synology NAS DS920+.
But I tried unsuccessfully both methods (docker and docker-compose).
It looks like I can't override correctly gid permissions :|

Notes:
It is working fine on Windows and Linux but I want it to run on my NAS to be as close as possible to PS3 games files and avoid useless network round trip traffic between PS3, storage and ps3netsrv.

Wishing you happy new year.

Output of docker version:

 Version:           18.09.8
 API version:       1.39
 Go version:        go1.11
 Git commit:        bfed4f5
 Built:             Fri Mar 13 06:46:11 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          18.09.8
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.11
  Git commit:       3a371f3
  Built:            Fri Mar 13 06:44:35 2020
  OS/Arch:          linux/amd64
  Experimental:     false

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

docker ps -a -f "ancestor=shawly/ps3netsrv"
CONTAINER ID        IMAGE                     COMMAND             CREATED             STATUS                     PORTS                      NAMES
51ec97689d9a        shawly/ps3netsrv:latest   "/init"             13 hours ago        Up 4 minutes               0.0.0.0:38008->38008/tcp   ps3netsrv

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

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

User uid:    1024
User gid:    100
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
[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:    1024
User gid:    100
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

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

uid=1024(admin) gid=100(users) groups=100(users),101(administrators)

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

uid=1024(ps3netsrv) gid=100(users) groups=100(users)

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

total 4
d---------+ 1 admin users   46 Nov 30 19:26 .
d---------+ 1 admin users   16 Jul  2 00:25 ..
d---------+ 1 admin users 4040 Dec  1 23:40 GAMES
d---------+ 1 admin users  224 Dec  1 23:05 PKG
d---------+ 1 admin users  232 Nov 30 19:36 PS3ISO

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

total 4
d--------- 1 ps3netsrv users 4040 Dec  1 22:40 GAMES
d--------- 1 ps3netsrv users  224 Dec  1 22:05 PKG
d--------- 1 ps3netsrv users  232 Nov 30 18:36 PS3ISO

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

version: '3'
services:
  ps3netsrv:
    image: shawly/ps3netsrv
    network_mode: bridge
    environment:
      - "TZ=Europe/Paris"
      - "USER_ID=1024"
      - "GROUP_ID=1000"
    ports:
      - "38008:38008"
    volumes:
      - "/volume1/DATA/COMMUN/JEUX/PS3:/games:rw"

[HELP] Games not visible from Raspberry Pi4 server (games on USB HDD)

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

// SSBoYXZlIHJlYWQsIGZvbGxvd2VkIGFuZCB0cmllZCBldmVyeSB0cm91Ymxlc2hvb3Rpbmcgc3RlcCwgYnV0IGl0IHN0aWxsIGRvZXNuJ3Qgd29yaywgcGxlYXNlIGhlbHAgbWUu

System configuration:
pi@SRV:~ $ docker run -d
--name=ps3netsrv
-p 38008:38008
-v /mnt/usbstorage/shared/ps3games:/games:rw
-e USER_ID=1000
-e GROUP_ID=1000
shawly/ps3netsrv:edge
Unable to find image 'shawly/ps3netsrv:edge' locally
edge: Pulling from shawly/ps3netsrv
9b18e9b68314: Already exists
3e264053f6bb: Pull complete
5340e95e1a13: Pull complete
3d0cfd521542: Pull complete
28e2e20a671a: Pull complete
Digest: sha256:76ec0a0bad691edd8926f582f9a32a28fe897b168612976fe0af1a23760eecec
Status: Downloaded newer image for shawly/ps3netsrv:edge
13705a706a153112d49d25412e2e57a8d21871e48f930eccfd2adac5d8d973fe
pi@SRV:~ $ ls -l /mnt/usbstorage/shared/ps3games
total 56
drwxrwxrwx 2 pi pi 4096 Jul 7 2020 BDISO
drwxrwxrwx 2 pi pi 4096 Sep 17 2021 DOWNLOADS
drwxrwxrwx 2 pi pi 4096 Jul 7 2020 DVDISO
drwxrwxrwx 2 pi pi 12288 Jul 7 2020 exdata
drwxrwxrwx 3 pi pi 4096 Aug 22 14:20 GAMES
drwxrwxrwx 6 pi pi 12288 Jul 30 20:06 PKG
drwxrwxrwx 2 pi pi 4096 Jul 7 2020 PS2ISO
drwxrwxrwx 2 pi pi 4096 Aug 22 13:56 PS3ISO
drwxrwxrwx 2 pi pi 4096 Jul 7 2020 PSPISO
drwxrwxrwx 2 pi pi 4096 Jul 7 2020 PSXISO
pi@SRV:~ $ docker exec ps3netsrv ls -l /games total 56
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Jul 7 2020 BDISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Sep 17 2021 DOWNLOADS
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Jul 7 2020 DVDISO
drwxrwxrwx 3 ps3netsrv ps3netsrv 4096 Aug 22 15:20 GAMES
drwxrwxrwx 6 ps3netsrv ps3netsrv 12288 Jul 30 21:06 PKG
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Jul 7 2020 PS2ISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Aug 22 14:56 PS3ISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Jul 7 2020 PSPISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 4096 Jul 7 2020 PSXISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 12288 Jul 7 2020 exdata
pi@SRV:~ $

Output of docker version:

// pi@SRV:~ $ docker exec ps3netsrv ls -l /games                                   total 56
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Jul  7  2020 BDISO
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Sep 17  2021 DOWNLOADS
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Jul  7  2020 DVDISO
drwxrwxrwx 3 ps3netsrv ps3netsrv  4096 Aug 22 15:20 GAMES
drwxrwxrwx 6 ps3netsrv ps3netsrv 12288 Jul 30 21:06 PKG
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Jul  7  2020 PS2ISO
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Aug 22 14:56 PS3ISO
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Jul  7  2020 PSPISO
drwxrwxrwx 2 ps3netsrv ps3netsrv  4096 Jul  7  2020 PSXISO
drwxrwxrwx 2 ps3netsrv ps3netsrv 12288 Jul  7  2020 exdata

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

// docker ps -a -f "ancestor=shawly/ps3netsrv:edge"
CONTAINER ID   IMAGE                   COMMAND   CREATED         STATUS         PORTS                                           NAMES
6b51932134b6   shawly/ps3netsrv:edge   "/init"   5 minutes ago   Up 5 minutes   0.0.0.0:38008->38008/tcp, :::38008->38008/tcp   ps3netsrv

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

// 
pi@SRV:~ $ docker logs ps3netsrv
[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:    1000
-------------------------------------

[cont-init.d] 00-adduser: exited 0.
[cont-init.d] done.
[services.d] starting services
2022-10-03 20:55:16.448336868  ps3netsrv build 20220813 (mod by aldostools)
[services.d] done.

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

// 
pi@SRV:~ $ id pi
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),104(input),106(render),108(netdev),999(spi),998(i2c),997(gpio),117(lpadmin),994(docker)

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

// 
pi@SRV:~ $ docker exec --user ps3netsrv ps3netsrv id
uid=1000(ps3netsrv) gid=1000(ps3netsrv) groups=1000(ps3netsrv),100(users)

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

// 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):

// pi@SRV:~ $ ls -l /mnt/usbstorage/shared/ps3games
total 56
drwxrwxrwx 2 pi pi  4096 Jul  7  2020 BDISO
drwxrwxrwx 2 pi pi  4096 Sep 17  2021 DOWNLOADS
drwxrwxrwx 2 pi pi  4096 Jul  7  2020 DVDISO
drwxrwxrwx 2 pi pi 12288 Jul  7  2020 exdata
drwxrwxrwx 3 pi pi  4096 Aug 22 14:20 GAMES
drwxrwxrwx 6 pi pi 12288 Jul 30 20:06 PKG
drwxrwxrwx 2 pi pi  4096 Jul  7  2020 PS2ISO
drwxrwxrwx 2 pi pi  4096 Aug 22 13:56 PS3ISO
drwxrwxrwx 2 pi pi  4096 Jul  7  2020 PSPISO
drwxrwxrwx 2 pi pi  4096 Jul  7  2020 PSXISO

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

// docker run -d \
    --name=ps3netsrv \
    -p 38008:38008 \
    -v /mnt/usbstorage/shared/ps3games:/games:rw \
    -e USER_ID=1000 \
    -e GROUP_ID=1000 \
    shawly/ps3netsrv:edge

Hello, none of the games (ISO's) are found by webman mod on my ps3. It was working with normal ps3netsrv install on my pi4. Now, with the docker version (after I stopped the ps3netsrv installed on the pi 4), I am not able to see any of my PS3 ISO's. I tried edge and latest builds of ps3netsrv docker image.

Compatibility report: Raspberry Pi 4 Model B 4GB

Device:
Raspberry Pi 4 Model B 4GB armv7

Status:
[x] works
[ ] not working

Additional steps to get it to work?

  • none

Did you verify that the standalone binaries of ps3netsrv work?
[ ] yes
[x] no

Have you read the troubleshooting section in the README?
[ ] yes
[x] no

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.