problem with myHD 0.9.4

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
Darkmagister
Posts: 48
youtube meble na wymiar Warszawa
Joined: Sat Oct 27, 2018 4:36 pm

problem with myHD 0.9.4

Post by Darkmagister »

hello i've installed myHD from manual installation on appcentral, after downloading ubuntu i tried the myHD status and i get:
myHD status
==== is myHD running ?
==== myHD is running
==== myHD Version 0.9.4
====
==== Ubuntu Version in use : 1804
====
cat: can't open '/tmp/myHD.pid': No such file or directory
==== PID is
====
==== List of tasks running in myHD
==== ==== PID are internal to myHD not as in A.D.M.
==== ==== user name are internal to myHD not as in A.D.M.
cat: can't open '/usr/local/AppCentral/myHD/myHD_temp/ps.out': No such file or directory
====
==== List of user know by myHD
LIST of user in myHD :
root (NOT Asustor root user but real root myHD user)
admin
astr (it's Asustor root user MAPPED as astr user in myHD)
End of the list
====
==== port used by myHD internal dropbear server
Internal Listen interface and port used :
DROPBEAR_PORT=6222
====
==== List shared ressources defined in myHD
cat: can't open '/usr/local/AppCentral/myHD/myHD_temp/mount.out': No such file or directory
====
i get same strange no such file or directory ... but it say running, but if i try the myHD_root command i get
myHD_root
Hum! seems that myHD is not started
maybe something was not installed correctly ? how can i completly clean and try again? or where can i find some info on why is doing this ?

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

Re: problem with myHD 0.9.4

Post by father.mande »

Hi,

Please, can you put here :
cat /tmp/start_myHD.log

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Darkmagister
Posts: 48
Joined: Sat Oct 27, 2018 4:36 pm

Re: problem with myHD 0.9.4

Post by Darkmagister »

cat /tmp/start_myHD.log
myHD start ... requested
get keys from Asportal / get sound def.
myHD astr user exist ...
Download Ubuntu if not yet available
Hum! myHD is already started
AS6404T
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: problem with myHD 0.9.4

Post by father.mande »

Hi,

Please can you do :
myHD stop
wait some seconds
myHD status (verify that myHD is NOT started) seem that myHD is started but faill for any reason
do
myHD start
then wait some seconds
cat /tmp/start_myHD.log

NB please confirm your model and series.
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Darkmagister
Posts: 48
Joined: Sat Oct 27, 2018 4:36 pm

Re: problem with myHD 0.9.4

Post by Darkmagister »

myHD stop
myHD don't run ??? so nothing to do ...
root@NAS:/volume1/.@root # myHD status
==== is myHD running ?
==== myHD is running
==== myHD Version 0.9.4
====
==== Ubuntu Version in use : 1804
====
cat: can't open '/tmp/myHD.pid': No such file or directory
==== PID is
====
==== List of tasks running in myHD
==== ==== PID are internal to myHD not as in A.D.M.
==== ==== user name are internal to myHD not as in A.D.M.
cat: can't open '/usr/local/AppCentral/myHD/myHD_temp/ps.out': No such file or directory
====
==== List of user know by myHD
LIST of user in myHD :
root (NOT Asustor root user but real root myHD user)
admin
astr (it's Asustor root user MAPPED as astr user in myHD)
End of the list
====
==== port used by myHD internal dropbear server
Internal Listen interface and port used :
DROPBEAR_PORT=6222
====
==== List shared ressources defined in myHD
cat: can't open '/usr/local/AppCentral/myHD/myHD_temp/mount.out': No such file or directory
====
i've done stop, and it's say nothing running but status give running status
after few minutes also

as6404 with adm 3.3.2

also doing:
ps axf | grep myHD
10569 pts/1 S+ 0:00 \_ grep myHD
6935 ? Ss 0:00 /usr/local/AppCentral/myHD/bin/tmux new-session -d -s myHD
6956 pts/3 S 0:00 \_ /usr/local/AppCentral/myHD/bin/jchroot -p /tmp/myHD.pid -u 0 -g 0 -f /usr/local/AppCentral/myHD/fstab_myHD /usr/local/.myHD/1804 -- /bin/bash
Last edited by Darkmagister on Mon Jul 22, 2019 11:23 pm, edited 1 time in total.
AS6404T
Darkmagister
Posts: 48
Joined: Sat Oct 27, 2018 4:36 pm

Re: problem with myHD 0.9.4

Post by Darkmagister »

kill 6935
root@NAS:/volume1/.@root # ps axf | grep myHD
23393 pts/1 S+ 0:00 \_ grep myHD
root@NAS:/volume1/.@root # myHD stop
myHD don't run ??? so nothing to do ...
root@NAS:/volume1/.@root # myHD status
==== is myHD running ?
==== myHD is NOT running
====
root@NAS:/volume1/.@root # myHD start
myHD start ... requested
get keys from Asportal / get sound def.
ln: /root/.ssh/id_rsa: File exists
ln: /root/.ssh/id_rsa.pub: File exists
myHD astr user exist ...
Download Ubuntu if not yet available
Now start jchroot in background
now start in background a survey to manage a clean exit
time to do extra works in myHD
set keys and files for user admin
set keys and files for user astr
create or verify authorized_keys for ADM root user
keys for myHD root user is already installed
Background interface to solve some launch problems (like AppImage)
Start background interface for user admin
Start background interface for user astr
Init alsa
root@NAS:/volume1/.@root # cat /tmp/start_myHD.log
myHD start ... requested
get keys from Asportal / get sound def.
myHD astr user exist ...
Download Ubuntu if not yet available
Hum! myHD is already started
after doing this seems to work, as i can connect to the ubuntu with myHD_root command, now i have to check if i can install kodi 18 :D i don't know whats happend before
AS6404T
User avatar
father.mande
Posts: 1809
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: problem with myHD 0.9.4

Post by father.mande »

Hi,

It's some mystery of computing :mrgreen: ... no idea I suppose a race condition that don't start myHD correctly
I don't know how redo this problem ... so ???

Kodi18 is already installed (as an Ubuntu package) ... to be sure to have last version (and update of correspondent libraries) do
myHD apt_upgrade_package
... this start update & upgrade of Ubuntu and restart myHD at end if requested by low level update of Ubuntu

in parallel you can install MH-kodi18
... it's "only" a launcher for Asportal to add an icon in Asportal and permit you to start Kodi18
... after test and configure (audio use HDMI device with your screen name attached (if it send correct EDID))

Philippe.
NB if you have problem, please check "Tips & Tricks and FAQ" post in myHD sub-forum.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “myHD”