How to SFTP to Roundcube?
-
wrote on Dec 18, 2020, 9:15 PM 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?
-
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?
wrote on Dec 18, 2020, 10:04 PM last edited by@humptydumpty use terminal to find the actual file.
-
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 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. -
@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.wrote on Dec 18, 2020, 11:25 PM last edited by -
wrote on Dec 18, 2020, 11:52 PM last edited by humptydumpty Dec 19, 2020, 12:24 AM
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.
-
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.
wrote on Dec 19, 2020, 1:38 AM last edited by@humptydumpty you can't write to /app/code at all, so you need to copy to /app/data/someplace
-
@humptydumpty you can't write to /app/code at all, so you need to copy to /app/data/someplace
wrote on Dec 19, 2020, 1:46 PM last edited by humptydumpty Dec 19, 2020, 2:07 PM@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'
-
@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 . -
@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 .wrote on Dec 19, 2020, 7:35 PM 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.
-
@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 .