Giter VIP home page Giter VIP logo

tasmobackupv1's Introduction

TasmoBackupV1

Backup the configs of all your Tasmota devices

Latest Changes

  • fixed restores
  • added wled backups
  • fix zero size backup bug
  • Add referer for tasmota new security feature
  • fixed mqtt overscanning
  • changed backup downloads to use device name, version, and date
  • added alert if device isn't getting backed up visually
  • fixed sorting on ip and version
  • fix bug when doing mqtt scanning
  • tasmota 9.0 status change
  • recording mac addresses

Features

  • Add single devices
  • Discover devices
  • Backup single devices
  • Backup all devices
  • Remove devices
  • Download individual backups
  • No duplicates (based on IP, and MAC)

WLED

Backups of wled are done via downloading the cfg.json and presets.json and putting them in a zip file. the limited mqtt support in wled means there is no way to automatically scan, so only ip scanning is supported

Install via Hass.io aka HomeAssistant Supervisor

Go into home assisant, then the supervisor Click on the Add-On Store paste in http://github.com/danmed/TasmoBackupV1 into the Add new repository via url box, and click add Scroll down near the bottom and locate TasmoBackup

More info at: https://www.home-assistant.io/hassio/installing_third_party_addons/

Install via Docker-compose

version: '2'
services:
    tasmobackup:
        ports:
            - '8259:80'
        volumes:
            - ./data:/var/www/html/data
        environment:
            # MYSQL env's are not needed if you are using sqlite
            - MYSQL_SERVER=IPADDRESS
            - MYSQL_USERNAME=USERNAME
            - MYSQL_PASSWORD=PASSWORD
            # change below to mysql if you don't want to use sqlite
            # you will need to have a mysql server (set above) with a blank database already created.
            - DBTYPE=sqlite
            # if using Mysql remove the data/ from the below line
            # if using Sqlite the data/ is required!
            - DBNAME=data/tasmobackup
        container_name: TasmoBackup
        image: 'danmed/tasmobackupv1'

Docker Run

SQLITE:

docker run -d -p 8259:80 -v ./data:/var/www/html/data -e DBTYPE=sqlite -e DBNAME=data/tasmobackup --name TasmoBackup danmed/tasmobackupv1

Note : pay attention to the difference's between the sqlite and mysql database names.

MYSQL:

docker run -d -p 8259:80 -v ./data:/var/www/html/data -e DBTYPE=mysql -e MYSQL_SERVER=192.168.2.10 -e MYSQL_USERNAME=root -e MYSQL_PASSWORD=password -e DBNAME=tasmobackup --name TasmoBackup danmed/tasmobackupv1

Install via Raw PHP

git clone https://github.com/danmed/TasmoBackupV1
cd TasmoBackupV1
mkdir data
chown www-data data
cp config.inc.php.example data/config.inc.php

Edit data/config.inc.php if you wish to change to using mysql database instead of sqlite. Make sure the data directory is owned by the user php runs as, or it will not be able to save your backups or create/update the sqlite file

Run the upgrade.php script to initialize your new database, or to upgrade your existing one when changing versions.

Scheduled Backups

  • backupall.php exists to do literally that.. Schedule this with your chosen means (nodered, curl, scheduled tasks etc)

Screenshots

Alt text Alt text Alt text Alt text

To-Do

  • Handle device changes ip address
  • Parse backup configs

Support

ko-fi

tasmobackupv1's People

Contributors

clmcavaney avatar danmed avatar patrickdk77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tasmobackupv1's Issues

Bundle external sources

Quiet useful!
However, currently this service makes requests to:
ajax.googleapis.com
bootstrapcdn.com
datatables.com
googletagmanager.com

I dont think this app requires any of the above to be external, especially the tracking. Could you bundle bootstrap and such together so that this app is still usable in a network that does not allow connections to those sites?

Docker image can't connect to MySQL server

Hi,

Just started my TasmoBackup Docker image, but whatever I try, I can't get it to connect to my MySQL (MariaDB) server.
Other applications can connect to it without issues.

The log shows:

`

021-09-03 15:29:31 stdout thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.206.200:8259"
2021-09-03 15:29:31 stdout #3 {main}
2021-09-03 15:29:31 stdout #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-03 15:29:31 stdout #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-03 15:29:31 stdout #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'tasmobackup', 'Vcv97u36f7Upk8r...')
2021-09-03 15:29:31 stdout Stack trace:
2021-09-03 15:29:31 stdout 2021/09/03 17:29:31 [error] 50#50: *28 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/lib/db.inc.php:9
2021-09-03 15:29:31 stdout 172.17.0.1 - - [03/Sep/2021:17:29:31 +0200] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0" "-" 0.030 0.029 . -
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "  thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "#3 {main}"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'tasmobackup', 'Vcv97u36f7Upk8r...')"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "Stack trace:"
2021-09-03 15:29:31 stdout [03-Sep-2021 17:29:31] WARNING: [pool www] child 141 said into stderr: "NOTICE: PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/lib/db.inc.php:9"
`

Not sure what to check/try next.

Hope someone can point me in the right direction.

Include this in "Tasmo Admin"

Just a suggestion to reachout to "Tasmo Admin" and include this entire functionality there as a onestop "Tasmo Admin" add-on.

[FR] Add-on Logo

I have been really sad looking at the tasmobackup add-in and not seeing a logo. Because you have not set the logo to be shown, all we see is a weird green puzzle piece. I see you have a logo in your repo here, so it does exist.
In case you did not have a logo I built one you can have as well. Which ever logo you want to connect to this great software, you really should add it to the add-in so it shows up in the menu's (on the left side) and in the supervisor grid.

