I’ve been using ActivityWatch for a few months now. Starting two weeks ago, the app became unresponsive, meaning I can’t open it anymore. I tried to reinstall it several times, as admin, in compatibility mode and a few other options with no luck.
When the message “aw-server quit unexpectedly” shows, please press “show more” and share the info in that message. Otherwise the only thing we know is that it doesn’t start rather than why it can’t start.
The last log message means that some instance of aw-server is already running and it can’t be started twice. Maybe a restart of the computer will fix it?
Also, the category settings are saved in the browser so they will not be lost. Also, the database is saved elsewhere in your users home folder so uninstalling ActivityWatch will not remove those.
Ok, I used ss -tulwn and ss -tulw and the result is an esmmanager something which I have no idea what it is.
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
tcp LISTEN 0 50 *:esmmanager *:*
Is it something relevant to ActivityWatch? If not, what do you propose? Is changing ~/.config/activitywatch/aw-server/aw-server.ini port number “risky”?
I have no idea what esmmanager is, should not be related to activitywatch.
Changing the port is not risky, but then you also have to change the port for all the clients (easy for aw-watcher-window and aw-watcher-afk, but for some watchers like aw-watcher-web you need to build them manually from source).
What music player was it? Would be interesting to know if others have a similar issue in the future. I assume that it always uses the same port since a reboot didn’t fix it? And I also assume that you didn’t set that port manually yourself?
Clementine! It has a feature for remote control with an android app, through the network hence it uses a port. I think it is not enabled by default, and I can’t recall if the default value was 5600. But I believe it should be the same port every time, yes.