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

    How to SFTP to Roundcube?

    Roundcube
    3
    10
    274
    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.
    • humptydumpty
      humptydumpty last edited by

      I'm trying to change the new mail notifier sound. In the file manager, I can see the plugin that I'm trying to edit but it's a symlink and if I try to download it, it opens as a source page looking thing. How can I get to the app folder?

      robi girish 2 Replies Last reply Reply Quote 0
      • robi
        robi @humptydumpty last edited by

        @humptydumpty use terminal to find the actual file.

        Life of Advanced Technology

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

          @humptydumpty You cannot change the files of built-in plugins. They will get updated as part of roundcube itself.

          If you do want to change them, then make a copy of the entire plugin directory and copy it to /app/data/plugins and modify the file and also enable the new plugin in the roundcube config.

          See https://docs.cloudron.io/apps/roundcube/#plugins

          humptydumpty 1 Reply Last reply Reply Quote 0
          • humptydumpty
            humptydumpty @girish last edited by

            @girish @robi I have no idea how to copy stuff via terminal. I need to look it up. If I copy the entire plugin directory, then I have to make sure I update those manually later on, right?

            1 Reply Last reply Reply Quote 0
            • humptydumpty
              humptydumpty last edited by humptydumpty

              so I'm using this command to copy over the contents but it's saying the two files are the same.

              cp -a /app/code/plugins.orig/. /app/code/plugins
              

              Do I have to delete the symlink ones in the plugin folder first? Nevermind, can't delete them.

              Just realized my mistake.. copying into the wrong folder 🤦

              That didn't work. To be continued tomorrow. 😩

              robi 1 Reply Last reply Reply Quote 0
              • robi
                robi @humptydumpty last edited by

                @humptydumpty you can't write to /app/code at all, so you need to copy to /app/data/someplace

                Life of Advanced Technology

                humptydumpty 1 Reply Last reply Reply Quote 0
                • humptydumpty
                  humptydumpty @robi last edited by humptydumpty

                  @robi I substituted code for data but that didn't work either.

                  I'm getting "x and x are the same file".

                  cp -a /app/code/plugins.orig/. /app/data/plugins
                  

                  The question is how the hell do I get rid of the symlink stuff?

                  BTW, I managed to download a copy of the plugin I want to replace and just uploaded it into the data/plugins folder and the overwriting worked but the changes aren't taking effect. I guess that's why I have to overwrite the entire folder as @girish instructed. I'm gonna try doing that now via the file manager. 🤞

                  Edit: RC just crashed and burned. Reinstalling.

                  Edit 2: It keeps going downhill today. Uninstall error:

                  FileSystem Error: Error removing dir /home/yellowtent/appsdata/ad3d3e27-12d8-42b9-956a-dd33a76929e9 : ENOTEMPTY: directory not empty, rmdir '/home/yellowtent/appsdata/ad3d3e27-12d8-42b9-956a-dd33a76929e9'
                  
                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @humptydumpty last edited by

                    @humptydumpty said in How to SFTP to Roundcube?:

                    Edit 2: It keeps going downhill today. Uninstall error:
                    FileSystem Error: Error removing dir /home/yellowtent/appsdata/ad3d3e27-12d8-42b9-956a-dd33a76929e9 : ENOTEMPTY: directory not empty, rmdir '/home/yellowtent/appsdata/ad3d3e27-12d8-42b9-956a-dd33a76929e9'

                    That is a cloudron bug which we are trying to fix (still haven't found the root cause). You can just rm -rf /home/yellowtent/appsdata/ad3d3e27-12d8-42b9-956a-dd33a76929e9 and then retry the uninstall .

                    humptydumpty robi 2 Replies Last reply Reply Quote 0
                    • humptydumpty
                      humptydumpty @girish last edited by

                      @girish That worked, thank you! The app terminal was in a "reconnecting" loop but the command worked when I used DO's console.

                      1 Reply Last reply Reply Quote 0
                      • robi
                        robi @girish last edited by

                        @girish something not cleaning up properly?

                        Life of Advanced Technology

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB