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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    NodeBB
    4
    7
    593
    Loading More Posts
    • 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
      chxmontoro last edited by

      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 Reply Quote 1
      • M-arcus
        M-arcus last edited by

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

        Have you tried installing it in repair-mode?

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          @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 Reply Quote 1
          • yusf
            yusf last edited by

            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 Reply Quote 0
            • girish
              girish Staff last edited by

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

              yusf 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                @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 Reply Quote 1
                • yusf
                  yusf @girish last edited by yusf

                  @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 Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB