Debug deployments on your evernode node

This is the place to discuss your developments on Evernode
Post Reply
wroomwroom
Posts: 38
Joined: Wed Jul 31, 2024 5:59 pm

Debug deployments on your evernode node

Post by wroomwroom »

You can debug deployments on your own evernode node by doing following:

Log into your node (ssh)

#1:
Write sudo evernode list to get a list of your tenants.

#2:
After that, write sudo -H -u <user> bash to log in as a tenant (remember to take the username from the list)

#3:
write docker logs <instance name> (you get the name of the instance from the sudo sashi list command aswell)
wroomwroom
Posts: 38
Joined: Wed Jul 31, 2024 5:59 pm

Re: Debug deployments on your evernode node

Post by wroomwroom »

On Everpanel instances (with --sec--none)

use
docker service logs $(docker service ls -q)

instead of docker logs <instance name>



docker ps will hsow u the container id


docker exec containerid commands (e.g. ls) works


docker restart <contrainer>


good trick, do this:
lol="docker exec <containerid>"

then just write $lol ls for example to list files
Post Reply