https://linen.dev logo
Join Discord
Powered by
# general
  • j

    JanL

    03/02/2023, 10:03 AM
    what is best depends on how you use NFS: One flat export or one per user? Do you want to be able to split the source later? Do ypu want to control NFS options per Workspace or per Host? etc.
  • m

    modrin

    03/02/2023, 10:07 AM
    I would probably use Docker remote volume capabilities like you would with a cluster. Something like GlusterFS
    a
    j
    • 3
    • 22
  • m

    modrin

    03/02/2023, 10:11 AM
    or Ceph for that matter
  • p

    Phorcys

    03/02/2023, 10:20 AM
    i'd do what modrin said yeah
  • j

    JanL

    03/02/2023, 10:42 AM
    Is there a way to generate an api token which is valid for longer than 30 days? If I need to configure my CI with a static token I don't want to do this exercise every month
    a
    b
    • 3
    • 15
  • j

    JanL

    03/02/2023, 10:44 AM
    Copy code
    coder --verbose tokens create --lifetime=17520h0m0s
    Failed to validate create API key request.                                                                                                           
    create tokens: POST https://dev.lab.dd.secunet.de/api/v2/users/me/keys/tokens: unexpected status code 400: Failed to validate create API key request.
            Error: lifetime must be less than 720h0m0s                                                                                                           
    Run 'coder tokens create --help' for usage.
  • j

    JanL

    03/02/2023, 10:45 AM
    ah ...
    $CODER_MAX_TOKEN_LIFETIME
  • j

    JanL

    03/02/2023, 10:46 AM
    might be helpful to mention this here https://coder.com/docs/v2/latest/api/authentication or here https://coder.com/docs/v2/latest/templates/change-management
  • j

    JanL

    03/02/2023, 9:24 PM
    I read that a lot of people have problems with allowing DERP traffic through their reverse proxies. How can I test that it works? I have a very default HA-proxy sitting there
    b
    • 2
    • 12
  • j

    JanL

    03/02/2023, 9:27 PM
    or is it even necessary - because each instance has its own relay it advertises?
  • j

    JanL

    03/02/2023, 9:31 PM
    what I do see is that speedtest and ping is quite flaky - they sometimes just hang, sometimes work
  • j

    JanL

    03/02/2023, 9:31 PM
    coder ssh seems to work though
  • j

    JanL

    03/02/2023, 9:40 PM
    hm, no, it hangs as well every other time
  • I m seeing this now with coder ssh ping
    j

    JanL

    03/03/2023, 2:22 PM
    I'm seeing this now with coder ssh/ping/speedtest:
    Copy code
    2023/03/03 15:19:36 tlsdial: warning: server cert for "XXX" is not a Let's Encrypt cert
    As we have our internal CA letsencrypt makes no sense at all (and it's not accessible in an air-gap environment). Is there an option to turn this off globally?
    b
    • 2
    • 4
  • j

    JanL

    03/03/2023, 2:22 PM
    (0.18.1)
  • d

    ddsloan96

    03/04/2023, 2:29 AM
    Any idea why cloud init would fail to make the coder user but not log the error?
  • p

    Phorcys

    03/04/2023, 7:05 AM
    in the startup_script?
  • p

    Phorcys

    03/04/2023, 7:05 AM
    there are no logs for that atm
  • p

    Phorcys

    03/04/2023, 7:06 AM
    well, not in the UI, they are in ``/tmp/coder-startup-script.log``
  • m

    MrPeacock

    03/04/2023, 9:52 AM
    Or in Terraform plan / apply? What happens if you open start workspace? Can you see any terraform errors?
  • p

    Phorcys

    03/04/2023, 3:00 PM
    his error is from the startup script though
  • p

    Phorcys

    03/04/2023, 3:00 PM
    creating users can only be done from the script
  • p

    Phorcys

    03/04/2023, 3:00 PM
    or maybe i misunderstood what he said
  • d

    ddsloan96

    03/04/2023, 4:15 PM
    So it looks like the user actually got removed at some point. Basically we started the machine up and the created user/ home folder were just gone
  • j

    JanL

    03/04/2023, 10:40 PM
    Is there a possibility to change the font in the (in browser) terminal window? I'm using https://www.nerdfonts.com/ and it looks incomplete in the web terminal 😉
  • j

    JanL

    03/04/2023, 11:02 PM
    ok, as a workaround:
    Copy code
    <fontconfig>
      <alias binding="strong">
        <family>Liberation Mono</family>
        <prefer>
          <family>LiterationMono Nerd Font</family>
        </prefer>
      </alias>
    </fontconfig>
  • j

    JanL

    03/04/2023, 11:04 PM
    looks almost alright
  • a

    Artichoke

    03/05/2023, 3:19 AM
    hi, I have a coder server up and running and its working great. However, when I stop a workspace (based on the
    docker
    template), all the stuff I install in that container (say, for example,
    php8.1
    through apt) won't be installed when I start it again. This makes sense, since I didn't update the dockerfile to install those things, but the fundamental idea of workspaces no longer makes sense to me. Like, am I just meant to reinstall all my stuff each time or update the Dockerfile every time I want to add a package? What am I missing here?
  • p

    Phorcys

    03/05/2023, 6:21 AM
    yes you are supposed to do that, best way would be to add the install part to your .personalize script in your home folder
  • p

    Phorcys

    03/05/2023, 6:23 AM
    you can also try exporting (on shutdown) and importing (on startup) the list of APT packages so that it's transparent https://askubuntu.com/questions/9135/how-to-backup-settings-and-list-of-installed-packages
1...656667...96Latest