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. NodeBB
  3. Cannot install Nodebb theme: npm install nobebb-theme-timuu

Cannot install Nodebb theme: npm install nobebb-theme-timuu

Scheduled Pinned Locked Moved Solved NodeBB
7 Posts 4 Posters 2.7k Views 4 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.
  • C Offline
    C Offline
    chxmontoro
    wrote on last edited by
    #1

    I am having read errors while trying to install a nodebb theme. Could you please help me resolve. The command is: npm install nobebb-theme-timuu

    See error below.-

    npm ERR! rofs EROFS: read-only file system, mkdir '/root/.npm/nodebb-theme-timuu'
    npm ERR! rofs This is most likely not a problem with npm itself
    npm ERR! rofs and is related to the file system being read-only.

    1 Reply Last reply
    1
    • M-arcusM Offline
      M-arcusM Offline
      M-arcus
      wrote on last edited by
      #2

      Most of the docker container files and directories are read-only.

      Have you tried installing it in repair-mode?

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

        @chxmontoro Open a web terminal and

            cd /app/code
            /usr/local/bin/gosu cloudron:cloudron npm install nodebb-theme-timuu
        

        Then, restart NodeBB.

        BTW, the docs for this are here: https://cloudron.io/documentation/apps/nodebb/

        1 Reply Last reply
        1
        • yusfY Offline
          yusfY Offline
          yusf
          wrote on last edited by
          #4

          On this note, I'm trying to install nodebb-plugin-sso-open-ldap with

          /usr/local/bin/gosu cloudron:cloudron npm install nodebb-plugin-sso-open-ldap
          

          but then I get

          gyp WARN install got an error, rolling back install
          gyp ERR! configure error
          gyp ERR! stack Error: EROFS: read-only file system, mkdir '/home/cloudron/.node-gyp'
          gyp ERR! System Linux 4.4.0-166-generic
          gyp ERR! command "/usr/local/node-8.12.0/bin/node" "/usr/local/node-8.12.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
          gyp ERR! cwd /run/nodebb/node_modules/dtrace-provider
          gyp ERR! node -v v8.12.0
          gyp ERR! node-gyp -v v3.8.0
          gyp ERR! not ok
          

          What should I do?

          Alternative question: Can we get built-in LDAP support in the app package?

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

            @yusf Would an LDAP enabled forum only allow LDAP users and have external registration disabled?

            yusfY 1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @yusf said in Cannot install Nodebb theme: npm install nobebb-theme-timuu:

              /usr/local/bin/gosu cloudron:cloudron npm install nodebb-plugin-sso-open-ldap

              I have pushed an update

              1 Reply Last reply
              1
              • girishG girish

                @yusf Would an LDAP enabled forum only allow LDAP users and have external registration disabled?

                yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by yusf
                #7

                @girish Ideally, both auth mechanisms would be available for use. Or one or the other. I really like how it’s done in Gitea, where LDAP is just one authorization methods out of several.

                1 Reply Last reply
                0

                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