Hello from Germany,
I followed the instuctions from:
At enterprise-store register --https
I run into an error
error: 'Backend' object has not attribute 'generate_rsa_private_key'
My server is running with Ubuntu Jammy.
enterprise-store status reports
Store URL: http://my.url.local
Store DB: ok
Store ID: not registered
Internal Service Status:
memcached: running
nginx: not running : 404 Client Error: Not Found for url ...
snapauth: running
snapdevicegw:running
snapdeviepw--local:running
snapproxy: running
snaprevs: running
Any tips?
Thanks
Hi!
You have at least an error starting nginx. It would be worthwhile to deal with this problem first.
Where is nginx configured in enterprise store?
/etc/nginx/sites-available not found …
Is there a requirement list for enterprise-proxy?
- Port 80 nginx
- Storage requirements for air gapped mode ( firefox, chromium and some other )
- …
Thank you
Hello!
I’m experiencing the exact same issue: error: 'Backend' object has no attribute 'generate_rsa_private_key'
when running enterprise-store register
both with and without --https
. I’ve also followed the how-to guide as mentioned in the original post.
I’m running the latest version of Ubuntu Jammy, Enterprise-store and PostgreSQL.
Everything seems to be up and running correctly, as well as all connections are OK:
enterprise-store status output:
Store DB: ok
Store ID: not registered
Internal Service Status:
memcached: running
nginx: running
snapauth: running
snapdevicegw: running
snapdevicegw-local: running
snapproxy: running
snaprevs: running
enterprise-store check-connections output:
http: https://dashboard.snapcraft.io: OK
http: https://login.ubuntu.com: OK
http: https://api.snapcraft.io: OK
Running the register command, there are no errors output in the log, so it’s not too much to go on. Below is everything output when the registration is run:
systemd: Started snap.enterprise-store.(...).scope.
snapstore.cli: command register run by user root
systemd: snap.enterprise-store.(...).scope: Deactivated successfully.
Thanks in advance for any ideas!
/var/snap/enterprise-store/current/nginx