PS4 PKG Sender implementation in Portainer

  • I would like to implement PS4 remote PKG sender in docker, would like some help or at least a hint to put me on the right direction.

    To be honest, I don't really know what I'm doing. I've got several docker containers running fine in Portainer, but docker compose is a little out of my league.


    I've found this on GitHub: https://github.com/justanormaldev/ps4-pkg-sender

    Is this even possible to implement in a docker container? Or is there another way to make this work?

    Now i'm using a Linux or Windows machine to use a PS4 PKG sender and browse to my OMV shared folder to send the PKG to my PS4, but all traffic routes through my 3rd device. It would be nice to send the PKG directly from OMV server to PS4.


    Thanks in advance and sorry for my missing knowledge...

    ODROID-HC2 running OMV4
    ASUS F2A85-M LE running OMV4

  • Got it to run as a docker image.

    But fails when sending a file.pkg with following output:



    curl -v "http://192.168.PS4:12800/api/install" --data '{"type":"direct","packages":["http://192.168.SERVER:9999/Days.Gone.Preorder.Bonuses.DLC.Unlocker.PS4-DUPLEX.pkg"]}'stdout: { "status": "fail", "error": "Unable to set up prerequisites for package 'http:\/\/192.168.SERVER:9999\/Days.Gone.Preorder.Bonuses.DLC.Unlocker.PS4-DUPLEX.pkg'." }

    stderr: * Trying 192.168.PS4...

    * TCP_NODELAY set

    % Total % Received % Xferd Average Speed Time Time Time Current

    Dload Upload Total Spent Left Speed


    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to 192.168.PS4 (192.168.PS4) port 12800 (#0)

    > POST /api/install HTTP/1.1

    > Host: 192.168.83.PS4:12800

    > User-Agent: curl/7.52.1

    > Accept: */*

    > Content-Length: 114

    > Content-Type: application/x-www-form-urlencoded

    >

    } [114 bytes data]

    * upload completely sent off: 114 out of 114 bytes

    < HTTP/1.1 500 Internal server error

    < Content-Type: application/json

    < Access-Control-Allow-Origin: *

    < Connection: close

    <

    { [164 bytes data]

    * Curl_http_done: called premature == 0


    100 278 0 164 100 114 60449 42019 --:--:-- --:--:-- --:--:-- 82000

    * Closing connection 0




    My docker-compose.yml:

    version: "2"

    services:

    pkg_sender:

    build: .

    container_name: pkg_sender

    volumes:

    - /srv/dev-disk-by-label-PATHtoPKGs:/opt/apps/pkg_sender/files

    ports:

    - 3333:9999

    environment:

    - PORT=9999

    - STATIC_FILES=/opt/apps/pkg_sender/files

    - LOCALIP=192.168.SERVER

    - PS4IP=192.168.PS4

    restart: unless-stopped

    ODROID-HC2 running OMV4
    ASUS F2A85-M LE running OMV4

    Edited once, last by sm0ke ().

  • Yeah I know,


    Actually I do have valid IP's, but posted here without full IP, see many people not disclose their IP's don't know why...

    Thanks though!


    I've found this:

    External Content gist.github.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.

    Seems to have something to do with HEN vs. Mira or Pyton HTTP server. Tried Mira for 9.00 on my PS4, no luck (and not very stable as well).

    ODROID-HC2 running OMV4
    ASUS F2A85-M LE running OMV4

  • I've found a working Docker Compose / Image for this.


    Tansuka made a working fork from PS4 PKG Sender, thanks dude!

    Credits to tansuka and justanormaldev for their effort!!!


    https://github.com/tansuka/ps4-pkg-sender

    I can confirm this is working with jailbroken PS4 @ FW9.00 with Goldhen v2b2.


    Closing this topic now.

    ODROID-HC2 running OMV4
    ASUS F2A85-M LE running OMV4

  • sm0ke

    Added the Label resolved

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!