Skip to content

Instantly share code, notes, and snippets.

@relaxdiego
Created December 6, 2019 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save relaxdiego/68393ebb04fc06038cc1761d5f615d35 to your computer and use it in GitHub Desktop.
Save relaxdiego/68393ebb04fc06038cc1761d5f615d35 to your computer and use it in GitHub Desktop.
mmaglana@localhost:~$ sudo -i
root@localhost:~# cd /var/snap/domotzpro-agent-publicstore/common/log
root@localhost:/var/snap/domotzpro-agent-publicstore/common/log# ls -al
total 8
drwxr-xr-x 2 root root 4096 Dec 5 02:59 .
drwxr-xr-x 5 root root 4096 Dec 5 02:59 ..
root@localhost:/var/snap/domotzpro-agent-publicstore/common/log# systemctl | grep domotz
run-snapd-ns-domotzpro\x2dagent\x2dpublicstore.mnt.mount loaded active mounted /run/snapd/ns/domotzpro-agent-publicstore.mnt
snap-domotzpro\x2dagent\x2dpublicstore-52.mount loaded active mounted Mount unit for domotzpro-agent-publicstore, revision 52
writable-system\x2ddata-snap-domotzpro\x2dagent\x2dpublicstore-52.mount loaded active mounted /writable/system-data/snap/domotzpro-agent-publicstore/52
snap.domotzpro-agent-publicstore.domotzpro-agent-publicstore.service loaded active running Service for snap application domotzpro-agent-publicstore.domotzpro-agent-publicstore
root@localhost:/var/snap/domotzpro-agent-publicstore/common/log# systemctl status snap.domotzpro-agent-publicstore.domotzpro-agent-publicstore.service
● snap.domotzpro-agent-publicstore.domotzpro-agent-publicstore.service - Service for snap application domotzpro-agent-publicstore.domotzpro-agent-publicstore
Loaded: loaded (/etc/systemd/system/snap.domotzpro-agent-publicstore.domotzpro-agent-publicstore.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2019-12-05 02:59:05 UTC; 1 day 2h ago
Main PID: 1200 (domotz_node)
Tasks: 10 (limit: 1588)
CGroup: /system.slice/snap.domotzpro-agent-publicstore.domotzpro-agent-publicstore.service
└─1200 domotz_node /snap/domotzpro-agent-publicstore/52/bin/domotz_listener -e /var/snap/domotzpro-agent-publicstore/common/domotz_override.env
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at tryModuleLoad (module.js:446:12)
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at Function.Module._load (module.js:438:3)
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at Module.runMain (module.js:604:10)
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at run (bootstrap_node.js:394:7)
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at startup (bootstrap_node.js:149:9)
Dec 05 02:59:15 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: at bootstrap_node.js:509:3
Dec 05 02:59:16 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: FILE - (/var/snap/domotzpro-agent-publicstore/common/etc/domotz.json): Failure in reading --
Dec 05 02:59:16 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: INIT - Initializing Log
Dec 05 02:59:16 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: LOG - Initialize log DOMOTZ. Options: {}
Dec 05 02:59:16 localhost domotzpro-agent-publicstore.domotzpro-agent-publicstore[1200]: Log level named "log" will clash with the method "log". Consider using a different name.
root@localhost:/var/snap/domotzpro-agent-publicstore/common/log# snap connections
Interface Plug Slot Notes
network domotzpro-agent-publicstore:network :network -
network-bind domotzpro-agent-publicstore:network-bind :network-bind -
network-control domotzpro-agent-publicstore:network-control :network-control -
network-setup-control domotzpro-agent-publicstore:network-setup-control :network-setup-control -
network-setup-observe domotzpro-agent-publicstore:network-setup-observe :network-setup-observe -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment