Status | ||||
---|---|---|---|---|
|
Table of Contents |
---|
Обновление на Linux
Предполагается, что текущая версия находится в папке /opt/iqchannels
.
...
4) Перенесите папку iqchannels-linux
в /otp
и opt
и переименуйте в iqchannels.
Code Block |
---|
$ mv iqchannels-linux /otpopt/iqchannels |
5) Замените файл конфигурации на файл прошлой версии.
...
Code Block |
---|
$ ./bin/iqchanneld.sh start|stop|status iqchanneld stopped |
10) Готово.
Обновление на Windows
Предполагается, что текущая версия находится в папке c:\iqchannels
.
...
Code Block |
---|
.\bin\iqchanneld.exebat migrate 2017/11/15 15:46:45 WARN migrations Migrating... 2017/11/15 15:46:45 WARN migrations Reading migrations from "migrations/postgres" 2017/11/15 15:46:45 WARN migrations Applied 0 migration(s) in 64ms |
...
Code Block |
---|
.\bin\iqchanneld.exebat run 2017/11/15 15:48:13 WARN iqchannels Starting... {id=2c19c140-0664-4972-b614-343c763786d4} 2017/11/15 15:48:13 INFO sender Started a vk sender {id=4a394c01-d123-49b4-8c87-3858aad64ad7} 2017/11/15 15:48:13 INFO pusher Started a pusher {id=03473f54-b2a7-4554-8903-2bfd7a66ebc9} 2017/11/15 15:48:13 INFO sender Started a telegram sender {id=f447540e-5071-4629-91e7-8bb58012e844} 2017/11/15 15:48:13 INFO offliner Started a client offliner {id=68b02811-1ccb-419a-8495-222dfd95bd85} 2017/11/15 15:48:13 INFO autoreplier Started an autoreplier {id=7565d502-ff40-4b4f-a5d2-97a2e97d5ea4} 2017/11/15 15:48:13 INFO offliner Started a user offliner {id=528242e1-d911-4374-8a82-2c637896ebb1} 2017/11/15 15:48:13 INFO sender Started a facebook sender {id=5d89fb1b-fead-412d-9823-ee08568b89a5} 2017/11/15 15:48:13 INFO router Started a router {id=a42db3cb-79d7-4f4b-8954-ebff0088bb83, actor=system} 2017/11/15 15:48:13 INFO sender Started a telegram initializer {id=2078a1d1-9b5c-4b28-a89a-97e5eb2cfd5b, actor=system} 2017/11/15 15:48:13 INFO httpd2 Listening to :3002 {id=5693a1f7-b36d-4f8d-a33e-147a1d09d408} 2017/11/15 15:48:13 INFO httpd1 Listening to :3001 {id=20b2d47e-0e75-4bab-b9d3-08b9910652c7} 2017/11/15 15:48:13 WARN iqchannels Started {id=2c19c140-0664-4972-b614-343c763786d4} |
...
Code Block |
---|
2017/11/15 15:49:36 WARN iqchannels Stopping... {id=1220c686-9a10-4a78-9b92-28d4b0627d1a} 2017/11/15 15:49:36 INFO sender Stopped a vk sender {id=d1da1ff1-beed-412f-9efb-f2071c955ea2} 2017/11/15 15:49:36 INFO httpd2 Stopping... {id=64f06a00-0a3d-4443-b78f-6499b881313e} 2017/11/15 15:49:36 INFO httpd1 Stopping... {id=651db3ad-7d51-4b2e-8de7-8b9111fa93ab} 2017/11/15 15:49:36 INFO router Stopped a router {id=515edada-36ee-4b51-b4f7-72befc27aefc, actor=system} 2017/11/15 15:49:36 INFO pusher Stopped a pusher {id=6d298388-c87a-4bf9-88c4-90f79444c4d5} 2017/11/15 15:49:36 INFO sender Stopped a telegram sender {id=ec8b6453-658e-4c29-b76f-b23bd9420d73} 2017/11/15 15:49:36 INFO sender Stopped a telegram initializer {id=d88a98b0-d7b4-4405-97d9-5fda15f139d9, actor=system} 2017/11/15 15:49:36 INFO autoreplier Stopped an autoreplier {id=062b5927-753a-42a5-bb8d-c4af8707c7a5} 2017/11/15 15:49:36 INFO sender Stopped a facebook sender {id=6cef5418-11a0-43c2-9ee8-d6f03f594a8c} 2017/11/15 15:49:36 INFO offliner Stopped a client offliner {id=2e9dc646-76b1-4f97-9aeb-bbe9f5387665} 2017/11/15 15:49:36 INFO httpd1 Stopped {id=651db3ad-7d51-4b2e-8de7-8b9111fa93ab} 2017/11/15 15:49:36 INFO offliner Stopped a user offliner {id=a32dfd3b-bbfc-4897-9caa-7327a9a5840e} 2017/11/15 15:49:36 INFO httpd2 Stopped {id=64f06a00-0a3d-4443-b78f-6499b881313e} 2017/11/15 15:49:36 WARN iqchannels Stopped {id=1220c686-9a10-4a78-9b92-28d4b0627d1a} |
12) Готово.
Обновление на Docker
Предполагается, что в текущей папке находятся файл config.yaml
и var
для хранения внешних файлов контейнера. Эти файлы были созданы в процессе установки прошлой версии.
...