jjj
CCoder.com
•Created by jjj on 5/3/2024 in #help
invalid character '<' looking for beginning of value
We ended up changing our setup significantly and it went away but I don't know the specific fix sorry
11 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
If I run with systemctl can I still use the built in postgres or I to setup a separate service?
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
ok thanks, will try it tomorrow
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
not really, i can look it up (probably tomorrow). do edit coder.env to set env variables that coder needs?
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
i just followed; https://coder.com/docs/v2/latest/install
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
ok, where are the docs how to do it as a service?
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
i'm just starting coder server with the command above
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
i'm currently just launching coder directly so it shows
"systemctl status coder
Warning: The unit file, source configuration file or drop-ins of coder.service changed on disk>
○ coder.service - "Coder - Self-hosted developer workspaces on your infra"
Loaded: loaded (/usr/lib/systemd/system/coder.service; disabled; preset: enabled)
Active: inactive (dead)"
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
like if I go to the external authentication tab of the web dashboard it shows Github as "authenticated"
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
is this the information you wanted, on a related note users still need to have to setup an account with password, they can't login with github, although once logged in we can connect our github accounts.
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
export CODER_EXTERNAL_AUTH_0_ID="something-github"
export CODER_EXTERNAL_AUTH_0_TYPE="github"
export CODER_EXTERNAL_AUTH_0_CLIENT_ID=some_id
export CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=some_secret
export GOOGLE_APPLICATION_CREDENTIALS=/home/j/e/templates/gcp_auth.json
export TF_LOG="trace"
export TF_LOG_PATH=/tmp/terraform.log
coder server \
--oauth2-github-allowed-orgs=someorg \
--access-url https://someurl \
--enable-terraform-debug-mode
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
coder --version
Coder v2.9.4+864ba21 Mon Apr 22 20:10:30 UTC 2024
https://github.com/coder/coder/commit/864ba21a327e41be5fbc95d6f697e3ffa7574519
34 replies
CCoder.com
•Created by jjj on 5/5/2024 in #help
github authentication
I think I don't quite understand. /etc/coder/coder.env doesn't exist.
I'm running coder server on an Ubuntu VM (not docker image).
I just installed it using the standard install, stable version.
34 replies
CCoder.com
•Created by jjj on 5/3/2024 in #help
invalid character '<' looking for beginning of value
i have the same error on 2.10.2
11 replies