tasmobackup_logo

tasmobackup_logo

Screenshot_2021-05-27_19-50-58

Screenshot_2021-05-27_19-51-53

ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved

I am getting an error in the HA log most times, not all times, when triggering the backup via rest command. The back-up is occurring, so this may be some HA thing and not yours, but it wasn't logged here so I thought I should let you know. I see it when triggering the command from the HA service call panel. I don't know if it is happening on my overnight backup, I will have to look. That is called in an automation as the service so probably.
I love the add-on version and recently converted from the docker loaded version. Thanks for your hard work getting this going!
Another complaint, how come I don't see a 'buy me a coffee' link, I'd like to send you a thank-you!

Addon version:
1.03.12
Addon config:

DBTYPE: sqlite
DBNAME: data/tasmobackupdb
(and the port is set to 8259)

Here is the rest_command.yaml:

---
  tasmoadmin_backup:
    url: http://192.168.57.67:8259/backupall.php
    method: GET

HA Log text:

2020-03-22 11:54:32 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rest_command/__init__.py", line 119, in async_service_handler
    timeout=timeout,
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 504, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 860, in start
    self._continue = None
  File "/usr/local/lib/python3.7/site-packages/aiohttp/helpers.py", line 586, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1257, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/components/rest_command/__init__.py", line 136, in async_service_handler
    _LOGGER.warning("Timeout call %s.", response.url, exc_info=1)
UnboundLocalError: local variable 'response' referenced before assignment

2020-03-22 11:55:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/rest_command/__init__.py", line 119, in async_service_handler
    timeout=timeout,
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 1012, in __aenter__
    self._resp = await self._coro
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client.py", line 504, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 860, in start
    self._continue = None
  File "/usr/local/lib/python3.7/site-packages/aiohttp/helpers.py", line 586, in __exit__
    raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1257, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/components/rest_command/__init__.py", line 136, in async_service_handler
    _LOGGER.warning("Timeout call %s.", response.url, exc_info=1)
UnboundLocalError: local variable 'response' referenced before assignment
Connected

Device not responding to status request

When I attempt to add my Tasmota flashed (8.3.1) NodeMCU to Tasmobackup I'm getting the following response: Device not responding to status request. I reviewed the console and it looks like the NodeMCU is rebooting when being queried by TasmoBackup.

can't start addon on HA 0.114.3

Version: 1.03.20
installed via hassio suprevisor
dafault config
on:

arch | x86_64
dev | false
docker | true
docker_version | 19.03.12
hassio | true
host_os | Ubuntu 18.04.5 LTS
installation_type | Home Assistant Supervised
os_name | Linux
os_version | 4.15.0-112-generic
python_version | 3.8.3
supervisor | 235
version | 0.114.3
virtualenv | false

2020-08-27 13:09:28,770 INFO Set uid to user 0 succeeded
2020-08-27 13:09:28,772 INFO supervisord started with pid 10
2020-08-27 13:09:29,774 INFO spawned: 'processes' with pid 28
2020-08-27 13:09:29,777 INFO spawned: 'nginx' with pid 29
2020-08-27 13:09:29,780 INFO spawned: 'php-fpm' with pid 30
wait-for-it.sh: waiting 45 seconds for 127.0.0.1:9000
[27-Aug-2020 13:09:29] NOTICE: fpm is running, pid 30
[27-Aug-2020 13:09:29] NOTICE: ready to handle connections
wait-for-it.sh: 127.0.0.1:9000 is available after 1 seconds
2020-08-27 13:09:30,803 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-08-27 13:09:30,803 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020/08/27 13:09:30 [emerg] 29#29: socket() [::]:80 failed (97: Address family not supported by protocol)
2020-08-27 13:09:30,817 INFO exited: nginx (exit status 1; not expected)
2020-08-27 13:09:32,821 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2020-08-27 13:09:32,821 WARN received SIGQUIT indicating exit request
2020-08-27 13:09:32,821 INFO waiting for processes, php-fpm to die
[27-Aug-2020 13:09:32] NOTICE: Terminating ...
[27-Aug-2020 13:09:32] NOTICE: exiting, bye-bye!
2020-08-27 13:09:32,827 INFO stopped: php-fpm (exit status 0)
2020-08-27 13:09:33,829 INFO stopped: processes (terminated by SIGTERM)

Tasmo backup can not be installed sinds update to 1.3.13

Tasmo backup cannot be installed on Hassio.
hassio says there is a update 1.3.13 gutt there is no update to 1.3.13

log error:
20-03-23 07:45:19 ERROR (SyncWorker_7) [supervisor.docker.interface] Can't install danmed/tasmobackupv1:1.03.13 -> 404 Client Error: Not Found ("manifest for danmed/tasmobackupv1:1.03.13 not found: manifest unknown: manifest unknown").

Unable to enter the plugin interface

Hi @patrickdk77 ,
I spent quite a few hours trying to figure out where there is a problem without success. Installation completed successfully and still for some reason I am unable to enter the plugin interface. I attached the log
2021-09-11_09-56-46
.

TasmoBackup

