Replies: 1 comment 5 replies
-
I believe the --log parameter does not work when running headlessly under systemctl. Instead, journalctl can be used. I also believe a systemctl process cannot write to /home/ubuntu/ using the security provisions we specify by default. Enter this: sudo systemctl edit --full jamulus-headless There's a Home Directory protection in there that prevents writing to the home directory. But why can't a client connect to it? I bet that's because you have not opened the port explicitly in aws. I don't use LightSail, but often create aws spot instances in EC2, but since I list them on a public directory, I don't need to explicitly open the port. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello -- what are the proper command-line args to run v3.10 jamulus-headless? My copy seems to be running, but it won't write to a log file, it won't create a recording directory or record, and I cannot connect to it from a Jamulus client.
Here's the command I'm using
% /usr/bin/jamulus-headless \ --welcomemessage "<h2>welcome to my server</h2>" \ --log /home/ubuntu/jamulus/logs/jam_20231211.txt \ --recording /home/ubuntu/jamulus/recordings/ \ --numchannels 16
Shell output looks good
`- Starting in server mode by default (due to compile time option)
welcome to my server
No GUI support compiled. Running in headless mode.
Using "xxx.xx.xx.xxx" as external IP.
Recording state: enabled
*** Jamulus, Version 3.10.0
...
`
But it's not working for some reason; eg:
% ll jamulus/logs/jam_20231211.txt -rw-rw-r-- 1 ubuntu ubuntu 0 Dec 12 01:55 jamulus/logs/jam_20231211.txt
This is on an AWS Lightsail instance running a freshly created OS-only Ubuntu 22.04 LTS. My user name on that instance is "ubuntu" and the logs/ and recordings/ directories I created are confirmed writable:
drwxrwxr-x 4 ubuntu ubuntu 4096 Dec 11 23:46 jamulus/ ... drwxrwxr-x 2 ubuntu ubuntu 4096 Dec 11 23:46 recordings drwxrwxr-x 2 ubuntu ubuntu 4096 Dec 12 01:55 logs
Suggestions? TIA!
Scott
Beta Was this translation helpful? Give feedback.
All reactions