Otrzymałem na priv od kilku osób informację o udanych instalacjach. W związku z tym odwrócę pytanie - czy komuś się nie udało? Bo jeśli nie było takich osób to możemy uznać temat Dockera za zakończony i od teraz wszystkie pytania typu "jak zainstalować własny serwer" kierować tutaj Nie będzie trzeba czekać też po wydaniu nowych wersji supli na "nowe obrazy na rpi" bo nowe kontenery będą automatycznie budowane przy każdym następnym wydaniu.
Dodatkowo, dzięki uprzejmości @slawek który udostępnił jedną swoją malinę do "testów zniszczeniowych", na docker huba wrzucę także obrazy zbudowane pod procesory ARM - co znacznie przyspieszy instalację i aktualizację Supli na tych urządzeniach. Po potwierdzeniu braku problemów w finalnej konfiguracji wszystko opiszę w instrukcji.
Bardzo dziękuję osobom testującym za wkład w powstanie działającej konfiguracji
Supla ❤ Docker
Moderator: fracz
Instalacja na czystym Debian 8.10 x64 nie udaje się:
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Pulling supla-cloud (supla/supla-cloud:latest)...
latest: Pulling from supla/supla-cloud
f49cf87b52c1: Already exists
7abfca402d9b: Pull complete
502a4f90da60: Pull complete
dd0250641c2a: Pull complete
cf8369e62349: Pull complete
18189b19fc46: Pull complete
59972270bf3b: Pull complete
89bd8d4276cf: Pull complete
b2ea00c88fd6: Pull complete
7c95acf0ef9e: Pull complete
f22c930e4a88: Pull complete
1d12e6cb9982: Pull complete
608c143fff07: Pull complete
d80a3803ec4f: Pull complete
92b2bf971467: Pull complete
d954bbbfa2e1: Pull complete
6c96fccc358c: Pull complete
e77879cffa56: Pull complete
fcc1722a51c5: Pull complete
25e89b7c8013: Pull complete
Digest: sha256:1b14b0b7df6da8aace8a21c1daf8324f2c21d318b892b770e3ea7589bf7832be
Status: Downloaded newer image for supla/supla-cloud:latest
Pulling supla-server (supla/supla-server:latest)...
ERROR: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout
root@supla8:~#
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Pulling supla-cloud (supla/supla-cloud:latest)...
latest: Pulling from supla/supla-cloud
f49cf87b52c1: Already exists
7abfca402d9b: Pull complete
502a4f90da60: Pull complete
dd0250641c2a: Pull complete
cf8369e62349: Pull complete
18189b19fc46: Pull complete
59972270bf3b: Pull complete
89bd8d4276cf: Pull complete
b2ea00c88fd6: Pull complete
7c95acf0ef9e: Pull complete
f22c930e4a88: Pull complete
1d12e6cb9982: Pull complete
608c143fff07: Pull complete
d80a3803ec4f: Pull complete
92b2bf971467: Pull complete
d954bbbfa2e1: Pull complete
6c96fccc358c: Pull complete
e77879cffa56: Pull complete
fcc1722a51c5: Pull complete
25e89b7c8013: Pull complete
Digest: sha256:1b14b0b7df6da8aace8a21c1daf8324f2c21d318b892b770e3ea7589bf7832be
Status: Downloaded newer image for supla/supla-cloud:latest
Pulling supla-server (supla/supla-server:latest)...
ERROR: Get https://registry-1.docker.io/v2/: net/http: TLS handshake timeout
root@supla8:~#
__________________________________________________________
Specjalizowane oprogramowanie do sterowników Sonoff, Gosund, Blitzwolf, Shelly i innych:
https://djack.com.pl/modules.php?name=Downloads&d_op=viewdownload&cid=54
Specjalizowane oprogramowanie do sterowników Sonoff, Gosund, Blitzwolf, Shelly i innych:
https://djack.com.pl/modules.php?name=Downloads&d_op=viewdownload&cid=54
wywala coś takiego na malinie podczas instalacji, dodam że instaluje przez putty
ARM architecture detected. Use the configuration from arm32v7 branch.
Run the following command and try again: git checkout arm32v7
uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
ARM architecture detected. Use the configuration from arm32v7 branch.
Run the following command and try again: git checkout arm32v7
uname -a
Linux raspberrypi 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
Run the following command and try again:Kod: Zaznacz cały
git checkout arm32v7
W katalogu supla-docker który pojawił się po punkcie 2 z instrukcji z githuba wykonaj komendę po czym kontynuuj dalej z instrukcją z Githuba (punkt 3).
Kod: Zaznacz cały
git checkout arm32v7
Przywróciłem debiana do czystej postaci i dwukrotnie wykonałem skryp - teraz występuje inny błąd:
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Creating network "supla_default" with the default driver
Creating volume "supla_supla-server-tmp" with default driver
Pulling supla-db (mysql:5.7.20)...
5.7.20: Pulling from library/mysql
ERROR: Get https://registry-1.docker.io/v2/library ... 1e3ffe60da: net/http: TLS handshake timeout
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Pulling supla-db (mysql:5.7.20)...
5.7.20: Pulling from library/mysql
f49cf87b52c1: Pull complete
78032de49d65: Pull complete
837546b20bc4: Pull complete
9b8316af6cc6: Pull complete
1056cf29b9f1: Pull complete
86f3913b029a: Pull complete
4cbbfc9aebab: Pull complete
8ffd0352f6a8: Pull complete
45d90f823f97: Pull complete
ca2a791aeb35: Pull complete
Digest: sha256:1f95a2ba07ea2ee2800ec8ce3b5370ed4754b0a71d9d11c0c35c934e9708dcf1
Status: Downloaded newer image for mysql:5.7.20
Pulling supla-cloud (supla/supla-cloud:latest)...
latest: Pulling from supla/supla-cloud
f49cf87b52c1: Already exists
7abfca402d9b: Pull complete
502a4f90da60: Pull complete
dd0250641c2a: Pull complete
cf8369e62349: Pull complete
18189b19fc46: Pull complete
59972270bf3b: Pull complete
89bd8d4276cf: Pull complete
b2ea00c88fd6: Pull complete
7c95acf0ef9e: Pull complete
f22c930e4a88: Pull complete
1d12e6cb9982: Pull complete
608c143fff07: Pull complete
d80a3803ec4f: Pull complete
92b2bf971467: Pull complete
d954bbbfa2e1: Pull complete
6c96fccc358c: Pull complete
e77879cffa56: Pull complete
fcc1722a51c5: Pull complete
25e89b7c8013: Pull complete
Digest: sha256:1b14b0b7df6da8aace8a21c1daf8324f2c21d318b892b770e3ea7589bf7832be
Status: Downloaded newer image for supla/supla-cloud:latest
Pulling supla-server (supla/supla-server:latest)...
latest: Pulling from supla/supla-server
f49cf87b52c1: Already exists
1cd726c04982: Pull complete
4eba0b3f21bc: Pull complete
ab45a41bdea8: Pull complete
d6fa4a03b803: Pull complete
a93977edf791: Pull complete
Digest: sha256:e515c0e9c59dacb878048460ee98424985141d0b2e23936e83b7d9a4b371f326
Status: Downloaded newer image for supla/supla-server:latest
Creating supla-db ...
Creating supla-db ... error
ERROR: for supla-db Cannot start service supla-db: cgroups: memory cgroup not supported on this system: unknown
ERROR: for supla-db Cannot start service supla-db: cgroups: memory cgroup not supported on this system: unknown
ERROR: Encountered errors while bringing up the project.
Jacek
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Creating network "supla_default" with the default driver
Creating volume "supla_supla-server-tmp" with default driver
Pulling supla-db (mysql:5.7.20)...
5.7.20: Pulling from library/mysql
ERROR: Get https://registry-1.docker.io/v2/library ... 1e3ffe60da: net/http: TLS handshake timeout
root@supla8:~# supla-docker/supla.sh start
Starting SUPLA containers
Pulling supla-db (mysql:5.7.20)...
5.7.20: Pulling from library/mysql
f49cf87b52c1: Pull complete
78032de49d65: Pull complete
837546b20bc4: Pull complete
9b8316af6cc6: Pull complete
1056cf29b9f1: Pull complete
86f3913b029a: Pull complete
4cbbfc9aebab: Pull complete
8ffd0352f6a8: Pull complete
45d90f823f97: Pull complete
ca2a791aeb35: Pull complete
Digest: sha256:1f95a2ba07ea2ee2800ec8ce3b5370ed4754b0a71d9d11c0c35c934e9708dcf1
Status: Downloaded newer image for mysql:5.7.20
Pulling supla-cloud (supla/supla-cloud:latest)...
latest: Pulling from supla/supla-cloud
f49cf87b52c1: Already exists
7abfca402d9b: Pull complete
502a4f90da60: Pull complete
dd0250641c2a: Pull complete
cf8369e62349: Pull complete
18189b19fc46: Pull complete
59972270bf3b: Pull complete
89bd8d4276cf: Pull complete
b2ea00c88fd6: Pull complete
7c95acf0ef9e: Pull complete
f22c930e4a88: Pull complete
1d12e6cb9982: Pull complete
608c143fff07: Pull complete
d80a3803ec4f: Pull complete
92b2bf971467: Pull complete
d954bbbfa2e1: Pull complete
6c96fccc358c: Pull complete
e77879cffa56: Pull complete
fcc1722a51c5: Pull complete
25e89b7c8013: Pull complete
Digest: sha256:1b14b0b7df6da8aace8a21c1daf8324f2c21d318b892b770e3ea7589bf7832be
Status: Downloaded newer image for supla/supla-cloud:latest
Pulling supla-server (supla/supla-server:latest)...
latest: Pulling from supla/supla-server
f49cf87b52c1: Already exists
1cd726c04982: Pull complete
4eba0b3f21bc: Pull complete
ab45a41bdea8: Pull complete
d6fa4a03b803: Pull complete
a93977edf791: Pull complete
Digest: sha256:e515c0e9c59dacb878048460ee98424985141d0b2e23936e83b7d9a4b371f326
Status: Downloaded newer image for supla/supla-server:latest
Creating supla-db ...
Creating supla-db ... error
ERROR: for supla-db Cannot start service supla-db: cgroups: memory cgroup not supported on this system: unknown
ERROR: for supla-db Cannot start service supla-db: cgroups: memory cgroup not supported on this system: unknown
ERROR: Encountered errors while bringing up the project.
Jacek
__________________________________________________________
Specjalizowane oprogramowanie do sterowników Sonoff, Gosund, Blitzwolf, Shelly i innych:
https://djack.com.pl/modules.php?name=Downloads&d_op=viewdownload&cid=54
Specjalizowane oprogramowanie do sterowników Sonoff, Gosund, Blitzwolf, Shelly i innych:
https://djack.com.pl/modules.php?name=Downloads&d_op=viewdownload&cid=54