Hi,
I am running OH 2.5.12 Release Build in a docker container on my Synology NAS. It has been running ok for weeks. I have today rebooted my container during the day as is shut it down to test an OH 3.1 container. After starting up the OH 2.5.12 container again I receive the following error:
20:08:11.387 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-hue, openhab-binding-exec, openhab-binding-km200, openhab-binding-mail, openhab-transformation-javascript, openhab-misc-ruleengine, openhab-persistence-mysql, openhab-transformation-regex, openhab-ui-habpanel, openhab-transformation-jsonpath, openhab-binding-shelly, openhab-binding-mqtt, openhab-transformation-map, openhab-ui-basic, openhab-binding-openweathermap, openhab-binding-astro, openhab-transformation-exec, openhab-ui-paper, openhab-transformation-scale, openhab-binding-upnpcontrol': Error:
Error downloading mvn:com.sun.mail/javax.mail/1.6.2
Both containers have their own separated configuration directories.
I also tested with wget
that the container running OH 25.12 has internet connection. I also have a container with an older version OH 2.5.10 which gets the same error. It has also its own configuration directory and it also gets the error. Hence it is not limited to the 2.5.12 instance …
I found in the forum, that this error can occur when the container is not able to connect to the internet. But as shown above I have tested that.
My whole OpenHAB environment is currently frozen as I do not know why this error occurs.
Please help me to find out what is going wrong!!!
Cheers Justus
EDIT:
I have tested with a new docker container where I removed everything from the addons.cfg except these two entries:
package = standard
remote = true
And when I do a restart of the docker container after cleaning
- /openhab/userdata/cache
- /openhab/userdata/tmp
- /openhab/userdata/config
I receive the error:
20:02:39.410 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-ui-homebuilder, openhab-ui-basic, openhab-ui-habpanel, openhab-ui-paper': Error:
Error downloading mvn:commons-collections/commons-collections/3.2.2
But I can download the openhab.org website using wget:
root@openhab-test:/openhab# wget openhab.org
--2021-03-11 20:07:13-- http://openhab.org/
Resolving openhab.org (openhab.org)... 104.21.50.51, 172.67.157.30, 2606:4700:3037::6815:3233, ...
Connecting to openhab.org (openhab.org)|104.21.50.51|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.openhab.org/ [following]
--2021-03-11 20:07:13-- http://www.openhab.org/
Resolving www.openhab.org (www.openhab.org)... 172.67.157.30, 104.21.50.51, 2606:4700:3031::ac43:9d1e, ...
Reusing existing connection to openhab.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 59.67K --.-KB/s in 0.03s
2021-03-11 20:07:13 (2.15 MB/s) - ‘index.html’ saved [61107]
root@openhab-test:/openhab#
This means that the container has connection to the internet …