[myHD 2.1 update] add on or replacement for Asportal

myHD is an isolated (namespace (mnt, IPC, PID)) Ubuntu environment to run Ubuntu application displayed as ASUSTOR Asportal / Xorg applications.

Moderator: Lillian.W@AST

Post Reply
User avatar
father.mande
Posts: 1808
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by father.mande »

Hi,

PLEASE Update if you have already installed any myHD v 2.0.x (solve bugs (ex. return to Asportal after switching to Idesk) etc.)

the file myHD_upd_2.0.3_x86-64.apk is for update from any myHD 2.0.x (short and lite)
the file myHD_2.0.3_x86-64.apk is for FRESH install or update from myHD 1.x

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Geo
Posts: 20
Joined: Wed Feb 21, 2018 9:22 pm

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by Geo »

Hello ,

After updating to ADM4, I installed myHD_2.0.3_x86-64.apk on the previous myHD_1.0.2_x86-64.apk.
Then in terminal myHD switch_ubuntu_env 2004 command => it told me that myHD was not run and that there was nothing to do!!

again myHD switch_ubuntu_env 2004 => "Hum NOTHING to DO ... already using 2004".

I check by myHD status =>
=== is myHD running ?
==== myHD is NOT running
myHD is not yet installed ...
DISPLAY LOG of Download then Install Ubuntu ... up to ==== END with FAILED or SUCCESS
/usr/local/bin/myHD: line 2191: can't open /tmp/download_myHD.log: no such file

IN CASE OF FAILURE ... start AGAIN : myHD to restart download and install
re-use status to display more LOG if not finished

did I miss a step?
knowing that for the moment I would like to keep ASportal.

Thanks for you Help
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by father.mande »

Hi,

Please, can you post /tmp/start_myHD.log here

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Geo
Posts: 20
Joined: Wed Feb 21, 2018 9:22 pm

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by Geo »

father.mande wrote:Hi,

Please, can you post /tmp/start_myHD.log here

Philippe.
Hi
start_myHD.log:
Run only after boot / reboot / update of myHD
Load module squashfs using modprobe for 5.4.x
modprobe: 'videobuf2-common.ko': unknown symbol in module or invalid parameter
modprobe: 'videobuf2-v4l2.ko': unknown symbol in module or invalid parameter
modprobe: 'uvcvideo.ko': unknown symbol in module or invalid parameter
Load module uvcvideo using modprobe for 5.4.x
myHD don't run no more with systemd or with bash

thanks
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by father.mande »

Hi,

Hum! I think I have do an error :cry: when I load version ...
This problem is linked to testing version between 2.0.2 and 2.0.3 and contains an error (exit 1 as response if myHD already run ... )

