Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bpmct/coder-cloud-redirect-server
https://github.com/bpmct/coder-cloud-redirect-server
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bpmct/coder-cloud-redirect-server
- Owner: bpmct
- Created: 2021-03-01T14:38:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T20:24:34.000Z (over 3 years ago)
- Last Synced: 2024-10-27T03:46:38.489Z (about 2 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## coder-cloud-redirect-server
A very simple server that simplifies connections to your server started with code-server link. Currently only works by searching logs for the systemd service.
Usage:
```sh
$ ./server.py [port]
```## Troubleshooting
If you are being redirected to this screen, that means the redirect service is working, but is unable to read the code-server status.
```sh
# Check if code-server is running
systemctl status code-server@coder# Check if journalctl is giving us logs, and if something failed
journalctl -u code-server@coder# If journalctl isn't giving logs:
systemd restart systemd-journald
# or
sed -i.bak 's/#Storage=auto/Storage=persistent/' /etc/systemd/journald.conf
mkdir -p /var/log/journal
systemctl force-reload systemd-journald
systemctl restart systemd-journald
# then, if needed:
sudo reboot
```