Antsle Forum

Welcome to our Antsle community! This forum is to connect all Antsle users to post experiences, make user-generated content available for the entire community and more. 

Please note: This forum is about discussing one specific issue at a time. No generalizations. No judgments. Please check the Forum Rules before posting. If you have specific questions about your Antsle and expect a response from our team directly, please continue to use the appropriate channels (email: [email protected]) so every inquiry is tracked. 

Please or Register to create posts and topics.

after running upgrade to 0.12, cannot access the GUI

Page 1 of 2Next

Able to SSH to the antsle, Antlets are up and running.  Cannot access GUI.

From CLI, running 'service antman status' or 'service anthill status' returns "Command not found: service".

How can i check or restart web services?

Trying GUI, gives me bad gateway error in the browser.  Any idea how i can get the GUI working again, and check on services?


I can no longer access my GUI, i am able to SSH to it, and also my antlets are running fine.

when i issue command service antman status, or other similar commands, i get 'command not found'.

How can i restart web services or try to check any service status from CLI?

I'm working on a presentation due next week and i really need to access GUI, i should not have messed with any updates this week, live and learn.  hope someone can help!!

version showing is: curl http://central.antsle.com/api/antman-info
{"version":"2.1.0c","edgeLinux-version":"2.1.0c","anthilld-version":"1.2.7","ear

 

it seems as if the command 'service' has been removed, so i'm unable to check status or do any commands like upgrade-anthill.

I'm not sure if i need to follow the rollback procedure (using USB iso), or if there is some easier fix for this problem.

I've been hesitant to mess around too much because i need my antlets that are running to stay up for now, dont want to make it worse.

On my antsle one xd (running edgelinux 0.12.1), my service command is in /sbin

What happens if you type:

ls -l /sbin/service

Do you see:

-rwxr-xr-x 1 root root 8768 May 21 08:35 /sbin/service

 

And what happens if you type:

echo $PATH

I have:

echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

 

its not there. i have done service antsle start/stop and upgrade from the CLI before so it used to work.

root@antsle:/sbin # service anthill status
zsh: command not found: service
root@antsle:/sbin # echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin

@ericblissmer-com, please try this workaround:

wget https://static-files.antsle.com:8443/edgeLinux/updates/service -c -N -P /sbin
chmod +x /sbin/service

its looking promising.  after that installed i went ahead and ran upgrade-antman, which seems to be running, however its been sitting at "migrating openRC scripts" for about an hour now.  Hope its not stuck, i'll wait it out and update here.

Seems like upgrade finished, and service command is back, which is nice.

However i'm still  unable to connect to the GUI, unfortunately.

All i get is 'Bad Gateway'.  nginx/1.14.2

-

after upgrade-antman finished (about 2hrs), system rebooted.

curl http://central.antsle.com/api/antman-info
{"version":"2.2.0b","edgeLinux-version":"2.2.0b","anthilld-version":"1.2.7","early-acces:1535525940000}#

root@SECLAND:~ # service antman status
* status: stopped
root@SECLAND:~ # service antman start
* Caching service dependencies ...
Error: modules-load is the name of a real and virtual service.
* Starting antman ...
root@SECLAND:~ # service antman status
* status: started

Hi @ericblissmer-com,

Try to access you antsle using its IP and port 3000 (i.e. http://192.168.1.2:3000)

If that works it means avahi is not working, or you are accessing it with a different hostname. You can set the hostname by running name-antsle myname, then you'd access like: http://myname.local

If that still doesn't work, try `service avahi-daemon restart` and try again.

Thanks for the tip, i've already tried port 3000, doesnt work still (connection refused).

I see by Nmap port 443 and others are all showing up.

the avahi-daemon service was running, tried restarting it but same thing.

Maybe something with either nginx, or else i could try to do the edgelinux rollback, but i'm still hanging on for hope before i go that route.

I did try running the update-edgelinux command again, but now get this error:

root@antsle:/ # upgrade-edgelinux

python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4 --2019-10-29 22:39:07-- http://central.antsle.com/edgeLinux-releases/0.12.1/elupd-0.12.1 Resolving central.antsle.com... 147.75.49.34 Connecting to central.antsle.com|147.75.49.34|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 7136 (7.0K) [application/octet-stream] Saving to: ‘elupd-0.12.1’ elupd-0.12.1 100%[===================>] 6.97K --.-KB/s in 0s 2019-10-29 22:39:07 (300 MB/s) - ‘elupd-0.12.1’ saved [7136/7136] cat: /etc/edgeLinux/version: No such file or directory [ ok ]

 

Hopefully i'll hear something from Antsle support soon, they are usually good at replying, but its been almost a week since i've emailed them now.  I wish they provided more documentation for CLI commands and issues like this on their docs site but its mostly basic stuff there.

@ericblissmer-com... @mardo is an engineer at Antsle. 😉 We've been slammed with support recently so have only been able to get back in a timely fashion to those with support agreements, but we are as a team working to keep the help coming.

Page 1 of 2Next