I am so sorry, please can you do :
stop myHD (but it's done in your case) : myHD stop
1 get the file (myHD_sh.tgz) here attached and put them in /share/Public/ for ex.
2 save actual myHD.sh (in case ... )
mv /usr/local/AppCentral/myHD/myHD.sh /usr/local/AppCentral/myHD/myHD.sh.prev
3 un-tar the file provide (to put a new version of myHD.sh BUT know that it's an intermediate version between 2.0.3 and 2.0.4 targeting case without asportal APKG)
tar xzf /share/Public/myHD_sh.tgz -C /usr/local/AppCentral/myHD/
then restart myHD : myHD start

Again ... excuse me for the error.
This delivery is intermediate, because I am in travel and not in my lab. but tested (I hope ... after you post ... I am anxious :oops: )
myHD_sh.tgz
replace myHD.sh for solving bugs.
(22.51 KiB) Downloaded 161 times
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Geo
Posts: 20
Joined: Wed Feb 21, 2018 9:22 pm

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by Geo »

father.mande wrote:Hi,

Hum! I think I have do an error :cry: when I load version ...
This problem is linked to testing version between 2.0.2 and 2.0.3 and contains an error (exit 1 as response if myHD already run ... )

I am so sorry, please can you do :
stop myHD (but it's done in your case) : myHD stop
1 get the file (myHD_sh.tgz) here attached and put them in /share/Public/ for ex.
2 save actual myHD.sh (in case ... )
mv /usr/local/AppCentral/myHD/myHD.sh /usr/local/AppCentral/myHD/myHD.sh.prev
3 un-tar the file provide (to put a new version of myHD.sh BUT know that it's an intermediate version between 2.0.3 and 2.0.4 targeting case without asportal APKG)
tar xzf /share/Public/myHD_sh.tgz -C /usr/local/AppCentral/myHD/
then restart myHD : myHD start

Again ... excuse me for the error.
This delivery is intermediate, because I am in travel and not in my lab. but tested (I hope ... after you post ... I am anxious :oops: )
myHD_sh.tgz
Philippe.
Hi,

don't be sorry, your work is great.
unfortunately, that doesn't work.
Here is what I get:

root@NAS:/volume1/.@root # myHD stop
==== Normal stop require
myHD don't run ??? so nothing to do ...
root@NAS:/volume1/.@root # mv /usr/local/AppCentral/myHD/myHD.sh /usr/local/AppCentral/myHD/myHD.sh.prev
root@NAS:/volume1/.@root # tar xzf /share/Public/myHD_sh.tgz -C /usr/local/AppCentral/myHD/
root@NAS:/volume1/.@root # myHD start
NO myHD don't run no more with systemd or with bash
ENABLE ... asportal is Enable
myHD start ... requested Sat Jan 15 09:07:37 CET 2022
get keys from Asportal / get sound def.
Hum! strange PLEASE VERIFY
==== Check installation method
HUM! nothing in /usr/local/.myHD for version 2004

thanks
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by father.mande »

Hi,

Seems that (my stupid) error have stopped the install of Ubuntu 2004 ...
can you do :
ls -ali /usr/local/.myHD
AND
ls -ali /usr/local/AppCentral/myHD/Delivery

Please post result here, if Delivery is always contains new version, I will send to you 2 simple commands to re-install or install Ubuntu 2004 next myHD start.

Sorry for the inconvenience.
Philippe.
N.B. I have one NAS for dev and usage and another one accessible but in production, The two are under A.D.M. 4 and it's sometimes a problem to test a maximum of situation ... again, so sorry
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Geo
Posts: 20
Joined: Wed Feb 21, 2018 9:22 pm

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by Geo »

father.mande wrote:Hi,

Seems that (my stupid) error have stopped the install of Ubuntu 2004 ...
can you do :
ls -ali /usr/local/.myHD
AND
ls -ali /usr/local/AppCentral/myHD/Delivery

Please post result here, if Delivery is always contains new version, I will send to you 2 simple commands to re-install or install Ubuntu 2004 next myHD start.

Sorry for the inconvenience.
Philippe.
N.B. I have one NAS for dev and usage and another one accessible but in production, The two are under A.D.M. 4 and it's sometimes a problem to test a maximum of situation ... again, so sorry
Hi,

=====================
root@NAS:/volume1/.@root # ls -ali /usr/local/.myHD
total 28
119406984 drwsrwsrwt 5 root root 4096 Jan 15 09:09 ./
108396545 drwxr-xr-x 13 root root 4096 Jan 14 12:34 ../
119407104 drwxr-xr-x 24 root root 4096 Jan 13 16:06 1804/
119407035 drwxr-xr-x 4 admin root 4096 Dec 12 2018 myHD_1804_home/
119406986 drwxr-xr-x 7 root root 4096 Apr 10 2019 myHD_1804_scripts/
119406596 -rwxr-xr-x 1 admin root 1200 May 25 2019 uninstall_apkg.sh*
119406595 -rwxr-xr-x 1 admin root 2326 Jun 30 2019 uninstall_environment.sh*

root@NAS:/volume1/.@root # ls -ali /usr/local/AppCentral/myHD/Delivery
total 1005204
172622083 drwxr-xr-x 2 root root 4096 Jan 1 18:39 ./
166135100 drwxrwxrwx 13 root root 4096 Jan 15 15:30 ../
172622084 -rw-r--r-- 1 root root 0 Jun 18 2021 .inside_first_install
172622085 -rw-r--r-- 1 root root 500347 Apr 17 2021 myHD_2004_delivery_scripts.tgz
172622086 -rw-r--r-- 1 root root 1028809203 Dec 29 18:58 myHD_delivery_2004.tgz
root@NAS:/volume1/.@root #
=====================
User avatar
father.mande
Posts: 1808
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by father.mande »

Hi Geo,

What you can do (try but hope it works) :
IN a ssh terminal connected as root / your_admin_password (please use root no admin)
stop myHD (even it's already done) : myHD stop
... do some verification
/usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD UVER
... result must be 2004 if not set this value : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD UVER 2004
/usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION
... result must be 2004 if not set this value : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD APKG_UBUNTU_VERSION 2004
... ... and to be sure : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION 2004 (normally not used but I have not checked all scripts ... sorry)
... NOW inform myHD that Ubuntu 2004 is not installed
/usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD_2004.conf 2004 INSTALLED FALSE
start myHD : myHD start

... F.Y.I. after some time (extract archive for 2004) myHD restart itself ... just wait

Philippe.
NB please return result, thanks
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Geo
Posts: 20
Joined: Wed Feb 21, 2018 9:22 pm

Re: [myHD 2.0.3] add on or replacement for Asportal

Post by Geo »

father.mande wrote:Hi Geo,

What you can do (try but hope it works) :
IN a ssh terminal connected as root / your_admin_password (please use root no admin)
stop myHD (even it's already done) : myHD stop
... do some verification
/usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD UVER
... result must be 2004 if not set this value : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD UVER 2004
/usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION
... result must be 2004 if not set this value : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD APKG_UBUNTU_VERSION 2004
... ... and to be sure : /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION 2004 (normally not used but I have not checked all scripts ... sorry)
... NOW inform myHD that Ubuntu 2004 is not installed
/usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD_2004.conf 2004 INSTALLED FALSE
start myHD : myHD start

... F.Y.I. after some time (extract archive for 2004) myHD restart itself ... just wait

Philippe.
NB please return result, thanks
it doesn't seem to work:

root@NAS:/volume1/.@root # myHD stop
==== Normal stop require
myHD don't run ??? so nothing to do ...
root@NAS:/volume1/.@root # /usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD UVER
2004
root@NAS:/volume1/.@root # /usr/bin/confutil -get /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION
1804
root@NAS:/volume1/.@root # /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD APKG_UBUNTU_VERSION 2004
root@NAS:/volume1/.@root # /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD.conf myHD QPKG_UBUNTU_VERSION 2004
root@NAS:/volume1/.@root # /usr/bin/confutil -set /usr/local/AppCentral/myHD/myHD_2004.conf 2004 INSTALLED FALSE
root@NAS:/volume1/.@root # myHD start
NO myHD don't run no more with systemd or with bash
ENABLE ... asportal is Enable
myHD start ... requested Sat Jan 15 20:22:28 CET 2022
get keys from Asportal / get sound def.
Hum! strange PLEASE VERIFY
==== Check installation method
HUM! nothing in /usr/local/.myHD for version 2004
root@NAS:/volume1/.@root #
Post Reply

Return to “myHD”