Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need add aoption to always restart/reconnect to memos service #17

Closed
VecH opened this issue Jun 7, 2024 · 2 comments
Closed

Need add aoption to always restart/reconnect to memos service #17

VecH opened this issue Jun 7, 2024 · 2 comments
Labels

Comments

@VecH
Copy link

VecH commented Jun 7, 2024

Need add aoption to always restart/reconnect to memos service
If the memogram service starts before the memos service, then it crashes with an error, but it needs to be reconnected

2024/06/07 12:49:12 INFO Memogram started
2024/06/07 12:49:12 ERROR failed to get workspace profile err="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:5230: connect: connection refused\""
@boojack
Copy link
Member

boojack commented Jun 7, 2024

Need add aoption to always restart/reconnect to memos service

It is recommended to reboot manually, there is no need to keep listening for memos to start.

@VecH
Copy link
Author

VecH commented Jun 7, 2024

I'm running it as a systemd service and on startup it starts after networking, but the memos docker container isn't running yet, so it throws an error and the service stops
https://www.linux.org.ru/forum/admin/17638203?cid=17640286

I'm running it as a systemd service and on startup it starts after networking, but the memos docker container isn't running yet, so it throws an error and the service stops

You can restart the service indefinitely until it connects, but this is wrong

@github-actions github-actions bot added the Stale label Jun 21, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants