Closed Fr0d0Beutl1n closed 9 months ago
Could you paste your ms.toml ?
Sure:
environment = 'Prod'
allowed_endpoints = [
'https://ntfy.sh/',
'https://up.conversations.im/',
'https://fcm.distributor.unifiedpush.org/',
'https://mollysocket.my.domain',
]
allowed_uuids = ['*']
db = './mollysocket.db'
Thanks, change ./mollysocket.db
to /data/mollysocket.db
.
BTW, allowed_endpoints
contains the push endpoints, if you host your own distributor instance (for instance ntfy), then you should add it there, this is not the mollysocket endpoint. I'm saying this because you have https://mollysocket.my.domain
and not https://ntfy.my.domain
or https://push.etc
or whatever
Thanks! Now I can add devides. Is the default wrong? I didn't change it manually.
Maybe we should have an environment variable similar to MOLLY_CONF
where the location of the database is specified. We could add that variable to docker-compose.yml
, so that the default configuration works.
That may be a good thing :+1:
I'm using mollysocket with docker.
When I try to add a connection, the CLI tells me that it's successfully added:
However, when I list the connections, it's completely empty:
When I watch
https://ntfy.sh/foobar
in the browser, there are no messages pushed when I receive a message on Signal.Logs of the startup:
Trying to add a connection doesn't produce additional entries in the log. Receiving messages doesn't produce additional entries in the log. Accessing the web interface with a browser works. It shows:
I can see this in the log:
Adding the connection via Molly on my phone doesn't work either, it tells me
MollySocket server not found
, even though I can access it (and see the json output with the version) via the browser on the phone. I can not see these connection attempts in the log.My
docker-compose.yml
: