Seafile on raspberry pi6/29/2023 ![]() Since the Seafile Dockerfile is old, there were several issues that needed to be resolved for the newer Seafile to work in the Docker container. Therefore, a custom Seafile Docker container had to be made for the wide range of Raspberry Pis allowing users to install and configure Seafile through Treehouses command. There is no maintainable Docker container of Seafile for the wide range of Raspberry Pis, including RPI0, 3, and 4. It is installed and configured Seafile via Treehouses, which provides useful functions that host web services on the Tor network. comment out or delete the db-section inside the is an open-source, cross-platform, self-hosting file share/sync application.However, if you already have a mysql database in place, it may make more sense to use that instance for seafile. Therefore, the most straightforward option is taken here, which is to ship the application database with Seafile and run it in another container alongside seafile. The idea behind this project is to have Seafile set up as simple as possible. Also, you would have to create a seafile/haiwen/seafile-server-latest symlink to seafile/haiwen/seafile-server yourself. ⚠️ Notice: If you have your project up and running with either build or pull method, you can't switch to the other one, unless you know what you are doing! At the very least, you would have to back up your data, then rename your seafile/haiwen folder to say seafile/haiwen-old/ and after the switch, move your old config ( seafile/haiwen-old/ccnet, seafile/haiwen-old/conf, etc.) back to the new seafile/haiwen folder. The resulting docker image will be ~1 GB in size. ![]() This will not take as long, also you don't need as much RAM. In that case, a precompiled seafile server will be downloaded from the official Github repo ( Seafile on Raspberry Pi) and you don't need to compile seafile on your hardware. If you want to avoid waiting that long, you can also use BUILD_METHOD=pull (see also below). Also, the resulting docker image will be only about ~300 MB in size, because we can use alpine as a base image. However, can can in theory enjoy the latest version of seafile, even if there is no official ARM-version now. Note that building seafile may take ~1h (~30 min. env file, or pull a precompiled version from the official Github repo. You can either compile the whole seafile server yourself, using BUILD_METHOD=build in your. Then you just follow the instructions to do the configuration, incorporating your old config from configuration.old into. Afterwards, git pull and update the repo to the latest commit. In that case, just rename your docker-compose.yml to say configuration.old. If you want to switch to the new method, you are likely some commits behind the master branch. env-file, the configuration gets much easier and you wont have to update variables in two places. Previously, the configuration for this project was done in the docker-compose.yml. env and adapt everything to your needs (The least thing you probably want to do is change the server name).
0 Comments
Leave a Reply. |