How to SFTP to Roundcube?
-
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?
-
@humptydumpty use terminal to find the actual file.
-
@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. -
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.
-
@humptydumpty you can't write to /app/code at all, so you need to copy to /app/data/someplace
-
@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'
-
@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 .