Tasmoadmin: SelfUpdate Error

Created on 23 Feb 2018  路  4Comments  路  Source: reloxx13/TasmoAdmin

Hi guys,

tryed SelfUpdate and got this Warnings/Errors:

Warning: fopen(/app/sonweb/data/updates/sonoff.zip): failed to open stream: No such file or directory in /app/sonweb/includes/Selfupdate.php on line 290

Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in /app/sonweb/includes/Selfupdate.php on line 303

Warning: fclose() expects parameter 1 to be resource, boolean given in /app/sonweb/includes/Selfupdate.php on line 319

Warning: filesize(): stat failed for /app/sonweb/data/updates/sonoff.zip in /app/sonweb/includes/Selfupdate.php on line 322

App running in docker: raymondmm/rpi-sonweb-alpine

Most helpful comment

Fixed in the latest version of the alpine docker image.

All 4 comments

had to create updates directory inside persistent volume.
Can this be added to container's

maybe @RaymondMouthaan can help :)

@timota You r right .. if the host volume doesn't exist when deploying the docker container then these kind of errors are shown.

This could be an improvement to the docker container or maybe even better from SonWEB it's self.
Basically there must be a check whether required files and directories exist in the data dir. If not create them, if yes use them.

@reloxx13 could this be done from SonWEB code easily?

Fixed in the latest version of the alpine docker image.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fragolinux picture fragolinux  路  6Comments

ascillato picture ascillato  路  7Comments

Zwerver91 picture Zwerver91  路  4Comments

reloxx13 picture reloxx13  路  9Comments

jascdk picture jascdk  路  6Comments