System: Ubuntu 24.04
AW version: v0.13.2
After using AW for a few days it stopped logging. Did restart it and everything worked again. Is this a known issue?
This is my startup script. AW is started as service. This is the startup script I use:
#!/bin/bash
# Start ActivityWatch components for Wayland users
~/.local/opt/activitywatch/aw-server/aw-server &
server_pid=$!
sleep 3
aw-awatcher &
watcher_pid=$!
# Wait for both processes to exit (this keeps systemd from exiting)
wait $server_pid
wait $watcher_pid
This is the log:
– Boot 2df1cf06f4cb44119517484f15e704b1 –
Jul 30 06:11:29 haukurhafsteins systemd[1816]: Started aw.service - ActivityWatch (aw-server + aw-awatcher).
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: 2025-07-30 06:11:29 [INFO ]: Using storage method: peewee (aw_server.main:33)
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: 2025-07-30 06:11:29 [INFO ]: Starting up… (aw_server.main:41)
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: 2025-07-30 06:11:29 [INFO ]: Using database file: /home/haukurhafsteins/.local/share/activitywatch/aw-server/peewee-sqlite.v2.db (aw_datastore.storages.peewee:150)
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: * Serving Flask app ‘aw-server’
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: * Debug mode: off
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: 2025-07-30 06:11:29 [INFO ]: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: * Running on http://localhost:5600 (werkzeug:187)
Jul 30 06:11:29 haukurhafsteins aw-start[1885]: 2025-07-30 06:11:29 [INFO ]: Press CTRL+C to quit (werkzeug:187)
Aug 01 08:09:47 haukurhafsteins aw-start[1885]: 2025-08-01 08:09:47 [WARNING]: Gap was of negative duration and could NOT be safely merged (-0.993s). This warning will only show once per batch. (aw_transform.flood:52)
Aug 01 08:09:47 haukurhafsteins aw-start[1885]: 2025-08-01 08:09:47 [WARNING]: Gap was of negative duration but could be safely merged (-744.256s). This message will only show once per batch. (aw_transform.flood:46)
Aug 01 08:11:22 haukurhafsteins aw-start[1885]: 2025-08-01 08:11:22 [WARNING]: Gap was of negative duration but could be safely merged (-875.622s). This message will only show once per batch. (aw_transform.flood:46)