GithubHelp home page GithubHelp logo

OS5 packages about wdpksrc HOT 85 OPEN

wdcommunity avatar wdcommunity commented on June 10, 2024
OS5 packages

from wdpksrc.

Comments (85)

stefaang avatar stefaang commented on June 10, 2024 4

Docker 19.03.8 for OS5
docker-19.03.8-OS5.zip

Works on PR4100. Looking for confirmation on other platforms.
Based on OS5 branch: https://github.com/WDCommunity/wdpksrc/tree/OS5

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024 4

Sorry for the silence... I'll get you some more OS5 packages asap, especially Entware to get you started.

I'm in touch with WD devs and received firmware with a new kernel that should support official docker binaries out of the box.
This should help the people with ARM based platforms such as the EX2Ultra.

For those that need to expose mysqld: you could run the binary with a separate config and run it on another port. You don't need docker for that.

I made a transmission port in https://github.com/stefaang/spksrc ... also if you're in a hurry, you could unpack the existing packages (strip off the first 200 bytes) and rebuild them with the mksapkg-OS5 binary. The OS3 version is available on bintray.

from wdpksrc.

PaoloP74 avatar PaoloP74 commented on June 10, 2024 4

I found this repo: https://cloudsmith.io/~wd-community/repos/#

from wdpksrc.

maxnl avatar maxnl commented on June 10, 2024 3

I had the same issue trying to get two containers to communicate with each other using the default bridge network. I ended up creating a new bridge network and assigned the containers to that, and the issue appeared to be resolved. I'm on a PR4100

from wdpksrc.

qury avatar qury commented on June 10, 2024 3

to work around the SECCOMP issue you can run your containers with

--security-opt seccomp=unconfined

I can confirm this works on EX2 Ultra. I'm now happily running gitea 👍
docker run -d -p 3000:3000 -p 222:22 --security-opt seccomp=unconfined --restart unless-stopped --name=gitea -v gitea_data:/data kunde21/gitea-arm:latest

from wdpksrc.

Kale-Tech avatar Kale-Tech commented on June 10, 2024 3

COPS packages for OS5: https://bintray.com/beta/#/tfl/wdpksrc/COPS?tab=overview

@stefaang, sorry to bother you on this, but could you re-share the link to the OS5 package of COPS? The link above seems to go somewhere else now. Thanks in advance!

Hey, I managed to download those packages before the link stopped working. I uploaded them for anyone who needs it:

https://drive.google.com/drive/folders/1ba3DmqBlLu8pG2WUYzgDZoVf5ot_pNv0?usp=sharing

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024 3

Docker packages are now updated at https://github.com/WDCommunity/wdpksrc/releases/tag/docker-v20.10.14.

from wdpksrc.

ricardoespinobon avatar ricardoespinobon commented on June 10, 2024 2

So are these OS5 packages still valid for the PR4100/PR2100 NAS units? Seeing seriously mixed messages between here and the WD forum?

The zip on this thread works just fine for me in PR2100.

image

image

from wdpksrc.

irctrakz avatar irctrakz commented on June 10, 2024 2

@ricardoespinobon thanks! I just updated to OS5 and installed the Docker app without issue! (PR4100)

from wdpksrc.

Perlets9 avatar Perlets9 commented on June 10, 2024 2

Not works on EX2Ultra, it fails on docker run with this error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"mqueue\\\" to rootfs \\\"/mnt/HD/HD_a2/Nas_Prog/_docker/vfs/dir/c13d78eea5a514e034fcaa369fdd8fb2d9d0e2c647437e1e5ce100dd186e5780\\\" at \\\"/dev/mqueue\\\" caused \\\"no such device\\\"\"": unknown.

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024 2

@JediNite, are there any workarounds for the issue @Perlets9 and @brentgl encountered since I have the same problem with mqueues.

I would really appreciate a working docker since Transmission app is missing and the sql database is limited to localhost access on My Cloud OS 5.

Best regards,

Marko

@vacovnik,

There is nothing that can be done as a workaround as the kernel needs to be rebuilt with mqueue support. I saw recently on the WD forums that a large number of people have raised concerns about docker being removed from the OS5 release so at least it is on their radar to fix. The post appeared to indicate WD are looking to fix in a future release.

Cheers

JediNite

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024 2

First tests with the new kernel look promising, but it's not flawless yet. Kudos to @JediNite for testing it.
I see a fair chance they'll take it along in one of the upcoming updates.

Tautulli installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Tautulli?tab=overview

