-
Hi - I tried switching to aw-server-rust, by following these directions: https://docs.activitywatch.net/en/latest/migrating.html#migrating-to-aw-server-rust Unfortunately, it didn't work, as it seems aw-server-rust is listening on port 5666, and everything else expects 5600. Apparently this means it's in "test" mode, but I didn't do anything special to put it in test mode - it's a standard unzipped install on Linux (Ubuntu 20.04, to be precise). How do I tell aw-server-rust to be in "normal" / non-test mode, and listen on 5600? Also - how do I turn on debug logging on aw-server-rust? I tried doing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
This is probably a packaging issue. The aw-server-rust binary produced in CI is built in debug mode for some reason (which leads to running in testing mode by default -> port 5666). I'll look into that. Edit: Hmm, maybe not. Still investigating. Edit: Ok nvm, it definitely built in debug mode: https://github.com/ActivityWatch/activitywatch/runs/6724471272
Now I just need to figure out why. Edit: It's because of this activitywatch/.github/workflows/build.yml Line 17 in f5e1580 I need to figure out a way to set that correctly, depending on if it's a proper release or not. |
Beta Was this translation helpful? Give feedback.
This is probably a packaging issue. The aw-server-rust binary produced in CI is built in debug mode for some reason (which leads to running in testing mode by default -> port 5666).
I'll look into that.
Edit: Hmm, maybe not. Still investigating.
Edit: Ok nvm, it definitely built in debug mode: https://github.com/ActivityWatch/activitywatch/runs/6724471272
Now I just need to figure out why.
Edit: It's because of this
activitywatch/.github/workflows/build.yml
Line 17 in f5e1580
I need to figure out a way to set that correctly, depending…