john-shine / mega.syno

Make possible to use mega.nz`s megasync on Synology with Docker
GNU General Public License v3.0
50 stars 11 forks source link

Where is the mounted MEGA folder on container side #14

Open erikthegamer1242 opened 3 years ago

erikthegamer1242 commented 3 years ago

I have mounted the container side to /home/mega/MEGA but when I vnc into it mega only sees it's own MegaSync folder which is empty so where should I find my files?

matthewnau commented 2 years ago

I have mounted the container side to /home/mega/MEGA but when I vnc into it mega only sees it's own MegaSync folder which is empty so where should I find my files?

@erikthegamer1242, not sure why we can't see the folder, but if you're using the default folder /MEGAsync Downloads, we can get into the container to browse and manage the files.

Do a docker ps -a to get the container id for your mega install. The you can use the following command to manage the files inside. Make sure to replace the <CONTAINER_ID> with your actual id.

docker exec -u 0 -it <CONTAINER_ID> /bin/bash

I found my downloads with this command

ls home/mega/"MEGAsync Downloads"

From this point you should be able to copy or move files around to outside the container.

References

Hopefully this helps!