seafile_ynh/README.md

160 lines
5.7 KiB
Markdown
Raw Normal View History

2022-04-01 22:31:00 +02:00
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Seafile for YunoHost
2018-08-10 11:03:55 +02:00
2022-05-28 18:35:05 +02:00
[![Integration level](https://dash.yunohost.org/integration/seafile.svg)](https://dash.yunohost.org/appci/app/seafile) ![Working status](https://ci-apps.yunohost.org/ci/badges/seafile.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/seafile.maintain.svg)
2022-04-01 22:31:00 +02:00
[![Install Seafile with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=seafile)
*[Lire ce readme en français.](./README_fr.md)*
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
> *This package allows you to install Seafile quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
## Overview
Seafile is an open Source Cloud Storage application.
2018-08-10 11:03:55 +02:00
It's a Enterprise file sync and share platform with high reliability and performance. It's a file hosting platform with high reliability and performance. Put files on your own server. Sync and share files across different devices, or access all the files as a virtual disk.
2022-04-01 22:31:00 +02:00
**Shipped version:** 9.0.2~ynh1
2022-08-23 21:06:22 +02:00
2022-04-01 22:31:00 +02:00
**Demo:** https://demo.seafile.com
2022-04-01 22:31:00 +02:00
## Screenshots
2022-05-28 18:35:05 +02:00
![Screenshot of Seafile](./doc/screenshots/mobile-ios-client.jpg)
![Screenshot of Seafile](./doc/screenshots/drive-client.png)
![Screenshot of Seafile](./doc/screenshots/file-locking.jpg)
![Screenshot of Seafile](./doc/screenshots/access-logs.jpg)
![Screenshot of Seafile](./doc/screenshots/file-history.png)
![Screenshot of Seafile](./doc/screenshots/wiki_en.png)
![Screenshot of Seafile](./doc/screenshots/sharing-dialog.png)
![Screenshot of Seafile](./doc/screenshots/sync-client.jpg)
2022-04-01 22:31:00 +02:00
## Disclaimers / important information
2018-08-10 11:03:55 +02:00
### Multi-users support
2018-08-10 11:03:55 +02:00
This app support LDAP and the SSO authentification.
2019-12-06 13:51:49 +01:00
If you have Seafile installed before 7.x and you have more than one domain for users in Yunohost or Seafile app is installed on a different domain, you need to migrate your accounts.
You can use the provided action at https://domain.tld/yunohost/admin/#/apps/seafile/actions. You can also use this following command to migrate all of your accounts:
```
yunohost app action run seafile migrate_user_email_to_mail_email
```
See [issue#44](https://github.com/YunoHost-Apps/seafile_ynh/issues/44)
2019-11-06 11:57:26 +01:00
for more information.
2019-07-30 22:51:02 +02:00
2018-08-10 11:03:55 +02:00
### Supported architectures
2018-08-10 11:03:55 +02:00
Since seafile 6.3 the i386 architecture is no more supported.
2020-10-02 22:37:55 +02:00
Seafile don't distribute binary for generic armhf architectures but rpi binary generally work on all arm board.
2017-08-09 22:13:32 +02:00
2018-08-10 11:03:55 +02:00
<!--Limitations
------------
2017-08-09 22:13:32 +02:00
2018-08-10 11:03:55 +02:00
* Any known limitations.-->
2018-08-10 11:03:55 +02:00
Additional informations
-----------------------
2020-11-29 17:29:51 +01:00
### Links
2018-08-10 11:03:55 +02:00
* Report a bug: https://github.com/YunoHost-Apps/seafile_ynh/issues
* App website: https://www.seafile.com
* YunoHost website: https://yunohost.org/
---
2020-11-29 17:29:51 +01:00
### Install
2018-08-10 11:03:55 +02:00
From command line:
2020-11-29 17:29:51 +01:00
`yunohost app install seafile`
2018-08-10 11:03:55 +02:00
2020-11-29 17:29:51 +01:00
### Upgrade
2018-08-10 11:03:55 +02:00
2020-12-14 16:35:22 +01:00
By default a backup is made before the upgrade. To avoid this you have theses following possibilites:
- Pass the `NO_BACKUP_UPGRADE` env variable with `1` at each upgrade. By example `NO_BACKUP_UPGRADE=1 yunohost app upgrade synapse`.
- Set the settings `disable_backup_before_upgrade` to `1`. You can set this with this command:
`yunohost app setting synapse disable_backup_before_upgrade -v 1`
After this settings will be applied for **all** next upgrade.
2018-08-10 11:03:55 +02:00
From command line:
2020-11-29 17:29:51 +01:00
`yunohost app upgrade seafile`
2018-08-10 11:03:55 +02:00
2020-11-29 17:29:51 +01:00
### Backup
2020-11-29 17:29:51 +01:00
This app use now the core-only feature of the backup. To keep the integrity of the data and to have a better guarantee of the restoration is recommended to proceed like this:
- Stop seafile service with theses following command:
2020-11-29 17:29:51 +01:00
`systemctl stop seafile.service seahub.service`
2020-11-29 17:29:51 +01:00
- Launch the backup of seafile with this following command:
2020-11-29 17:29:51 +01:00
`yunohost backup create --app seafile`
- Do a backup of your data with your specific strategy (could be with rsync, borg backup or just cp). The data is stored in `/home/yunohost.app/seafile-data`.
2020-11-29 17:29:51 +01:00
- Restart the seafile service with theses command:
2020-11-29 17:29:51 +01:00
`systemctl start seafile.service seahub.service`
### Remove
2020-11-29 17:29:51 +01:00
Due of the backup core only feature the data directory in `/home/yunohost.app/seafile-data` **is not removed**. It need to be removed manually to purge app user data.
2020-11-29 17:29:51 +01:00
### Change URL
Since now it's possible to change domain or the url of seafile.
To do this run : `yunohost app change-url seafile -d new_domain.tld -p PATH new_path`
2018-08-10 11:03:55 +02:00
Developers infos
----------------
2018-08-10 11:03:55 +02:00
Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/seafile_ynh/tree/testing).
2018-08-10 11:03:55 +02:00
To try the testing branch, please proceed like that.
```
2018-08-10 11:03:55 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/seafile_ynh/tree/testing --debug
or
sudo yunohost app upgrade seafile -u https://github.com/YunoHost-Apps/seafile_ynh/tree/testing --debug
2016-06-22 11:42:13 +02:00
```
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
TODO
----
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
- Find a way to fix the issue https://github.com/YunoHost-Apps/seafile_ynh/issues/5
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
## Documentation and resources
2018-08-10 11:03:55 +02:00
2022-05-28 18:35:05 +02:00
* Official app website: <https://www.seafile.com>
* Official admin documentation: <https://manual.seafile.com>
* Upstream app code repository: <https://github.com/haiwen/seafile-server>
* YunoHost documentation for this app: <https://yunohost.org/app_seafile>
* Report a bug: <https://github.com/YunoHost-Apps/seafile_ynh/issues>
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
## Developer info
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/seafile_ynh/tree/testing).
2018-08-10 11:03:55 +02:00
2022-04-01 22:31:00 +02:00
To try the testing branch, please proceed like that.
2022-05-28 18:35:05 +02:00
``` bash
2022-04-01 22:31:00 +02:00
sudo yunohost app install https://github.com/YunoHost-Apps/seafile_ynh/tree/testing --debug
or
sudo yunohost app upgrade seafile -u https://github.com/YunoHost-Apps/seafile_ynh/tree/testing --debug
```
2022-05-28 18:35:05 +02:00
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>