ERROR: Required directory /var/lib/solace is not writable by current user
ERROR: Required directory /var/lib/solace is not writable by current user
ERROR: Unable to create required directory /var/lib/solace/diagnostics: [Errno 13] Permission denied: ‘/var/lib/solace/diagnostics’
ERROR: Required directory /var/lib/solace/diagnostics does not exist
ERROR: Unable to create required directory /var/lib/solace/spool: [Errno 13] Permission denied: ‘/var/lib/solace/spool’
If you’re just getting started with the container and trying to test things out then you shouldn’t need to externally mount the storage. Just use the command for your OS here:
But if you do need to mount the storage as you are then I got this response from our chat with docs AI bot , it’s pretty smart! Hope it helps
But yeah, don’t worry about mounting the storage! Especially for first time, just a test/demo broker. This is really only useful when doing upgrades, to make sure your configuration carries on. But if you really want, as the AI chat said above, you have to set the owner of the directory.