Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m7a/lo-megasync
Run Megasync on armhf devices using Docker.
https://github.com/m7a/lo-megasync
Last synced: 12 days ago
JSON representation
Run Megasync on armhf devices using Docker.
- Host: GitHub
- URL: https://github.com/m7a/lo-megasync
- Owner: m7a
- License: gpl-3.0
- Created: 2017-04-01T22:53:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T19:44:50.000Z (7 months ago)
- Last Synced: 2024-04-28T20:40:00.040Z (7 months ago)
- Language: Shell
- Size: 48.8 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
---
x-masysma-name: megasync
section: 32
title: Running Megasync on armhf using Docker
keywords: ["docker", "arm"]
lang: en-US
date: 2017/04/02 00:33:14
author: ["Linux-Fan, Ma_Sys.ma ([email protected])"]
x-masysma-version: 1.1.2
x-masysma-copyright: |
Copyright (c) 2017, 2019, 2020 Ma_Sys.ma.
For furhter info send an e-mail to [email protected].
x-masysma-repository: https://www.github.com/m7a/lo-megasync
x-masysma-website: https://masysma.net/32/megasync.xhtml
x-masysma-owned: 1
---
What is this?
=============Using the image presented here, you can synchronize files with
[Mega](http://mega.co.nz) using a Docker container on an ARM device.Note that this container uses Mega's GUI version. For most automation purposes,
it might be advisable to use Mega's commandline client instead. IIRC, at the
time of creating this container, the commandline client was not available yet.
SeeGetting Started
===============Obtian the scripts from Github as follows:
git clone https://github.com/m7a/lo-megasync.git
The image `armhf/masysmalocal/megasync` may then be built on an amd64 host
sytsem using `make build`.You can run it as follows:
docker run --restart=unless-stopped -d -p 127.0.0.1:5900:5900 \
-v ...:/fs/backup \
-v ...:/home/linux-fan/.local/share/data \
armhf/masysmalocal/megasyncVolumes are as follows:
`/fs/backup`
: Map the directory to be synced to this node.
`/home/linux-fan/.local/share/data`
: Map a directory to contain the Megasync configuration to this one.For successful read/write access from inside and outside the container, the
files from the shared volumes should belong to user and group with ID 1024. If
you want to use a different ID, change the `Dockerfile` accordingly and rebuild
the image.In order to graphically interact with the client, connect via VNC like this:
vncviewer localhost:0
For amd64 Systems
=================It seems the ARM version is stuck at Debian Buster, hence the Debian Bullseye
variant is only available as a separate Dockerfile for amd64 systems. Build it
with `make build_amd64` and run it just like the armhf variant except for
leaving out the prefix `armhf/` in the image name.About the Upgrader
==================A binary version of `mdvl-trival-automatic-update` is supplied as
part of this repository. It is installed inside the container as to keep a
24/7-running container up to date automatically.
Check [trivial_automatic_update(32)](trivial_automatic_update.xhtml) for further
details including a link to the package's source code repository.Note that directory `old` contains an old version which is suitable to be used
with Debian Bullseye and earlier. The new version (1.1.3 onwards) uses the new
style format for security upgrades.Newer Ideas
===========* Might want to switch to systemd to manage the different processes inside the
container.