Firefox and App center stopped working on Ubuntu 23.10

This line makes me think that perhaps your state.json is corrupt.

Feb 18 11:13:56 pedroPC-A320MH snapd[1005]: cannot run daemon: cannot read state: invalid character '#' looking for beginning of value

In theory you should be able to sudo rm /var/lib/snapd/state.json and snapd should re-create it. But wait for another expert to confirm that.

1 Like