date stream content
2021-09-11 06:08:07 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 06:08:07 stderr #3 {main}
2021-09-11 06:08:07 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 06:08:07 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 06:08:07 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 06:08:07 stderr Stack trace:
2021-09-11 06:08:07 stderr 2021/09/11 06:08:07 [error] 47#47: *1388 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "#3 {main}"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "Stack trace:"
2021-09-11 06:08:07 stderr [11-Sep-2021 06:08:07] WARNING: [pool www] child 5623 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 06:08:07 stdout 127.0.0.1 - - [11/Sep/2021:06:08:07 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 4.787 4.787 . -
2021-09-11 06:07:29 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.2.20:8259"
2021-09-11 06:07:29 stderr #3 {main}
2021-09-11 06:07:29 stderr #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-11 06:07:29 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 06:07:29 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 06:07:29 stderr Stack trace:
2021-09-11 06:07:29 stderr 2021/09/11 06:07:29 [error] 47#47: *1383 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "#3 {main}"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "Stack trace:"
2021-09-11 06:07:29 stderr [11-Sep-2021 06:07:29] WARNING: [pool www] child 5614 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 06:07:29 stdout 172.17.0.1 - - [11/Sep/2021:06:07:29 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38" "-" 3.164 3.164 . -
2021-09-11 05:08:03 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 05:08:03 stderr #3 {main}
2021-09-11 05:08:03 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 05:08:03 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 05:08:03 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 05:08:03 stderr Stack trace:
2021-09-11 05:08:03 stderr 2021/09/11 05:08:03 [error] 47#47: *1147 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "#3 {main}"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "Stack trace:"
2021-09-11 05:08:03 stderr [11-Sep-2021 05:08:03] WARNING: [pool www] child 4658 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 05:08:03 stdout 127.0.0.1 - - [11/Sep/2021:05:08:03 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 3.098 3.098 . -
2021-09-11 04:08:03 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 04:08:03 stderr #3 {main}
2021-09-11 04:08:03 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 04:08:03 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 04:08:03 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 04:08:03 stderr Stack trace:
2021-09-11 04:08:03 stderr 2021/09/11 04:08:03 [error] 47#47: *907 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "#3 {main}"
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 04:08:03 stdout 127.0.0.1 - - [11/Sep/2021:04:08:03 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 3.153 3.153 . -
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "Stack trace:"
2021-09-11 04:08:03 stderr [11-Sep-2021 04:08:03] WARNING: [pool www] child 3681 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 03:08:03 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 03:08:03 stderr #3 {main}
2021-09-11 03:08:03 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 03:08:03 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 03:08:03 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 03:08:03 stderr Stack trace:
2021-09-11 03:08:03 stderr 2021/09/11 03:08:03 [error] 47#47: *669 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "#3 {main}"
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 03:08:03 stdout 127.0.0.1 - - [11/Sep/2021:03:08:03 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 3.099 3.099 . -
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "Stack trace:"
2021-09-11 03:08:03 stderr [11-Sep-2021 03:08:03] WARNING: [pool www] child 2721 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 02:08:03 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 02:08:03 stderr #3 {main}
2021-09-11 02:08:03 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 02:08:03 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 02:08:03 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 02:08:03 stderr Stack trace:
2021-09-11 02:08:03 stderr 2021/09/11 02:08:03 [error] 47#47: *429 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "#3 {main}"
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "Stack trace:"
2021-09-11 02:08:03 stdout 127.0.0.1 - - [11/Sep/2021:02:08:03 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 3.065 3.065 . -
2021-09-11 02:08:03 stderr [11-Sep-2021 02:08:03] WARNING: [pool www] child 1763 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 01:08:03 stdout 127.0.0.1 - - [11/Sep/2021:01:08:03 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 3.139 3.138 . -
2021-09-11 01:08:03 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"
2021-09-11 01:08:03 stderr #3 {main}
2021-09-11 01:08:03 stderr #2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')
2021-09-11 01:08:03 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 01:08:03 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 01:08:03 stderr Stack trace:
2021-09-11 01:08:03 stderr 2021/09/11 01:08:03 [error] 47#47: *191 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "#3 {main}"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "#2 /var/www/html/backupall.php(3): require_once('/var/www/html/l...')"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "Stack trace:"
2021-09-11 01:08:03 stderr [11-Sep-2021 01:08:03] WARNING: [pool www] child 790 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 00:44:43 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.2.20:8259"
2021-09-11 00:44:43 stderr #3 {main}
2021-09-11 00:44:43 stderr #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-11 00:44:43 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:44:43 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:44:43 stderr Stack trace:
2021-09-11 00:44:43 stderr 2021/09/11 00:44:43 [error] 47#47: *97 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "#3 {main}"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "Stack trace:"
2021-09-11 00:44:43 stderr [11-Sep-2021 00:44:43] WARNING: [pool www] child 407 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 00:44:43 stdout 172.17.0.1 - - [11/Sep/2021:00:44:43 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38" "-" 3.121 3.121 . -
2021-09-11 00:22:19 stdout 172.17.0.1 - - [11/Sep/2021:00:22:19 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38" "-" 3.036 3.035 . -
2021-09-11 00:22:19 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.2.20:8259"
2021-09-11 00:22:19 stderr #3 {main}
2021-09-11 00:22:19 stderr #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-11 00:22:19 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:22:19 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:22:19 stderr Stack trace:
2021-09-11 00:22:19 stderr 2021/09/11 00:22:19 [error] 47#47: *3 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "#3 {main}"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "Stack trace:"
2021-09-11 00:22:19 stderr [11-Sep-2021 00:22:19] WARNING: [pool www] child 55 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 00:21:32 stdout 2021-09-11 00:21:32,811 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2021-09-11 00:21:31 stdout 2021-09-11 00:21:31,810 INFO reaped unknown pid 33 (exit status 0)
2021-09-11 00:21:30 stdout 2021-09-11 00:21:30,809 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:21:30 stdout 2021-09-11 00:21:30,809 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:21:30 stderr wait-for-it.sh: localhost:9000 is available after 1 seconds
2021-09-11 00:21:29 stderr [11-Sep-2021 00:21:29] NOTICE: ready to handle connections
2021-09-11 00:21:29 stderr [11-Sep-2021 00:21:29] NOTICE: fpm is running, pid 21
2021-09-11 00:21:29 stderr [11-Sep-2021 00:21:29] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:21:29 stderr [11-Sep-2021 00:21:29] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:21:29 stderr wait-for-it.sh: waiting 45 seconds for localhost:9000
2021-09-11 00:21:29 stdout 2021-09-11 00:21:29,776 INFO spawned: 'php-fpm' with pid 21
2021-09-11 00:21:29 stdout 2021-09-11 00:21:29,773 INFO spawned: 'nginx' with pid 20
2021-09-11 00:21:29 stdout 2021-09-11 00:21:29,771 INFO spawned: 'processes' with pid 19
2021-09-11 00:21:28 stdout 2021-09-11 00:21:28,770 INFO supervisord started with pid 1
2021-09-11 00:21:28 stdout 2021-09-11 00:21:28,765 INFO Set uid to user 0 succeeded
2021-09-11 00:21:28 stderr thrown in /var/www/html/lib/db.inc.php on line 9
2021-09-11 00:21:28 stderr #3 {main}
2021-09-11 00:21:28 stderr #2 /var/www/html/upgrade.php(2): require_once('/var/www/html/l...')
2021-09-11 00:21:28 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:21:28 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:21:28 stderr Stack trace:
2021-09-11 00:21:28 stderr PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:21:18 stdout 2021-09-11 00:21:18,054 INFO stopped: processes (terminated by SIGTERM)
2021-09-11 00:21:18 stdout 2021-09-11 00:21:18,053 INFO stopped: nginx (exit status 0)
2021-09-11 00:21:18 stdout 2021-09-11 00:21:18,042 INFO stopped: php-fpm (exit status 0)
2021-09-11 00:21:17 stderr [11-Sep-2021 00:21:17] NOTICE: exiting, bye-bye!
2021-09-11 00:21:17 stderr [11-Sep-2021 00:21:17] NOTICE: Terminating ...
2021-09-11 00:21:17 stdout 2021-09-11 00:21:17,009 INFO waiting for processes, nginx, php-fpm to die
2021-09-11 00:21:17 stdout 2021-09-11 00:21:17,009 WARN received SIGTERM indicating exit request
2021-09-11 00:20:49 stdout 172.17.0.1 - - [11/Sep/2021:00:20:49 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38" "-" 3.015 3.015 . -
2021-09-11 00:20:49 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.2.20:8259"
2021-09-11 00:20:49 stderr #3 {main}
2021-09-11 00:20:49 stderr #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-11 00:20:49 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:20:49 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:20:49 stderr Stack trace:
2021-09-11 00:20:49 stderr 2021/09/11 00:20:49 [error] 47#47: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "#3 {main}"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "Stack trace:"
2021-09-11 00:20:49 stderr [11-Sep-2021 00:20:49] WARNING: [pool www] child 45 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 00:20:48 stdout 2021-09-11 00:20:48,352 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2021-09-11 00:20:47 stdout 2021-09-11 00:20:47,351 INFO reaped unknown pid 33 (exit status 0)
2021-09-11 00:20:46 stderr wait-for-it.sh: localhost:9000 is available after 1 seconds
2021-09-11 00:20:46 stdout 2021-09-11 00:20:46,350 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:20:46 stdout 2021-09-11 00:20:46,350 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:20:45 stderr [11-Sep-2021 00:20:45] NOTICE: ready to handle connections
2021-09-11 00:20:45 stderr [11-Sep-2021 00:20:45] NOTICE: fpm is running, pid 21
2021-09-11 00:20:45 stderr [11-Sep-2021 00:20:45] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:20:45 stderr [11-Sep-2021 00:20:45] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:20:45 stderr wait-for-it.sh: waiting 45 seconds for localhost:9000
2021-09-11 00:20:45 stdout 2021-09-11 00:20:45,329 INFO spawned: 'php-fpm' with pid 21
2021-09-11 00:20:45 stdout 2021-09-11 00:20:45,327 INFO spawned: 'nginx' with pid 20
2021-09-11 00:20:45 stdout 2021-09-11 00:20:45,324 INFO spawned: 'processes' with pid 19
2021-09-11 00:20:44 stdout 2021-09-11 00:20:44,321 INFO supervisord started with pid 1
2021-09-11 00:20:44 stdout 2021-09-11 00:20:44,315 INFO Set uid to user 0 succeeded
2021-09-11 00:20:42 stderr thrown in /var/www/html/lib/db.inc.php on line 9
2021-09-11 00:20:42 stderr #3 {main}
2021-09-11 00:20:42 stderr #2 /var/www/html/upgrade.php(2): require_once('/var/www/html/l...')
2021-09-11 00:20:42 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:20:42 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:20:42 stderr Stack trace:
2021-09-11 00:20:42 stderr PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:19:25 stdout 2021-09-11 00:19:25,766 INFO stopped: processes (terminated by SIGTERM)
2021-09-11 00:19:25 stdout 2021-09-11 00:19:25,765 INFO stopped: nginx (exit status 0)
2021-09-11 00:19:25 stdout 2021-09-11 00:19:25,754 INFO stopped: php-fpm (exit status 0)
2021-09-11 00:19:24 stderr [11-Sep-2021 00:19:24] NOTICE: exiting, bye-bye!
2021-09-11 00:19:24 stderr [11-Sep-2021 00:19:24] NOTICE: Terminating ...
2021-09-11 00:19:24 stdout 2021-09-11 00:19:24,746 INFO waiting for processes, nginx, php-fpm to die
2021-09-11 00:19:24 stdout 2021-09-11 00:19:24,746 WARN received SIGTERM indicating exit request
2021-09-11 00:18:13 stderr thrown in /var/www/html/lib/db.inc.php on line 9" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "192.168.2.20:8259"
2021-09-11 00:18:13 stderr #3 {main}
2021-09-11 00:18:13 stderr #2 /var/www/html/index.php(2): require_once('/var/www/html/l...')
2021-09-11 00:18:13 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:18:13 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:18:13 stderr Stack trace:
2021-09-11 00:18:13 stderr 2021/09/11 00:18:13 [error] 46#46: *2 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:18:13 stdout 172.17.0.1 - - [11/Sep/2021:00:18:13 +0000] "GET / HTTP/1.1" 500 5 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36 Edg/93.0.961.38" "-" 3.031 3.030 . -
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: " thrown in /var/www/html/lib/db.inc.php on line 9"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "#3 {main}"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "#2 /var/www/html/index.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "#1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "#0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "Stack trace:"
2021-09-11 00:18:13 stderr [11-Sep-2021 00:18:13] WARNING: [pool www] child 47 said into stderr: "NOTICE: PHP message: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9"
2021-09-11 00:17:52 stdout 2021-09-11 00:17:52,784 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2021-09-11 00:17:51 stdout 2021-09-11 00:17:51,783 INFO reaped unknown pid 32 (exit status 0)
2021-09-11 00:17:50 stderr wait-for-it.sh: localhost:9000 is available after 1 seconds
2021-09-11 00:17:50 stdout 2021-09-11 00:17:50,782 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:17:50 stdout 2021-09-11 00:17:50,782 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:17:50 stderr [11-Sep-2021 00:17:50] NOTICE: ready to handle connections
2021-09-11 00:17:50 stderr [11-Sep-2021 00:17:50] NOTICE: fpm is running, pid 20
2021-09-11 00:17:50 stderr [11-Sep-2021 00:17:50] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:17:50 stderr [11-Sep-2021 00:17:50] WARNING: Found multiple addresses for localhost, ::1 ignored
2021-09-11 00:17:49 stderr wait-for-it.sh: waiting 45 seconds for localhost:9000
2021-09-11 00:17:49 stdout 2021-09-11 00:17:49,634 INFO spawned: 'php-fpm' with pid 20
2021-09-11 00:17:49 stdout 2021-09-11 00:17:49,629 INFO spawned: 'nginx' with pid 19
2021-09-11 00:17:49 stdout 2021-09-11 00:17:49,627 INFO spawned: 'processes' with pid 18
2021-09-11 00:17:48 stdout 2021-09-11 00:17:48,625 INFO supervisord started with pid 1
2021-09-11 00:17:48 stdout 2021-09-11 00:17:48,605 INFO Set uid to user 0 succeeded
2021-09-11 00:17:46 stderr thrown in /var/www/html/lib/db.inc.php on line 9
2021-09-11 00:17:46 stderr #3 {main}
2021-09-11 00:17:46 stderr #2 /var/www/html/upgrade.php(2): require_once('/var/www/html/l...')
2021-09-11 00:17:46 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:17:46 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:17:46 stderr Stack trace:
2021-09-11 00:17:46 stderr PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:12:12 stdout 2021-09-11 00:12:12,362 INFO stopped: processes (terminated by SIGTERM)
2021-09-11 00:12:12 stdout 2021-09-11 00:12:12,362 INFO stopped: nginx (exit status 0)
2021-09-11 00:12:12 stdout 2021-09-11 00:12:12,350 INFO stopped: php-fpm (exit status 0)
2021-09-11 00:12:11 stderr [11-Sep-2021 00:12:11] NOTICE: exiting, bye-bye!
2021-09-11 00:12:11 stderr [11-Sep-2021 00:12:11] NOTICE: Terminating ...
2021-09-11 00:12:11 stdout 2021-09-11 00:12:11,342 INFO waiting for processes, nginx, php-fpm to die
2021-09-11 00:12:11 stdout 2021-09-11 00:12:11,342 WARN received SIGTERM indicating exit request
2021-09-11 00:11:54 stdout 2021-09-11 00:11:54,326 INFO reaped unknown pid 44 (exit status 0)
2021-09-11 00:11:54 stdout 2021-09-11 00:11:54,326 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)
2021-09-11 00:11:53 stderr wait-for-it.sh: localhost:9000 is available after 2 seconds
2021-09-11 00:11:52 stderr [11-Sep-2021 00:11:52] NOTICE: ready to handle connections
2021-09-11 00:11:52 stderr [11-Sep-2021 00:11:52] NOTICE: fpm is running, pid 32
2021-09-11 00:11:52 stdout 2021-09-11 00:11:52,322 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:11:52 stdout 2021-09-11 00:11:52,322 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-09-11 00:11:51 stderr wait-for-it.sh: waiting 45 seconds for localhost:9000
2021-09-11 00:11:51 stdout 2021-09-11 00:11:51,282 INFO spawned: 'php-fpm' with pid 32
2021-09-11 00:11:51 stdout 2021-09-11 00:11:51,278 INFO spawned: 'nginx' with pid 31
2021-09-11 00:11:51 stdout 2021-09-11 00:11:51,276 INFO spawned: 'processes' with pid 30
2021-09-11 00:11:50 stdout 2021-09-11 00:11:50,273 INFO supervisord started with pid 1
2021-09-11 00:11:50 stdout 2021-09-11 00:11:50,267 INFO Set uid to user 0 succeeded
2021-09-11 00:11:47 stderr thrown in /var/www/html/lib/db.inc.php on line 9
2021-09-11 00:11:47 stderr #3 {main}
2021-09-11 00:11:47 stderr #2 /var/www/html/upgrade.php(2): require_once('/var/www/html/l...')
2021-09-11 00:11:47 stderr #1 /var/www/html/lib/functions.inc.php(2): require_once('/var/www/html/l...')
2021-09-11 00:11:47 stderr #0 /var/www/html/lib/db.inc.php(9): PDO->__construct('mysql:host=192....', 'root', 'password')
2021-09-11 00:11:47 stderr Stack trace:
2021-09-11 00:11:47 stderr PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Host is unreachable in /var/www/html/lib/db.inc.php:9
2021-09-11 00:11:43 stderr mkdir: can't create directory '/var/www/html/data': File exists
2021-09-11 00:11:42 stdout PING localhost (::1): 56 data bytes
2021-09-11 00:11:42 stdout round-trip min/avg/max = 0.061/0.061/0.061 ms
2021-09-11 00:11:42 stdout 1 packets transmitted, 1 packets received, 0% packet loss
2021-09-11 00:11:42 stderr ping: sendto: Address not available
2021-09-11 00:11:42 stdout --- localhost ping statistics ---
2021-09-11 00:11:42 stdout
2021-09-11 00:11:42 stdout PING localhost (127.0.0.1): 56 data bytes

This site can’t be reached

This site can’t be reached - after last update today.
Logs:
2020-02-25 00:32:20,061 INFO Set uid to user 0 succeeded
2020-02-25 00:32:20,063 INFO supervisord started with pid 1
2020-02-25 00:32:21,065 INFO spawned: 'nginx' with pid 13
2020-02-25 00:32:21,066 INFO spawned: 'php-fpm' with pid 14
[25-Feb-2020 00:32:21] NOTICE: fpm is running, pid 14
[25-Feb-2020 00:32:21] NOTICE: ready to handle connections
2020-02-25 00:32:22,102 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-02-25 00:32:22,102 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Download All Backups

Add a general download option to download "the latest" or "all" backups of all/selected devices.

This could work with a checkbox list on the device list page to select which devices to download the backup of.

  • This checkbox list functionality is implemented on TasmoAdmin so if a "merger" is on the cards then hold of on duplicating all this.

Feature Request: Send Tasmota console command to selected devices

Hi, this is a fantastic Addon. Congrats on a great job. Well done.
I know it's designed for Tasmota backups, but often I find I need to issue the same command on multiple devices and it's a real pain to visit each of those devices and enter the console command for each. eg upgrading versions, or setting fade values for lights etc. Just as it is to back them up 😄 and presumably why you created this masterpiece in the first place.
Since you have already created a fantastic frontend to see and select Tasmota devices, I was wondering if it would be possible to add a "broadcast" command to the selected devices. I assume that is what you do to do the backups?

Extra ?> in edit.php

There's an extra "?>" in edit.php:

diff --git a/edit.php b/edit.php
index 6cb93dd..0e2af38 100644
--- a/edit.php
+++ b/edit.php
@@ -34,7 +34,7 @@ $relcount = 1;
         $id = $relcount;
         $name = $db_field['name'];
         $ip = $db_field['ip'];
-        $password = $db_field['password']; ?>
+        $password = $db_field['password'];
 ?>
 <tr valign='middle'>
 <form method='POST' action='index.php'>

9.0.0.3 Tasmota devices not backing up

I have loaded the Tasmota DEV version 9.0.0.3 in order to test out the Tasmota Integration in 0.117.1.
I have found that devices that are running 9.0.0.3 are not discoverable by TasmoBackup. I realize 9.0.0.3 is a dev version, but I wanted you to be aware in case there is a change that you will need to react to.

Screenshot from 2020-10-31 18-31-52
Screenshot from 2020-10-31 18-32-14

9.5.0.6 (tasmota) dont do backups

i just notice that if you upgrade to 9.5.0.6 the backups fail , not sure if is only on my end but my devices with 9.5.0.3 tasmota the backups made it , , for testing just upgrade one of my 9.5.0.3 to 9.5.0.6 and now the backup fails

Auto Backup Failing

127.0.0.1 - - [03/Feb/2021:13:08:00 +0000] "GET /backupall.php?docker=true HTTP/1.1" 500 5 "-" "Wget" "-" 0.002 0.000 . -
2021/02/03 13:08:00 [error] 51#51: *227 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function setupMQTT() in /var/www/html/lib/functions.inc.php:369
Stack trace:
#0 /var/www/html/backupall.php(5): backupAll(true)
#1 {main}
thrown in /var/www/html/lib/functions.inc.php on line 369" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /backupall.php?docker=true HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "127.0.0.1"
NOTICE: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function setupMQTT() in /var/www/html/lib/functions.inc.php:369
Stack trace:
#0 /var/www/html/backupall.php(5): backupAll(true)
#1 {main}
thrown in /var/www/html/lib/functions.inc.php on line 369

HTTP ERROR 500

Latest version just installed, but pressing the Save button on the Setup Screen results in a HTTP ERROR 500. Running in Docker version 20.10.3-0552 on Synology NAS, DSM version 6.2.4-25556 (current version).

image

ip range Discovery not working (Hass.io - Unraid - Win Docker)

I am running hass.io (unraid -> docker/windows) and installed the tasmoback (1.02).

It does NOT Discover tasmota devices UNLESS I use ADD button to add them manually (hard to do when I have 50+ devices.) one by one!

Do have any idea why? range (e.g. 192.168.200.1-255) does not work?

Thanks

dark theme feature request

would rox to have a dark theme option...
also would be nice to have a fancy icon for the addon, sense now all addons in HA have fancy icons

IP Address sorting doesn't work correctly

IP Addresses are being sorted as text values. Hence 192.168.0.100 is shown as coming before 192.168.0.20.
The best way to fix this is convert the IP address to a number and use that for sorting.

Editing Name always fails with "Error updating record for ..."

Attempting to edit a name , (rather than remove and re-add the device) always results in an error message.

E.G.
Error updating record for 192.168.20.154 PlugA Spare

Backups work fine, I can remove / re-add without issues.

Using latest release, version: 1.04.02

localhost name resolution

When deploying on a Kubernetes cluster I noticed that it was the container would start up and then after a bit enter a CrashLoopBackOff State. I did some debugging and it has to do with the wait-for-it.sh script looking at localhost and port 9000. When pinging the localhost it would always come back with the IPv6 address. The /etc/php7/php-fpm.d/www.conf file is configured to listen on ip 127.0.0.1 and port 9000 so when the wait-for-it.sh script executes it's not trying the IPv4 address causing the wait-for-it.sh script to fail.

To fix it I removed the IPv6 line from the /etc/hosts.

Feature Request - Display MAC address with IP or in own column

I recently had a number of devices reset themselves. So went to restore backups, which worked well, thank you!
However, what didn't work well, since the devices reset, their names were not what TasmoBackup displays, but the tasmota-XXXXX format on WiFi. Would be great if I could easily see which device that is based on a search (mac address info when you click the name of the device in TasmoBackup isn't found). Or simply displaying under the IP address, or in its own column in the gui would be great!

Thank you

MQTT Discovery

Im struggling with discovery finding devices? If I change the MQTT topic format to "%prefix%/sonoff/%topic%" it doesnt send out mqtt message anymore. Im a doing this correcly?

image

image

Feature request: Could TasmoBackup in the future, include -

  • EspHomeBackup? I have a lot of Sonoff switches, half of them ESP-Home, half tasmota, both of them dissapear on reinstall of homeassistant, so at the moment i have a handfull of devices which isnt visible in HomeAssisstant, which is annoying.

If TasmoBackup could find both systems, it would be great, and then I might put tasmota on them all - its exactly this find all functionality im missing! (o;

TasmoBackup is an important innovation, and things take time, but if you would consider this new functionality i would be gratefull!

Permission denied for Home Assistant addon

Hi,

running Home Assistant 0.114.4. I'm interested in using TasmoBackup and found your project.
Tried to add TasmoBackupV1 as addon, but when starting i get:

PHP Warning:  require_once(/var/www/html/lib/../data/config.inc.php): failed to open stream: Permission denied in /var/www/html/lib/db.inc.php on line 3
PHP Fatal error:  require_once(): Failed opening required '/var/www/html/lib/../data/config.inc.php' (include_path='.:/usr/share/php7') in /var/www/html/lib/db.inc.php on line 3

What could be the reason?

Max backups being ignored

Thanks for looking into this! That delete backup option would be awesome.

  • As for Max backups; i am using the backupall.php and its still surpassing the max backup count. I even just pressed on the backup all button and it went past 5 even though my max is set to 5.

Originally posted by @iptvcld in #10 (comment)

Cannot add wled backup

Scanning finds the wled instance, but after I click 'add' it shows an error:

192.168.10.39: Device not found.

I tried both wled 0.13b0 and 0.12

Device name VS Friendly Name

Hi,
I updated my Tasmota to 8.3.1 and the new future is "Device Name", and now TasmoBackupV1 pick up my Friendly Name 1, witch isn't currect, I also use SO19.
can you change (or add option for Tasmota version grater then 8.3) to use it insted.
Thank you,
Dov

Hassio addon error

when startinf hassio addon getting this error

rm: can't remove '/var/www/html/data': No such file or directory
2020-02-24 20:56:36,458 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2020-02-24 20:56:36,465 INFO supervisord started with pid 7
2020-02-24 20:56:37,469 INFO spawned: 'nginx' with pid 22
2020-02-24 20:56:37,473 INFO spawned: 'php-fpm' with pid 23
[24-Feb-2020 20:56:37] NOTICE: fpm is running, pid 23
[24-Feb-2020 20:56:37] NOTICE: ready to handle connections
2020-02-24 20:56:38,558 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-02-24 20:56:38,559 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

any toughts in what this could be?

Feature Request : Link to firmware version download

Put it in discord but thought i'd add it here too :

"had a thought for tasmobackup where the version number in the table could link to download that particular firmware version.. what do you think? would it be easy enough to parse it from the tasmota github?"

Unable to add the repository to hassio v0.115.3

Latest version of HA (0.115.6, I think?) lets it work now.

Attempting to add the URL for the repo throws errors:

20-09-27 15:27:39 INFO (MainThread) [supervisor.store.git] Clone add-on http://github.com/danmed/TasmoBackupV1 repository 20-09-27 15:27:39 ERROR (MainThread) [supervisor.store.git] Can't clone http://github.com/danmed/TasmoBackupV1 repository: Cmd('git') failed due to: exit code(128) cmdline: git clone --depth=1 --recursive --shallow-submodules -v http://github.com/danmed/TasmoBackupV1 /data/addons/git/ef7bf8fe stderr: 'Cloning into '/data/addons/git/ef7bf8fe'... fatal: unable to access 'http://github.com/danmed/TasmoBackupV1 /': The requested URL returned error: 400 '. 20-09-27 15:27:39 ERROR (MainThread) [supervisor.store] Can't load from repository http://github.com/danmed/TasmoBackupV1 20-09-27 15:27:39 INFO (MainThread) [supervisor.store] Load add-ons from store: 70 all - 0 new - 0 remove

Button Restore

Hi,

First thank you for your work.
It's possible have a button "restore configuration" at side option download:
image

Scan fails to run in Home Assistant - v1.04.23

172.30.32.2 - - [22/Sep/2021:09:46:14 +0100] "GET / HTTP/1.1" 200 1961 "https://hassio.local:8123/9409ee68_tasmobackup" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0" "10.10.10.153, 172.30.32.1" 0.026 0.026 . -
172.30.32.2 - - [22/Sep/2021:09:46:15 +0100] "GET / HTTP/1.1" 200 1961 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0" "10.10.10.153, 172.30.32.1" 0.023 0.023 . -
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 1 in /var/www/html/scan.php on line 66"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 1 in /var/www/html/scan.php on line 66"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67"
[22-Sep-2021 09:46:23] WARNING: [pool www] child 77 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset: 1 in /var/www/html/scan.php on line 66"
172.30.32.2 - - [22/Sep/2021:09:46:23 +0100] "POST /scan.php HTTP/1.1" 200 1683 "https://hassio.local:8123/api/hassio_ingress/rqvs425i7-aMSH-PQofJBhsaL0vmZ3kVcoKpb1RUkaY/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0" "10.10.10.153, 172.30.32.1" 0.007 0.007 . -
2021/09/22 09:46:23 [error] 66#66: *6 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined offset: 1 in /var/www/html/scan.php on line 66PHP message: PHP Notice:  Undefined offset: 1" while reading upstream, client: 172.30.32.2, server: _, request: "POST /scan.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "hassio.local:8123", referrer: "https://hassio.local:8123/api/hassio_ingress/rqvs425i7-aMSH-PQofJBhsaL0vmZ3kVcoKpb1RUkaY/"
2021/09/22 09:46:23 [error] 66#66: *6 FastCGI sent in stderr: "in /var/www/html/scan.php on line 66PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68PHP message: PHP Notice:  Undefined offset: 3 in /var/www/html/scan.php on line 68PHP message: PHP Notice:  Undefined offset: 2 in /var/www/html/scan.php on line 67PHP message: PHP Notice:  Undefined offset: 1 in /var/www/html/scan.php on line 66" while reading upstream, client: 172.30.32.2, server: _, request: "POST /scan.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "hassio.local:8123", referrer: "https://hassio.local:8123/api/hassio_ingress/rqvs425i7-aMSH-PQofJBhsaL0vmZ3kVcoKpb1RUkaY/"

MQTT Scan / Add

How does this work? I use a non-standard mqtt topic iot/tasmota/%prefix%/%topic%/
I tried entering in iot/tasmota into the mqtt discover field, but nothing happens.

thanks!

Tasmobackup docker won't start

using the docker execution line provided on your readme, I can't get the docker to run, it "crashes" immediatly.
Logs:

2020-12-30 14:18:31,356 INFO Set uid to user 0 succeeded


2020-12-30 14:18:31,359 INFO supervisord started with pid 1


2020-12-30 14:18:32,363 INFO spawned: 'processes' with pid 17


2020-12-30 14:18:32,367 INFO spawned: 'nginx' with pid 18


2020-12-30 14:18:32,372 INFO spawned: 'php-fpm' with pid 19


wait-for-it.sh: waiting 45 seconds for 127.0.0.1:9000


[30-Dec-2020 14:18:32] NOTICE: fpm is running, pid 19


[30-Dec-2020 14:18:32] NOTICE: ready to handle connections


wait-for-it.sh: 127.0.0.1:9000 is available after 1 seconds


2020-12-30 14:18:33,384 INFO success: processes entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)


2020-12-30 14:18:33,384 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)


2020/12/30 14:18:33 [emerg] 18#18: socket() [::]:80 failed (97: Address family not supported by protocol)


2020-12-30 14:18:33,395 INFO exited: nginx (exit status 1; not expected)


2020-12-30 14:18:34,396 INFO reaped unknown pid 29


2020-12-30 14:18:35,399 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 3 seconds (startsecs)


2020-12-30 14:18:35,399 WARN received SIGQUIT indicating exit request


2020-12-30 14:18:35,400 INFO waiting for processes, php-fpm to die


[30-Dec-2020 14:18:35] NOTICE: Terminating ...


[30-Dec-2020 14:18:35] NOTICE: exiting, bye-bye!


2020-12-30 14:18:35,408 INFO stopped: php-fpm (exit status 0)


2020-12-30 14:18:36,410 INFO stopped: processes (terminated by SIGTERM)

Looks to be this: 2020/12/30 14:18:33 [emerg] 18#18: socket() [::]:80 failed (97: Address family not supported by protocol)

related to IPv6 support. I have IPv6 disabled on the docker machine i'm running. How can I disable IPv6 for this container?

docker: invalid reference format: repository name must be lowercase. See 'docker run --help'.

I managed to install some images on synology docker successfully, and for some reason can not figure out how to install TasmoBackupV1 on synology docker. Attach an image file with the error message I get. I would love to understand where I am wrong.
I would be happy if it would be possible to get some Command to Putty to install the image. Or any other simple and understandable way. Thanks in advance for the successful work with the repo : )
docker error

Home Assistant Install Failure

When adding the custom repo to home assistant, it throws the error
"Repostitory structure for master is not compliant"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.