"Your data directory is not writable" after Ubuntu upgrade

alternatively you could connect local directories as described here:

now its clear you’re not using the snap, but the method is similar regardless of the installation method.