root
55930f2859
mv seafile/logs to /shared/seafile/logs & persistence nginx config file.
2019-11-19 12:09:21 +08:00
cuihaikuo
fbed61ca37
mv seafile/logs to /shared/seafile/logs and persistence nginx's config file.
2019-11-19 03:43:52 +01:00
Hulk
65d1ec136f
fix Seafile-CE init error.
2019-06-11 19:01:13 +08:00
Hulk
fe7016a77b
fix if not set the time_zone the seahub will start error.
2019-06-11 17:27:04 +08:00
Hulk
d7fe9a13b8
Set the TIME_ZONE to seahub.
2019-04-19 18:11:28 +08:00
Hulk
f64a44dc2c
Run the Elasticsearch service in a container.
2019-04-19 15:20:27 +08:00
Hulk
a53801892f
update
2019-03-14 18:00:52 +08:00
Hulk
ebd3744909
Deploy the seafile with multiple containers.
2019-03-14 17:18:48 +08:00
Hulk
ebe4070534
Try to solve the MySQL startup failure caused by the permission problem caused by the MySQL user's uid change.
2019-01-30 10:10:57 +01:00
Hulk
fd773002aa
Try to solve the MySQL startup failure caused by the permission problem caused by the MySQL user's uid change.
2019-01-30 09:38:37 +01:00
Hulk
ffd6111d7c
add the conf of memcached in seahub_settings.py
2019-01-24 04:01:56 +01:00
Wenbin Hou
2e1caa9e3d
fix a minor bug in scripts/ssl.sh
2018-12-26 15:16:44 +08:00
fakuivan
0e865b8900
Pass arguments to seaf-gc
...
This will allow users to run seaf-gc with parameters like ``-D`` or ``-r``
2018-12-03 19:51:09 +01:00
Shuai Lin
82a8237956
Fix the media symlinks when if container is recreated
2018-10-13 16:05:18 +08:00
Shuai Lin
4ebe259534
Added more logging
2018-10-13 08:45:08 +08:00
Shuai Lin
a1d1369680
Added unit tests for auto upgrade logic
2018-10-13 08:24:06 +08:00
Shuai Lin
7b76411537
run minor upgrade in upgrade.py
2018-10-13 07:41:48 +08:00
Shuai Lin
1a6d11ff62
No need to init seahub-data in create_data_links.sh
...
Fix #90
2018-08-14 13:42:03 +08:00
Shuai Lin
6a69b94a44
Added some comments
2018-08-14 11:26:07 +08:00
root
c449b529a5
update time_zone changeable
2018-07-09 14:36:31 +08:00
Sven Höper
35cc2bc2ad
gc.sh: only stop Seafile when not using Seafile Pro
...
fixes #71
2018-06-21 11:02:14 +02:00
Hu
0e751248e9
sort upgrade-scritps
2018-06-05 10:54:47 +08:00
root
3c99dcfdec
Unify the scripts for seafile and pro-seafile.
2018-05-12 03:36:33 +00:00
zMingGit
9c3fdcae32
Support native docker run instead of using the launcher script ( #47 )
...
* didn't use launcher
* travis
* link error & update readme
* del launcher.ps1, del bootstrap func under launcher file
* [readme] password/plan b, add a new admin
* review
2018-04-12 17:12:43 +08:00
Shuai Lin
22457f2327
Update docs
2018-03-20 11:48:02 +08:00
libeanim
702f5da610
Add garbage collector command to launcher ( #20 )
...
* Add garbage collector command to launcher
The seafile garbage collector can be started via the 'gc' command option of the launcher.
This will stop the seafile-server inside the container, then run the 'seaf-gc.sh' script and redirect its output to '/var/log/gc.log'.
Afterwards the whole container will be restarted.
* Move garbage collector execution logic to scripts/gc.sh
The file gc.sh stops the seafile server, starts the garbage collector and restarts the seafile server when the cleanup is finished.
The output of the 'seaf-gc.sh' script is piped to the file '/var/log/gc.log' in append mode.
* Add 'scripts/gc.sh' to watch_controller function in 'scripts/start.py'
The 'start.py' script monitors the seafile-server in a 'watch_controller' function and terminates the container when the server crashed.
However, during a garbage collector cleanup the server needs to be shut down and therefore it is necessary that the 'watch_controller' function only terminates the container if the server is offline and no cleanup is in progress.
* Add the gc command info to README
* Preseve the exit code of seaf-gc.sh
* Fix the perm of scripts/gc.sh
2017-06-06 05:23:12 -05:00
Shuai Lin
51239b078c
Fixed a typo.
2016-12-08 00:04:23 +08:00
Shuai Lin
fb1ce0a6a8
Fixed the ccnet socket problem on windows.
2016-12-07 15:39:52 +08:00
Shuai Lin
ec673e1df0
Fixed bootstrap script.
2016-11-30 15:22:56 +08:00
Shuai Lin
01d1035433
Improve python scripts docstring.
2016-11-29 17:13:06 +08:00
Shuai Lin
ea4f3762f7
Fixed support manual major upgrade.
2016-11-29 17:09:11 +08:00
Shuai Lin
cc77e95d9f
Make debug logs and info logs more clear.
2016-11-29 15:26:33 +08:00
Shuai Lin
12412e733d
Suppport verbose mode: "./launcher -v <cmd>"
2016-11-29 15:09:16 +08:00
Shuai Lin
e6a0840cf0
Support manual major upgrade.
...
* By default all major upgrades would be fully automatic. But the
user can opt for manual upgrade by "./launcher rebuild --manual-upgrade"
2016-11-29 14:44:26 +08:00
Shuai Lin
a64c9b83e4
Add a version stamp file seafile-data/current_version.
2016-11-28 17:06:28 +08:00
Shuai Lin
7361f353ff
Remove a unused file.
2016-11-25 17:11:34 +08:00
Shuai Lin
f826ea3d0f
Set proper FILE_SERVER_ROOT in bootstrapping.
2016-11-25 16:10:29 +08:00
Shuai Lin
bcd5dfdab6
Fixed wording.
2016-11-25 15:50:34 +08:00
Shuai Lin
0d2ed6aa87
Only re-run letsencrypt verfication when necessary.
2016-11-25 15:45:47 +08:00
Shuai Lin
acf1a5e77a
Fixed typo.
2016-11-25 14:26:08 +08:00
Shuai Lin
71390ad11f
Make sure nginx is ready when bootstrapping with letsencrypt.
2016-11-25 14:23:48 +08:00
Shuai Lin
b2e7e7f499
Fixed bootstrap for non-https case.
2016-11-25 14:14:30 +08:00
Shuai Lin
500e8a9d15
Use server.letsencrypt instead of server.https
2016-11-21 11:25:56 +08:00
Shuai Lin
ac72dbc171
Fixed scripts.
2016-11-21 10:50:30 +08:00
Shuai Lin
2c5adae1b7
Fixed travis ci.
2016-11-17 12:41:32 +08:00
Shuai Lin
542a57ced4
Fixed letsencrypt init.
2016-11-17 12:40:35 +08:00
Shuai Lin
acad1bd947
Add cron for renewal of letsencrypt certs
2016-11-16 15:41:08 +08:00
Shuai Lin
ec8d6e638d
Handle docker ports mapping.
2016-11-16 09:46:08 +08:00
Shuai Lin
1832ad5acb
Re-organize the build/start phases.
...
- ./launcher bootstrap => init seafile server data & letsencrypt, then
build a local image based on seafileorg/server:<version>
- ./launcher start => start a container using the local image
2016-11-15 16:59:02 +08:00
Shuai Lin
2c5dace56e
Support https with letsencrypt.
...
TODO: add a cron job to renew the certs
2016-11-15 12:11:58 +08:00