Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. GitLab
  3. Unable to access Rails Console from web terminal

Unable to access Rails Console from web terminal

Scheduled Pinned Locked Moved Solved GitLab
gitlab
3 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zoldir
    wrote on last edited by
    #1

    As described in the documentation here (https://docs.cloudron.io/apps/gitlab/#rails-console), if I log as git user with

    su git
    

    and then

    bundle exec rails c -e production
    

    gives me the following error :

    `/home/git` is not writable.
    Bundler will use `/tmp/bundler20240220-1318-vc5wvk1318' as your home directory temporarily.
    bundler: command not found: rails
    Install missing gem executables with `bundle install`
    

    Here is the output for "ls -la" on the folder git :

    drwxr-xr-x 1 git      git      4096 Feb  7 16:50 git
    

    This is a fresh install, there is nothing imported yet inside my instance. I was initially trying to reset the admin password to be able to import another gitlab into this one, without success.

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @Zoldir have you tried "sudo -u git bundle exec rails c -e production" ? The su seems like a typo.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zoldir
        wrote on last edited by
        #3

        Damned, it was too obvious to be seen.

        It works, thanks 😄

        1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon has marked this topic as solved on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search