po uruchomieniu strona supli się nie uruchamia
przy wydaniu polecenia restartu dostaje takie komunikaty :
Code: Select all
pi@raspberrypi:~ $ ./supla-docker/supla.sh restart
Stopping SUPLA containers
SUPLA containers has been stopped.
Starting SUPLA containers
Starting supla-db ... error
ERROR: for supla-db Cannot start service supla-db: container "b1c8b98393dc0442af4dbb8510931533076dd5c4062a5b39b34ea971fd131f53": already exists
ERROR: for supla-db Cannot start service supla-db: container "b1c8b98393dc0442af4dbb8510931533076dd5c4062a5b39b34ea971fd131f53": already exists
ERROR: Encountered errors while bringing up the project.
to samo przy supla scripts :
Code: Select all
pi@raspberrypi:~/supla-scripts/docker $ ./suplascripts.sh restart
Stopping SUPLA Scripts containers
SUPLA Scripts containers has been stopped.
___ _ _ ___ _ _
/ __| | | | _ \ | /_\
\__ \ |_| | _/ |__ / _ \
|___/\___/|_| |____/_/ \_\
/ __| __ _ _(_)_ __| |_ ___
\__ \/ _| '_| | '_ \ _(_-<
|___/\__|_| |_| .__/\__/__/
|_| by @fracz
Starting SUPLA Scripts containers
Building suplascripts
Step 1/10 : FROM php:7.0.27-apache
---> 7e11cf36f4f7
Step 2/10 : WORKDIR /var/www
---> Using cache
---> 4a8ed7d35f08
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 supervisor cron wget && update-ca-certificates && docker-php-ext-install pdo_mysql opcache curl zip && apt-get autoremove && rm -r /var/lib/apt/lists/*
---> Using cache
---> a5b5ed6fe09f
Step 4/10 : COPY utils/crontab /etc/cron.d/suplascripts
---> Using cache
---> 1a2e64621b0d
Step 5/10 : RUN { echo 'opcache.memory_consumption=128'; echo 'opcache.interned_strings_buffer=8'; echo 'opcache.max_accelerated_files=4000'; echo 'opcache.revalidate_freq=2'; echo 'opcache.fast_shutdown=1'; echo 'opcache.enable_cli=1'; } > /usr/local/etc/php/conf.d/opcache-recommended.ini && a2enmod rewrite expires deflate ssl cgi alias env && a2ensite default-ssl && chmod 0644 /etc/cron.d/suplascripts
---> Using cache
---> b0b24ff7c3e7
Step 6/10 : ENV SUPLA_SCRIPTS_VERSION=2.7.5
---> Using cache
---> 0a276ef33af8
Step 7/10 : RUN wget -nc https://github.com/fracz/supla-scripts/releases/download/v${SUPLA_SCRIPTS_VERSION}/supla-scripts-${SUPLA_SCRIPTS_VERSION}.tar.gz && tar -xzf supla-scripts-${SUPLA_SCRIPTS_VERSION}.tar.gz -C . && rm -f supla-scripts-${SUPLA_SCRIPTS_VERSION}.tar.gz && chown -hR www-data:www-data .
---> Using cache
---> 4f8873652fda
Step 8/10 : COPY utils/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
---> Using cache
---> 1d661181ba71
Step 9/10 : COPY utils/entrypoint.sh /usr/local/bin/docker-php-entrypoint
---> Using cache
---> 92d77934251c
Step 10/10 : CMD ["/usr/bin/supervisord", "--nodaemon", "--configuration", "/etc/supervisor/conf.d/supervisord.conf"]
---> Using cache
---> 5beb453e4ff3
Successfully built 5beb453e4ff3
Successfully tagged suplascripts_suplascripts:latest
Starting suplascripts-db ... error
ERROR: for suplascripts-db Cannot start service suplascripts-db: container "93d2ff2d3ef241efa6483198cb24dc754bc5fdf27af6edbdf68f0d7653d19445": already exists
ERROR: for suplascripts-db Cannot start service suplascripts-db: container "93d2ff2d3ef241efa6483198cb24dc754bc5fdf27af6edbdf68f0d7653d19445": already exists
ERROR: Encountered errors while bringing up the project.
przy normalnym wylaczeniu maliny wszystko działa
problem jest jedynie przy zaniku zasilania