Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packages to WD app browser #18

Open
stefaang opened this issue Sep 11, 2018 · 4 comments
Open

Add packages to WD app browser #18

stefaang opened this issue Sep 11, 2018 · 4 comments

Comments

@stefaang
Copy link
Member

Add an 'appstore' hook into the WD web UI to fetch the latest packages.

@stefaang
Copy link
Member Author

@stefaang
Copy link
Member Author

Chattr doesn't work on tmpfs, you need to bind-mount an ext4 volume first.
See hashashin/mycloudapps#1

@JediNite
Copy link
Collaborator

JediNite commented Oct 3, 2019

stefaang,

I just read your comment in hashashin/mycloudapps#1. I just checked on the EX4100 and found the following :

root@WDMyCloudEX4100 xml # pwd
/var/www/xml
root@WDMyCloudEX4100 xml # df -k .
Filesystem           1K-blocks      Used Available Use% Mounted on
%root%                   55529     32372     20290  61% /
root@WDMyCloudEX4100 xml # mount | grep root
%root% on / type unknown (rw)
root@WDMyCloudEX4100 xml # touch blah
root@WDMyCloudEX4100 xml # ls -al blah
-rw-r--r--    1 root     root             0 Oct  4 08:48 blah

Not sure if that helps you to work out why this might work with no issues on ARM.

Cheers,

JediNite

@stefaang
Copy link
Member Author

Some extra info.

root@MyCloudEX2Ultra home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudEX2Ultra home # cat /proc/mounts | grep root
rootfs / rootfs rw 0 0
/dev/root / ext2 rw,relatime,errors=continue 0 0
root@MyCloudEX2Ultra home # cat /etc/fstab | grep ram
/dev/ram0 	/		ext2    defaults	1	1
root@MyCloudEX2Ultra home # /opt/bin/lsattr /var/www/xml/app_info.xml 
------------------- /var/www/xml/apkg_all.xml

root@MyCloudPR4100 home # /bin/mount | /bin/grep root
%root% on / type unknown (rw)
root@MyCloudPR4100 home # cat /proc/mounts | grep root
rootfs / rootfs rw,relatime 0 0
root@MyCloudPR4100 home # /opt/bin/lsattr /var/www/xml/app_info.xml 
lsattr: Inappropriate ioctl for device While reading flags on /var/www/xml/app_info.xml

Searching for answers..
https://unix.stackexchange.com/questions/295060/why-on-some-linux-systems-does-the-root-filesystem-appear-as-dev-root-instead
https://www.linuxquestions.org/questions/slackware-14/slackware-current-dev-root-688189/page2.html

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

No branches or pull requests

2 participants