Cannot install ActivityWatch on Ubuntu

I have downloaded the zip file, extracted it and added the aw-qt file to the startup applications. When I restarted, AW doesn’t show up on the top panel.
I cannot seem to open Activity Watch either. I get the following error when I try to run ./aw-qt

Address already in use
Port 5600 is in use by another program. Either identify and stop that program, or start the server with a different port.

localhost 5600 doesn’t work either.
Can someone please help me out? I really want to get this up and running…

1 Like

When you say “localhost 5600 doesn’t work” can you elaborate?

What do you see when you visit http://localhost:5600 in your browser?

And what does lsof -i :5600 show? That should give you a clue to what is using port 5600.

i have same issue running simply command line

2024-08-02 21:33:50 [INFO ]: Started aw-qt...  (aw_qt.main:53)
2024-08-02 21:33:50 [WARNING]: Found matching file but was not executable: /home/abolfazl/Downloads/activitywatch/aw-qt.desktop  (aw_qt.manager:64)
2024-08-02 21:33:50 [WARNING]: Found matching file but was not executable: /home/abolfazl/Downloads/activitywatch/aw-server-rust/aw-server.service  (aw_qt.manager:64)
2024-08-02 21:33:50 [INFO ]: Found 7 bundled modules  (aw_qt.manager:85)
2024-08-02 21:33:50 [INFO ]: Found 0 system modules  (aw_qt.manager:119)
2024-08-02 21:33:50 [INFO ]: Starting module aw-server  (aw_qt.manager:148)
2024-08-02 21:33:50 [INFO ]: Starting module aw-watcher-afk  (aw_qt.manager:148)
2024-08-02 21:33:50 [INFO ]: Starting module aw-watcher-window  (aw_qt.manager:148)
> 2024-08-02 21:33:50 [ERROR]: Another instance is already running, quitting.  (aw_client.singleinstance:40)
2024-08-02 21:33:50 [ERROR]: Another instance is already running, quitting.  (aw_client.singleinstance:40)
2024-08-02 21:33:51 [INFO ]: Using storage method: peewee  (aw_server.main:33)
2024-08-02 21:33:51 [INFO ]: Starting up...  (aw_server.main:41)
2024-08-02 21:33:51 [INFO ]: Using database file: /home/abolfazl/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db  (aw_datastore.storages.peewee:150)
 * Serving Flask app 'aw-server'
 * Debug mode: off
Address already in use
Port 5600 is in use by another program. Either identify and stop that program, or start the server with a different port.
^C
Aborted!