Przypływa
Potrzebujemy 2-3 zainteresowane osoby, które są posiadaczami malin, VPSów, NASów itp. do przetestowania wstępnej konfiguracji.
Supla ❤ Docker
Moderator: fracz
Instrukcja instalacji: https://github.com/SUPLA/supla-docker#installation
Filmik z instalacją: https://www.youtube.com/watch?v=MBgRUE_5dFU
Instalacja na RaspberryPI: viewtopic.php?f=40&t=2748
Popularne problemy: https://github.com/SUPLA/supla-docker#troubleshooting
Tryb proxy: viewtopic.php?f=40&t=2955
Uruchomienie razem z SUPLA Scripts na jednej maszynie: viewtopic.php?f=40&t=2695
Filmik z instalacją: https://www.youtube.com/watch?v=MBgRUE_5dFU
Instalacja na RaspberryPI: viewtopic.php?f=40&t=2748
Popularne problemy: https://github.com/SUPLA/supla-docker#troubleshooting
Tryb proxy: viewtopic.php?f=40&t=2955
Uruchomienie razem z SUPLA Scripts na jednej maszynie: viewtopic.php?f=40&t=2695
Zgodnie z sugestią Przemysława zgłaszam się - aktualnie stawiam suplę na VPS Debian8
Jacek
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
Zaglądnąłem na githuba - chyba wielu na to czekało...
https://github.com/SUPLA/supla-docker/b ... /README.md
https://github.com/SUPLA/supla-docker/b ... /README.md
TEORIA jest wtedy gdy wszystko wiemy i nic nie działa
PRAKTYKA jest wtedy gdy wszystko działa a my nie wiemy dlaczego
My łączymy teorię z praktyką czyli nic nie działa i nikt nie wie dlaczego
PRAKTYKA jest wtedy gdy wszystko działa a my nie wiemy dlaczego
My łączymy teorię z praktyką czyli nic nie działa i nikt nie wie dlaczego
Sypie errorami przy starcie
Kod: Zaznacz cały
root@server2:/# git clone https://github.com/SUPLA/supla-docker.git
Cloning into 'supla-docker'...
remote: Counting objects: 179, done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 179 (delta 86), reused 134 (delta 47), pack-reused 0
Receiving objects: 100% (179/179), 44.72 KiB | 0 bytes/s, done.
Resolving deltas: 100% (86/86), done.
Checking connectivity... done.
root@server2:/# ./supla-docker/supla.sh start
Configuration files has been generated based on samples.
Generating self-signed certificates for supla-cloud and supla-server.
Generating a 2048 bit RSA private key
.+++
.........................+++
writing new private key to 'cloud/server.key'
-----
Generating a 2048 bit RSA private key
...............................................+++
.....................................+++
writing new private key to 'server/private.key'
-----
Starting SUPLA containers
Building supla-mysql
Step 1/2 : FROM mysql:5.7.20
---> 7d83a47ab2d2
Step 2/2 : COPY mysql.cnf /etc/mysql/conf.d/mysql.cnf
---> Using cache
---> 7b250e73c9c8
Successfully built 7b250e73c9c8
Successfully tagged supla_supla-mysql:latest
Building supla-server
Step 1/7 : FROM debian:jessie
---> 2fe79f06fa6d
Step 2/7 : RUN apt-get update && apt-get install -y --no-install-recommends git make gcc g++ libmysqlclient-dev libssl-dev wget supervisor ca-certificates ssl-cert && wget https://www.openssl.org/source/openssl-1.0.1t.tar.gz && tar -zxf openssl-1.0.1t.tar.gz && cd openssl-1.0.1t && ./config enable-ssl2 --prefix=/usr/local shared && make depend && make install && rm -fr /openssl-1.0.1t* && cp /usr/local/lib/libcrypto.so.1.0.0 "$(ldconfig -p | grep libcrypto.so.1.0.0$ | awk '{ print $4 }')" && cp /usr/local/lib/libssl.so.1.0.0 "$(ldconfig -p | grep libssl.so.1.0.0$ | awk '{ print $4 }')" && apt-get autoremove && rm -r /var/lib/apt/lists/* && mkdir -p /var/log/supervisor
---> Using cache
---> 0f2d42aa305a
Step 3/7 : ARG SERVER_VERSION=1.8.5
---> Using cache
---> fdeed2cf3789
Step 4/7 : RUN git clone https://github.com/SUPLA/supla-core.git --branch v$SERVER_VERSION /src && cd /src/supla-scheduler/Release && make all && cd /src/supla-server/Release && make all && cp /src/supla-scheduler/Release/supla-scheduler /src/supla-server/Release/supla-server /usr/local/bin && rm -fr /src && mkdir -p /etc/supla-server
---> Using cache
---> 2af7f0cf1a32
Step 5/7 : COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
---> Using cache
---> bb7f0c0f0174
Step 6/7 : COPY supla.cfg /etc/supla-server/supla.cfg
---> feb6534a771f
Step 7/7 : CMD ["/usr/bin/supervisord", "--nodaemon", "--configuration", "/etc/supervisor/conf.d/supervisord.conf"]
---> Running in 52974bd7221e
Removing intermediate container 52974bd7221e
---> 1ff499acb647
Successfully built 1ff499acb647
Successfully tagged supla_supla-server:latest
Building supla-cloud
Step 1/10 : FROM php:7.0.26-apache
---> 61ddb911b08c
Step 2/10 : WORKDIR /var/www
---> Using cache
---> 68fd7c3f35e3
Step 3/10 : RUN apt-get update && apt-get install -y --no-install-recommends libicu-dev libpq-dev ca-certificates ssl-cert libcurl4-gnutls-dev git unzip mysql-client wget && update-ca-certificates && docker-php-ext-install pdo_mysql mbstring opcache intl curl zip && apt-get autoremove && rm -r /var/lib/apt/lists/*
---> Using cache
---> f4a5fe770ac0
Step 4/10 : COPY apache-conf /etc/apache2/sites-available
---> Using cache
---> 090b88b5a4b4
Step 5/10 : RUN a2enmod rewrite expires deflate ssl cgi alias env proxy_http && a2ensite default-ssl
---> Using cache
---> f7bdda9619ad
Step 6/10 : ARG CLOUD_VERSION=2.1.5
---> Using cache
---> 2c8f8a6d4884
Step 7/10 : COPY supla-cloud-v$CLOUD_VERSION.tar.gz ./
ERROR: Service 'supla-cloud' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder434350849/supla-cloud-v2.1.5.tar.gz: no such file or directory
Error: No such container: supla-cloud
Error: No such container: supla-cloud
Error: No such container: supla-cloud
SUPLA crontab already installed
SUPLA containers has been started.