[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: 1810
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,
AMGIKT wrote:I am trying to connect using Asportal.
Device AS5202T.
For the first time after installation, at screen Dedian.
I entered with password admin/admin.
After shutdown, I can not enter.
I myHD astr user
myHD NEVER use a Debian like connection screen (as Linux Center) myHD don't have a X session manager, did you have Linux Center ? ... a ticket have been open under ADM 4.0 update about this strange behavior Debian login in place of Asportal
this is generally due to an error in Xorg that don't start correctly, then Asportal crash also ... so Linux Center login (HDMI can be get by Linux Center)

verify that Xorg run as well and xrandr display a correct information. and put linux-center disable to test (perhaps a reboot is require)
for Xorg do a : ps -eaf | grep X
for xrandr do : /usr/local/AppCentral/myHD/bin/xrandr
this script load Xorg environment then start xrandr in this Xorg env.

Problem when screen is not connected at boot ... can be resolved by changing xorg.conf based on Clinton.Hall post ...
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,

I can confirm (also the ticket open) that Linux Center get HDMI screen if Asportal is not up ... so kill possibility to myHD to use (I think L.C. (LXC) attach it inside it's own namespace and change access right) (even myHD is running).

Disabling Linux Center (deactivate Debian loaded then disable it in Admin webui ... then reboot (unfortunately Linux Center don't free resources (HDMI) so renoot is needed.
solve the problem ... so myHD and Asportal can works again and provide correct screen for user.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
jcandless
Posts: 3
Joined: Mon Dec 06, 2021 7:27 am

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by jcandless »

Bonjour Philippe!

Desperately hoping to try myHD butm, like a previous user, am being asked by myHD just after installing the APK for username and password. Nothing that has been mentioned earlier appears to work. Do you have any advice for novice users relatively unfamiliar with ssh?
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,
jcandless wrote:Bonjour Philippe!
Desperately hoping to try myHD butm, like a previous user, am being asked by myHD just after installing the APK for username and password. Nothing that has been mentioned earlier appears to work. Do you have any advice for novice users relatively unfamiliar with ssh?
myHD don't require login (for now) but Linux Center (when X is up and Asportal disabled) ask for them EVEN HDMI not checked (a ticket is open)
... I will try to have a workaround

FOR THE MOMENT, you need to deactivate Linux Center (desktop) or disabling it.
AND unfortunatly Linux center don't free the resource, so you need a restart of myHD (or seems on some series a reboot)

I have developed without Linux Center ... so I don't see this before and L.C. is closed(source) , so I don't know why it do this.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
mudplug
Posts: 15
Joined: Mon Sep 26, 2016 1:29 pm

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by mudplug »

Hi Phillippe

My log from previous post
2021-12-14 00_27_28-Shell In A Box.png
2021-12-14 00_27_28-Shell In A Box.png (10.81 KiB) Viewed 6434 times
Thanks
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,

Message "HUM! ... " it's only a warning, because .myHD exist but 2004 not ??? perhaps a problem linked to update (did you use previous myHD 1.x ?).

... please can you try to rename /usr/local/.myHD with any name like /usr/local/.myHD.prev
... and run again myHD

How :
open ssh terminal as root / your_admin_password (not admin)
do :
mv /usr/local/.myHD /usr/local/.myHD.prev
then
myHD start ... after myHD stop until 2004 is installed and restart itself

If you want to get back your settings ... do :
myHD_stop
cp -pPR /usr/local/.myHD.prev/myHD_home /usr/local/.myHD/
OR if /usr/local/.myHD.prev/myHD_home not exist (I don't remember when I change name) do
cp -pPR /usr/local/.myHD.prev/myHD_1804_home /usr/local/.myHD/

Philippe.
NB I don't understand this case except if you remove myHD 1.x before install new myHD 2.0 ... by build ... previous version architecture Ubuntu IS NOT empty so new install failed. I will check (even more long, due to the fact that al (2) x86_64 are updated ...
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
mudplug
Posts: 15
Joined: Mon Sep 26, 2016 1:29 pm

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by mudplug »

OK managed to get the webui interface up but now cant run
2021-12-14 13_12_22-My_APKG_Mgr.png
2021-12-14 13_12_22-My_APKG_Mgr.png (36.46 KiB) Viewed 6411 times
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,

cat you post here the content of /tmp/start_myHD.log

and try in a terminal connected as root / your_admin_password
myHD_root "ps -eaf"

The problem is that myHD 2.x must start using jinit mode (systemd) in place of bash mode ... so I am very surprise to see the message : Start jchroot (bash) env. ???

Thanks to help me debugging Beta ... I have focus on systemd management not on old (relative) bash mode for upgrade only .

you can force (if you have myHD 2.x) to force jinit : myHD set_use_jinit

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
mudplug
Posts: 15
Joined: Mon Sep 26, 2016 1:29 pm

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by mudplug »

No worries
2021-12-14 23_01_28-Shell In A Box.png
2021-12-14 23_01_28-Shell In A Box.png (138.36 KiB) Viewed 6392 times
User avatar
father.mande
Posts: 1810
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [myHD 2.0 BETA] add on or replacement for Asportal

Post by father.mande »

Hi,

Seems that they are inconsistency in the installation ... so
first try : (always in terminal with root / your_admin_password)
rm -f /tmp/start_myHD.log
myHD restart_rebuilt

... and post result.

... if this solution is not enough ... unfortunately I have to ask you to re-install myHD (disable myHD; remove from AppCentral, verify that folder do not exist anymore (/usr/local/AppCentral/myHD, verify that folder exist in /usr/local/.myHD ... named 2004, myHD_scripts, myHD_home , if not remove .myHD folder ... then reinstall myHD 2.x

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “myHD”