Syncthing installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Syncthing?tab=overview

NZBGet installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/NZBGet?tab=overview

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024 2

Hi all,

I have created pull request #68 which should address the issues with docker on ARM devices. In the meantime it is also possible to install the official docker packages by following https://community.wd.com/t/new-firmware-v5-06-115-docker-seccomp-error-on-ex2-ultra/259217/2. These packages have seccomp support built in now, so no need to use the custom version I had been maintaining anymore. However as I stated in the post, mileage may vary with versions over docker-19.03.8 with the "dockerd" binary. I would be curious if anyone has success with it on a newer build as it give me a "Segmentation Fault" when I query the version for example.

Cheers,

JediNite

from wdpksrc.

Kale-Tech avatar Kale-Tech commented on June 10, 2024 2

I managed to download all of the OS 5 packages before the site went down.

I uploaded them to google drive for anyone who needs it:

https://drive.google.com/drive/folders/1ba3DmqBlLu8pG2WUYzgDZoVf5ot_pNv0?usp=sharing

from wdpksrc.

ArthurSav avatar ArthurSav commented on June 10, 2024 2

I found this repo: https://cloudsmith.io/~wd-community/repos/#

I was beginning to lose hope. Installed the image for EX2 Ultra and it works!

from wdpksrc.

brentgl avatar brentgl commented on June 10, 2024 1

Not works on EX2Ultra, it fails on docker run with this error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"mqueue\\\" to rootfs \\\"/mnt/HD/HD_a2/Nas_Prog/_docker/vfs/dir/c13d78eea5a514e034fcaa369fdd8fb2d9d0e2c647437e1e5ce100dd186e5780\\\" at \\\"/dev/mqueue\\\" caused \\\"no such device\\\"\"": unknown.

Exactly the same here.

Are we SOL then without mqueue support in kernel?
Thanks
Brent

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024 1

I'm reworking my build chain a bit.. finally have some progress.

Entware packages for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Entware/20.11.17?tab=files

COPS packages for OS5: https://bintray.com/beta/#/tfl/wdpksrc/COPS?tab=overview

You can ignore the other packages, they are still for OS3.

from wdpksrc.

robco avatar robco commented on June 10, 2024 1

Hi all. New OS5 firmware v5.06.115 brought docker support back!

Unfortunatelly the docker OS5 package seems to have issues with SECCOMP on WD My Cloud EX2 Ultra. Issue is basically the same as described here.

My steps:

root@NAS # docker --version

Docker version 19.03.8, build

root@NAS # docker container run hello-world

docker: Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "seccomp: config provided but seccomp not supported": unknown.

ERRO[0001] error waiting for container: context canceled

I have posted this also to WD Community forum here.

from wdpksrc.

D-stefaang avatar D-stefaang commented on June 10, 2024 1

@woefull @Perlets9 try the latest package on Bintray, see link from 10h ago.
Regarding build - install script: it's broken, only the build part works. The install part broke due to some extra validation steps in OS5. I have some ideas to work around it but need a bit more time 🙂

from wdpksrc.

woefull avatar woefull commented on June 10, 2024 1

from wdpksrc.

s0th1s avatar s0th1s commented on June 10, 2024 1

Stefaan, I found your Cloudsmith bin files for OS5 Docker and Entware installers, do you have an updated location to get your Tautulli installer for OS5, specifically for the PR4100? Tautulli is the only bin installer I do not have. I found and installed it previously from the bintray link, but it appears bintray is no longer around and your posted links no longer work. Any help is appreciated.

First tests with the new kernel look promising, but it's not flawless yet. Kudos to @JediNite for testing it. I see a fair chance they'll take it along in one of the upcoming updates.

Tautulli installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Tautulli?tab=overview

Syncthing installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Syncthing?tab=overview

NZBGet installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/NZBGet?tab=overview

from wdpksrc.

h3pdesign avatar h3pdesign commented on June 10, 2024 1

Hi these binary Links- Do not work. Please post some working links here. The provided links are a dead end stating that "Bintray has been deprecated
The JFrog Platform offers many solutions to distribute your software internally or externally."

from wdpksrc.

Kale-Tech avatar Kale-Tech commented on June 10, 2024 1

@ufcpride @Myron-S No problem. Glad to help!

from wdpksrc.

technotiger avatar technotiger commented on June 10, 2024 1

Why no packages for single bay WdMyCloud? Can we get entware atleast? Where is mksapkg-OS5?

