Troubleshooting

To check egress firewall rules:

enterprise-store check-connections

Logs are available in systemd logs:

snap logs enterprise-store

or:

journalctl -u 'snap.enterprise-store.*'

The enterprise-store snap includes multiple systemd services, the status of which can be checked with:

enterprise-store status

Or:

sudo systemctl status -a 'snap.enterprise-store.*'

To restart the enterprise-store services, run:

sudo snap restart enterprise-store

The download cache is at /var/snap/enterprise-store/current/nginx/cache. The default limit is 2GB, this can be changed with:

sudo enterprise-store config proxy.cache.size=4096  # in mb

Moving to a new hostname

If you need to move the enterprise-store to a new hostname, you can do:

sudo enterprise-store config proxy.domain=NEWDOMAIN
sudo enterprise-store reregister

This perform another registration cycle and update the assertion file with the new domain name. Then you will need to run snap ack on the client devices to replace the existing assertion.

Documentation

This documentation is shipped with the snap, and available at:

http://MY-PROXY/docs/

Bug reporting

Please file bugs against this project on Launchpad

Known issues

  1. The snap download command doesn’t do the download of the snap through snapd service, and therefore doesn’t know about the Enterprise Store and will try to fetch the snap directly. Forum thread

  2. Need to be root when configuring the snap proxy. Forum thread