Edit: Answering my own question. mksapkg-OS5 is missing in master but it is available in other branches. I was able to build and install entware for single bay WdMyCloud. It would be nice if these packages (for single bay WdMyCloud) can also be made available on Cloudsmith. I am not sure why they have been omitted.

from wdpksrc.

cmd430 avatar cmd430 commented on June 10, 2024

clarification on what FW is OS5?

from wdpksrc.

Vendo232 avatar Vendo232 commented on June 10, 2024

Docker 19.03.8 for OS5
docker-19.03.8-OS5.zip

Works on PR4100. Looking for confirmation on other platforms.
Based on OS5 branch: https://github.com/WDCommunity/wdpksrc/tree/OS5

Any chance adding WDMyCloudMirrorGen2_docker_19.03.8.bin for OS5?

from wdpksrc.

Vendo232 avatar Vendo232 commented on June 10, 2024

clarification on what FW is OS5?

5.02.134

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024
root@4762f36cacea:/wdpksrc# ./mksapkg-OS5
ERROR: model_name not specify

Usage: mksapkg-OS5 -E -s -m [model_name]


Supported model_name:
		WDMyCloud
		WDMyCloudEX4100
		WDMyCloudDL4100
		WDMyCloudEX2100
		WDMyCloudDL2100
		WDMyCloudMirror
		MyCloudEX2Ultra
		MyCloudPR4100
		MyCloudPR2100
		WDCloud

root@4762f36cacea:/wdpksrc# ./mksapkg-OS3
ERROR: model_name not specify

Usage: mksapkg -E -s -m [model_name]


Supported model_name:
		WDMyCloudEX4
		WDMyCloudEX2
		WDMyCloudMirror
		WDMyCloud
		WDMyCloudEX4100
		WDMyCloudDL4100
		WDMyCloudEX2100
		WDMyCloudDL2100
		WDMyCloudMirrorGen2
		MyCloudEX2Ultra
		MyCloudPR4100
		MyCloudPR2100

Seems like it is no longer supported. Which is odd as you are on OS5.
I'll ask for clarification.

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024

You may try the other packages, I'm fairly sure one of the other packages should work fine.

from wdpksrc.

Vendo232 avatar Vendo232 commented on June 10, 2024

I have tried all from your zip file and all failed

https://community.wd.com/t/my-cloud-os-5-firmware-for-my-cloud-mirror/256504

The OS is still Indexing , not sure if this might influence the installation.

from wdpksrc.

Vendo232 avatar Vendo232 commented on June 10, 2024

hello Stefaan , do you see any major roadblocks on your end to extend the DOCKER packages to WD My Cloud Gen 2?

from wdpksrc.

D-stefaang avatar D-stefaang commented on June 10, 2024

docker_19.03.8_OS5.zip

@Vendo232 try the Mirror package in this new zip. I think they just renamed the MirrorV2 to simply Mirror.
The old V1 did not support Docker so it was not part of the build script.

from wdpksrc.

ricardoespinobon avatar ricardoespinobon commented on June 10, 2024

Docker 19.03.8 for OS5
docker-19.03.8-OS5.zip

Works on PR4100. Looking for confirmation on other platforms.
Based on OS5 branch: https://github.com/WDCommunity/wdpksrc/tree/OS5

Works on PR2100 OS5

from wdpksrc.

irctrakz avatar irctrakz commented on June 10, 2024

So are these OS5 packages still valid for the PR4100/PR2100 NAS units? Seeing seriously mixed messages between here and the WD forum?

from wdpksrc.

mrmatt avatar mrmatt commented on June 10, 2024

Verified docker for PR2100 OS5 -- Happy to test entware for OS5... though i was able to get Transmission & Flexget configured in a container (wiserain/docker-transmission) so that not be necessary

from wdpksrc.

Avian-Flew avatar Avian-Flew commented on June 10, 2024

Entware failing on upload into OS5.

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024

@Perlets9 yeah this is the same error as what I was getting on the EX4100. The kernel WD have supplied does not have mqueue support compiled in.

JediNite

from wdpksrc.

koehn avatar koehn commented on June 10, 2024

Under OS5, I am suddenly unable to connect from one Docker container to another. That is, if I run

docker run --name $NAME -p 9001:9000 --restart=always -d -v /mnt/HD/HD_a2/minio:/data -e "MINIO_ACCESS_KEY=$ACCESS_KEY" -e "MINIO_SECRET_KEY=$SECRET_KEY" minio/minio server /data

and try to access that container from an nginx container (or whatever), and run:

curl -v 10.0.1.232:9001
* Expire in 0 ms for 6 (transfer 0x5588b8cfff50)
*   Trying 10.0.1.232...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5588b8cfff50)
* Connected to 10.0.1.232 (10.0.1.232) port 9001 (#0)
> GET / HTTP/1.1
> Host: 10.0.1.232:9001
> User-Agent: curl/7.64.0
> Accept: */*
> 
* Empty reply from server
* Connection #0 to host 10.0.1.232 left intact
curl: (52) Empty reply from server

Curiously, I can still access minio remotely (the same curl command from MyCloud outside of Docker or from another machine works fine). It's only from one container to another that's broken.

This worked prior to upgrading to OS 5. Now I need to figure out an alternative somehow.

Update: I switched nginx to host networking, and am able to connect to the other container. Something isn't working with bridge networking in OS5.

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024

@koehn.

Update: I switched nginx to host networking, and am able to connect to the other container. Something isn't working with bridge networking in OS5.

Did you try creating a custom bridge network or are you using the default bridge network that is installed with docker ?

https://docs.docker.com/network/bridge/ may help ?

Cheers,

JediNite

from wdpksrc.

Vendo232 avatar Vendo232 commented on June 10, 2024

docker_19.03.8_OS5.zip

@Vendo232 try the Mirror package in this new zip. I think they just renamed the MirrorV2 to simply Mirror.
The old V1 did not support Docker so it was not part of the build script.

Stefan I was able to install Docker on Mirror V2 but the :9000 Portainer is not opening, any idea what could be wrong?

image
image

from wdpksrc.

koehn avatar koehn commented on June 10, 2024

Did you try creating a custom bridge network or are you using the default bridge network that is installed with docker ?

I was just using the default bridge network, trying to communicate between two containers launched thusly:

Minio:

docker run --name $NAME -p 9111:9000 --restart=always -d -v /mnt/HD/HD_a2/minio:/data -e "MINIO_ACCESS_KEY=$ACCESS_KEY" -e "MINIO_SECRET_KEY=$SECRET_KEY" minio/minio server /data

Nginx:

docker run --restart=always --name=$NAME -d -p 9443:443 -p 9080:80 -v $PWD/nginx.conf:/etc/nginx/nginx.conf -v $PWD/conf.d:/etc/nginx/conf.d nginx

Nothing fancy, and those same scripts worked prior to the OS 5 upgrade. Now the nginx container cannot communicate with the port that the minio container is exposing (10.0.1.123:9111, where the WD's IP is 10.0.1.123) unless nginx is run on the "host" network. It's not a show-stopper for me, and you should be able to reproduce it with those scripts (or a variation), but I thought you'd want to know.

Thanks for all your hard work on this project! Much appreciated!

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024

@koehn,

Double check within the "daemon.sh" script that it has this line :
${DOCKERD} --ip-masq=true >> /var/lib/docker/docker.log 2>&1 &

If this is missing, it may also be the cause. For some reason I found on the EX4100 (prior to OS5), that IP masquerading was not being enabled by default unless the daemon was started explicitly with the option. I know @stefaang has added this into the branch code though, so you should have it there if using the latest. If you really do want to try and use bridge networking, would recommend creating a custom bridge network and see if it makes a difference.

Cheers,

JediNite

from wdpksrc.

koehn avatar koehn commented on June 10, 2024

I'm sorry; where do I find daemon.sh? I've looked in a bunch of locations but it hasn't turned up.

from wdpksrc.

JediNite avatar JediNite commented on June 10, 2024

I'm sorry; where do I find daemon.sh? I've looked in a bunch of locations but it hasn't turned up.

@koehn ,

Try looking in "/mnt/HD/HD_a2/Nas_Prog/docker"

Cheers,

JediNite

from wdpksrc.

koehn avatar koehn commented on June 10, 2024

Thanks! I found the file, and it has the line you indicated, exactly as you mentioned it above. A quick ps shows that it is running with --ip-masq=true.

from wdpksrc.

akanoodles avatar akanoodles commented on June 10, 2024

I had the same issue trying to get two containers to communicate with each other using the default bridge network. I ended up creating a new bridge network and assigned the containers to that, and the issue appeared to be resolved. I'm on a PR4100

@maxnl Can you detail how to do that in portainer? or did you have to sshd into it?

from wdpksrc.

vacovnik avatar vacovnik commented on June 10, 2024

@JediNite, are there any workarounds for the issue @Perlets9 and @brentgl encountered since I have the same problem with mqueues.
I would really appreciate a working docker since Transmission app is missing and the sql database is limited to localhost access on My Cloud OS 5.

Best regards,
Marko

from wdpksrc.

akanoodles avatar akanoodles commented on June 10, 2024

I had the same issue trying to get two containers to communicate with each other using the default bridge network. I ended up creating a new bridge network and assigned the containers to that, and the issue appeared to be resolved. I'm on a PR4100

@maxnl Can you detail how to do that in portainer? or did you have to sshd into it?

I figured it out, I just had to connect without creating a new network but targeting the IP address that Portainer created instead of my localhost IP

from wdpksrc.

maxnl avatar maxnl commented on June 10, 2024

@akanoodles Glad you got it figured out, sorry I was away relocating across the country.
For me, IP addresses within the default bridge couldn't communicate with each other so I needed to create a new bridge network.

For simplicity sake, think of each "bridge" network in Docker acting as its own network with the "bridge" being a router. Creating a new network is like adding a new router with it's own internal network, and then assigning the containers to it is like connecting the containers to the new router.

I see you were trying to do that over on issue 65, the piece you were missing was deciding on a subnet for the new network to use.

from wdpksrc.

deikka avatar deikka commented on June 10, 2024

I'm in touch with WD devs and received firmware with a new kernel that should support official docker binaries out of the box.
This should help the people with ARM based platforms such as the EX2Ultra.

Hi @stefaang ,
This firmware is going to be released by WD or is something else? Does it have a version number?
Thanks for your awesome work!

from wdpksrc.

qury avatar qury commented on June 10, 2024

@stefaang is the new kernel for the ex2 ultra "public"?

from wdpksrc.

ktvmedia avatar ktvmedia commented on June 10, 2024

First tests with the new kernel look promising, but it's not flawless yet. Kudos to @JediNite for testing it.
I see a fair chance they'll take it along in one of the upcoming updates.

Tautulli installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Tautulli?tab=overview

Syncthing installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/Syncthing?tab=overview

NZBGet installer for OS5: https://bintray.com/beta/#/tfl/wdpksrc/NZBGet?tab=overview

Hello, I installed the Tautulli installer for OS5 on my PR2100 from the link. However, when I click on Configure to launch it, it doesn't open. Do you have any idea why?

from wdpksrc.

D-stefaang avatar D-stefaang commented on June 10, 2024

@ktvmedia do you have entware? I need install/start logs

from wdpksrc.

ktvmedia avatar ktvmedia commented on June 10, 2024

@ktvmedia do you have entware? I need install/start logs

### Entware Install Log

#!/bin/bash

LOG=/tmp/entware_install

echo "APKG_DEBUG: $0 $@" | tee -a $LOG

path_src=$1
NAS_PROG=$2

APKG_MODULE="entware"
APKG_PATH="${NAS_PROG}/${APKG_MODULE}"

copy the WD entware package to App

cp -rf ${path_src} ${NAS_PROG}

create the entware root in a location that is not shared by samba

OPT_ROOT="/shares/Volume_1/${APKG_MODULE}"
mkdir -p ${OPT_ROOT}
echo "APKG_DEBUG: mount $OPT_ROOT to /opt" | tee -a $LOG
mount --bind ${OPT_ROOT} /opt 2>&1 | tee -a $LOG

ARCH="$(uname -m)"
if [ ${ARCH} = "x86_64" ]; then
ENT_ARCH="x64"
elif [ ${ARCH} = "armv5tel" ]; then
ENT_ARCH="armv5sf"
else
ENT_ARCH="armv7sf"
fi

echo "APKG_DEBUG: download and install entware-ng for $ARCH" | tee -a $LOG
wget -O - "http://bin.entware.net/${ENT_ARCH}-k3.2/installer/generic.sh" | /bin/sh 2>&1 | tee -a $LOG

/opt/bin/opkg update 2>&1 | tee -a $LOG
/opt/bin/opkg upgrade 2>&1 | tee -a $LOG

echo "APKG_DEBUG: keep old WD reboot" | tee -a $LOG
ln -sf ${APKG_PATH}/sbin/reboot /opt/sbin/reboot 2>&1 | tee -a $LOG

echo "Restore WD service module paths" | tee -a $LOG
WDOPT=/usr/local/modules/opt/wd
ln -sf ${WDOPT} /opt/wd 2>&1 | tee -a $LOG

echo "Unmount again" | tee -a $LOG
umount /opt 2>&1 | tee -a $LOG

echo "APKG_DEBUG: entware-ng install.sh ready" | tee -a $LOG

Entware Start Log

#!/bin/sh

start all entware init.d services

/opt/etc/init.d/rc.unslung start

Tautulli Install Log

#!/bin/bash

[ -f /tmp/debug_apkg ] && echo "APKG_DEBUG: $0 $@" >> /tmp/debug_apkg

INSTALL_DIR=$(readlink -f $1)
NAS_PROG=$(readlink -f $2)

log=/tmp/debug_apkg

APKG_MODULE="tautulli"
APKG_PATH="${NAS_PROG}/${APKG_MODULE}"
APKG_CONFIG="${APKG_PATH}/config.ini"
APKG_CONFIG_BACKUP="/mnt/HD/HD_a2/.systemfile/${APKG_MODULE}.ini"
DATA_DIR="${APKG_PATH}/data"
DATA_DIR_BACKUP="/mnt/HD/HD_a2/.systemfile/${APKG_MODULE}_data/" # note the trailing slash

install all package scripts to the proper location

cp -rf ${INSTALL_DIR} ${NAS_PROG}

setup secure downloads

curl --remote-name --time-cond cacert.pem https://curl.haxx.se/ca/cacert.pem
mv cacert.pem /etc/ssl/cert.pem

install pip to get pkg_resources module

/opt/bin/opkg install python3-light python3-pip git git-http
[ ! $? -eq 0 ] && exit 2

get the Tautulli source code

cd ${APKG_PATH}
/opt/bin/git clone https://github.com/Tautulli/Tautulli.git
[ ! $? -eq 0 ] && exit 3

checkout current supported version. feel free to update afterwards.

cd Tautulli
/opt/bin/git checkout v2.6.1
cd ..

restore config

if [ -f ${APKG_CONFIG_BACKUP} ]; then
echo "Restore ${APKG_MODULE} config"
cp ${APKG_CONFIG_BACKUP} ${APKG_CONFIG}
cp -r ${DATA_DIR_BACKUP} ${DATA_DIR}
fi

echo "Addon ${APKG_MODULE} (install.sh) done" >> $log

Tautulli Start Log

#!/bin/sh

use entware/optware python when available

export PATH=/opt/bin:/opt/sbin:$PATH

echo "APKG_DEBUG: starting PlexPy on port 8282" >> /tmp/debug_apkg

/opt/etc/init.d/S43Tautulli.sh start

from wdpksrc.

robco avatar robco commented on June 10, 2024

to work around the SECCOMP issue you can run your containers with

--security-opt seccomp=unconfined

I can confirm this works on EX2 Ultra. I'm now happily running gitea 👍
docker run -d -p 3000:3000 -p 222:22 --security-opt seccomp=unconfined --restart unless-stopped --name=gitea -v gitea_data:/data kunde21/gitea-arm:latest

please note you can't use such "workaround" for "docker build" and "docker create" commands.

from wdpksrc.

woefull avatar woefull commented on June 10, 2024

Well just tried to install the bin from the zip file for the ex2 ultra. It fails with an incompatible package error.
Tried to install by selecting the : install map manually button and pointing it at the bin file for the ex2ultra box. Using the latest os 5 version which is: 5.06.115.
If anyone has a clue I would be glad to get one. So can't even install docker.

from wdpksrc.

stefaang avatar stefaang commented on June 10, 2024

I've updated the docker packages on https://bintray.com/beta/#/tfl/wdpksrc?tab=packages
It might be best to close this ticket and manage each issue separately now.
Thanks everyone for the feedback and for helping each other.

from wdpksrc.

woefull avatar woefull commented on June 10, 2024

Docker 19.03.8 for OS5
docker-19.03.8-OS5.zip
Works on PR4100. Looking for confirmation on other platforms.
Based on OS5 branch: https://github.com/WDCommunity/wdpksrc/tree/OS5

Works on PR2100 OS5

Hello Stefaang,

Sorry to say that the app does not install on WD MyCloud Ex2 Ultra. When you do a manual install and pick the relevant binary, it answers with "incompatible app" and exits. If there is any way to trouble shoot that ga...box, I would be happy to try it.
Thanks,
Woefull

from wdpksrc.

Perlets9 avatar Perlets9 commented on June 10, 2024

@stefaang @JediNite
this is the result on EX2Ultra, built with the latest master, it fails during installation

Screenshot 2020-11-29 at 10 19 52

i've tried with auto installation from wd web panel, build and install.sh, and manually via ssh

from wdpksrc.

Perlets9 avatar Perlets9 commented on June 10, 2024

Sorry i've tried again, with auto installation from wd web panel it works but build and install.sh not works..i think because it select the wrong bin file, not for the OS5 os

from wdpksrc.

woefull avatar woefull commented on June 10, 2024

from wdpksrc.

BabyYeggie avatar BabyYeggie commented on June 10, 2024

Is there an updated docker-compose for the EX4100? The regular 1.26.2 pops up with the following error: standard_init_linux.go:211: exec user process caused "exec format error"

aleksanderlech's docker-compose does not work and has the above error.

from wdpksrc.

PaoloP74 avatar PaoloP74 commented on June 10, 2024

In the last bin update_portainer.sh have a typo error !#/bin/sh istead of #!/bin/sh

from wdpksrc.

Myron-S avatar Myron-S commented on June 10, 2024

Ok. Looks like end-of-life NASs are getting the OS5 treatment too as of yesterday!

Version: 5.09.115
Release Date: January 19, 2021
Supported Devices: My Cloud PR2100, My Cloud PR4100, My Cloud EX2 Ultra, My Cloud EX4100, My Cloud Mirror Gen 2
Supported Devices (Limited Public Release): My Cloud EX2100, My Cloud DL2100, My Cloud DL4100, My Cloud (P/N: WDBCTLxxxxxx-10)

That are the critical and important considerations and preparations required before OS5 is applied that will not result in a hardbricked, softbricked or malfunctioning My Cloud EX2100, My Cloud DL2100, My Cloud DL4100 or My Cloud (P/N: WDBCTLxxxxxx-10)?

from wdpksrc.

sgomezsosa avatar sgomezsosa commented on June 10, 2024

Hi to all! This is my first time I try install an application into My Cloud PR2100. I've downloaded the docker source file that is posted earlier but when I extract and try to install the .bin file it says that it isn't compatible. Can anybody tell what I'm doing wrong or give any advice please? Thanks in advance.

from wdpksrc.

D-stefaang avatar D-stefaang commented on June 10, 2024

https://bintray.com/beta/#/tfl/wdpksrc?tab=packages

from wdpksrc.

akanoodles avatar akanoodles commented on June 10, 2024

@D-stefaang how do you run the 'portainer-ce' image instead of the 'portainer' image?

from wdpksrc.

caglaraydin avatar caglaraydin commented on June 10, 2024

Will there be any apps for My Cloud Gen2?

from wdpksrc.

Myron-S avatar Myron-S commented on June 10, 2024

Docker 19.03.8 for OS5
docker-19.03.8-OS5.zip

Works on PR4100. Looking for confirmation on other platforms.
Based on OS5 branch: https://github.com/WDCommunity/wdpksrc/tree/OS5

Works on a DL4100. :-)

from wdpksrc.

kueblert avatar kueblert commented on June 10, 2024

Hey there,
bintray seems to shut down and does not allow downloads without a paid account anymore.
I found the build artifacts for Docker. Are there also suck for syncthing or any cloud software (nextcloud,...)?

from wdpksrc.

Myron-S avatar Myron-S commented on June 10, 2024

He's already on it. See the announcement.

from wdpksrc.

sheel avatar sheel commented on June 10, 2024

Hello, I was able to download the .zip above and install on my PR4100, firmware 5.15.106.

However, when I go to configure, it's an empty page (:9000).

I ssh'd into the PR4100, and there is nothing listening on :9000 and no docker processes running.

netstat

root@illmatic docker # netstat -tulpn | grep 9000
root@illmatic docker #

docker ps

root@illmatic docker # docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
root@illmatic docker #

docker is running

root@illmatic docker # ls -l /var/run/docker.sock
srw-rw---- 1 root root 0 Aug 9 23:49 /var/run/docker.sock

I tried running the portainer command, and get a cgroup mount error

root@illmatic docker # docker run -d -p 9000:9000 --restart always -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/portainer:/data portainer/portainer
73b72f8dfd01384bde20af579e86d904367bb807ccee69ff777768f333eec0f3
docker: Error response from daemon: cgroups: cannot find cgroup mount destination: unknown.

docker info

root@illmatic docker # docker info
Client:
Debug Mode: false

Server:
Containers: 4
Running: 0
Paused: 0
Stopped: 4
Images: 1
Server Version: 19.03.8
Storage Driver: vfs
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 4.14.22
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 3.708GiB
Name: illmatic
ID: ZXDP:4LW5:ROQL:V4ZT:LZIJ:SYRC:JAVL:DBXP:SN4Q:QMS3:67GS:PUZS
Docker Root Dir: /mnt/HD/HD_a2/Nas_Prog/_docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Product License: Community Engine

WARNING: No memory limit support
WARNING: No swap limit support
WARNING: No kernel memory limit support
WARNING: No kernel memory TCP limit support
WARNING: No oom kill disable support
WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: No cpu shares support

docker version

root@illmatic cgroup # docker version
Client: Docker Engine - Community
Version: 19.03.8
API version: 1.40
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:22:56 2020
OS/Arch: linux/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.8
API version: 1.40 (minimum version 1.12)
Go version: go1.12.17
Git commit: afacb8b7f0
Built: Wed Mar 11 01:30:32 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683

from wdpksrc.

PaoloP74 avatar PaoloP74 commented on June 10, 2024

Hi all,
where can I find the latest OS5 Docker package for the EX2 Ultra?

from wdpksrc.

h3pdesign avatar h3pdesign commented on June 10, 2024

Me too Hi all,
where can I find the latest OS5 Docker package for the EX2 Ultra?

from wdpksrc.

ufcpride avatar ufcpride commented on June 10, 2024

HI, is there an updated Tautulli installer for OS5 for WDPR4100 at all please? I've installed Entware and Docker, but need the bin for Tautulli. The old respisitories seem to have gone. The links just keep taking me back to this page. TIA

from wdpksrc.

Kale-Tech avatar Kale-Tech commented on June 10, 2024

Me too Hi all, where can I find the latest OS5 Docker package for the EX2 Ultra?

HI, is there an updated Tautulli installer for OS5 for WDPR4100 at all please? I've installed Entware and Docker, but need the bin for Tautulli. The old respisitories seem to have gone. The links just keep taking me back to this page. TIA

https://drive.google.com/drive/folders/1ba3DmqBlLu8pG2WUYzgDZoVf5ot_pNv0?usp=sharing

from wdpksrc.

ufcpride avatar ufcpride commented on June 10, 2024

@Kale-Tech Thank you so much, that's excellent. I've managed to install it with no issues.

Thanks again,

from wdpksrc.

Myron-S avatar Myron-S commented on June 10, 2024

Thank-you Kale-Tech. 👍🏻

from wdpksrc.

stephanmax avatar stephanmax commented on June 10, 2024

COPS packages for OS5: https://bintray.com/beta/#/tfl/wdpksrc/COPS?tab=overview

@stefaang, sorry to bother you on this, but could you re-share the link to the OS5 package of COPS? The link above seems to go somewhere else now. Thanks in advance!

from wdpksrc.

qiancasper avatar qiancasper commented on June 10, 2024

sorry to bother you on this, but could you re-share the link to the OS5 package of COPS? The link above seems to go somewhere else now. Thanks in advance!

happy new year first, im running with os 5.18.117 with my dl2100 unable to finish the installation of WDMyCloudDL2100_docker_19.03.8 is there any alternatives to get docker install on my os5.18.117 device. cheers

from wdpksrc.

rongchun avatar rongchun commented on June 10, 2024

Hasn't the docker OS5 been updated? Cannot be used in firmware 5.20.113.

from wdpksrc.

Jazjo avatar Jazjo commented on June 10, 2024

Hello, on MyCloudEX2Ultra with FW 5.23.114 getting message - unable to finish the installation of MyCloudEX2Ultra_docker_20.10.14. Would it be please possible to update package for this FW? Many thanks in advance.

from wdpksrc.

LeHGlobeTrotter avatar LeHGlobeTrotter commented on June 10, 2024

@Kale-Tech @JediNite You both are awesome! I installed using the 19.03.8 bin file shared by @Kale-Tech then realized that @JediNite provided a newer version an upgraded after. Everything went smooth as silk.

from wdpksrc.

rcknr avatar rcknr commented on June 10, 2024

@technotiger Can you please share Entware package you've built?

Okay, it turns out building these is quite easy.
@stefaang @WD-stefaang But still how about making a release of Entware for OS5?

from wdpksrc.

technotiger avatar technotiger commented on June 10, 2024

@technotiger Can you please share Entware package you've built?

Okay, it turns out building these is quite easy. @stefaang @WD-stefaang But still how about making a release of Entware for OS5?

Glad you figured it out. It's been long since my post. I see that built packages for the single bay WdMyCloud have not yet been published. Well, building the packages yourself is better anyway (security wise).

from wdpksrc.

Related Issues (20)

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.