# Problem with repositories - can't download actions etc

**URL:** <https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786>\
**Category:** Installation\
**Tags:** maven, mail, action\
**Created:** [May 3, 2021, 6:10am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786 "2021-05-03T06:10:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![rt342](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@rt342](https://community.openhab.org/u/rt342)\
**Post date:** [May 3, 2021, 6:10am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/1 "2021-05-03T06:10:49Z")

</div>

- Platform information:
  - Hardware: _CPUArchitecture/RAM/storage_ i5/8Gb/200gb
  - OS: \_what OS is used and which version\_Linux Mint 19.1
  - Java Runtime Environment: _which java platform is used and what version_ java version gives openjdk v10.0.2
  - openHAB version: 2.5.0M3

- Issue of the topic: please be detailed explaining your issue

I have 2 installations of the same openhab2 setup. They are basically clones of eachother and they are both failing in the same way.

I can no longer install addons

2021-05-03 16:04:02.370 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-transformation-xpath, openhab-action-xbmc, openhab-transformation-map, openhab-transformation-javascript, openhab-transformation-xslt, openhab-transformation-regex, openhab-transformation-exec, openhab-action-twitter, openhab-transformation-scale, openhab-transformation-jsonpath’: Error:  
Error downloading mvn:org.openhab.addons.bundles/org.openhab.transform.exec/2.5.0.M3

==\> /var/log/openhab2/openhab.log \<==  
2021-05-03 16:06:24.567 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-action-xbmc, openhab-binding-mail, openhab-action-mail, openhab-action-twitter’: Error:  
Error downloading mvn:org.openhab.action/org.openhab.action.twitter/1.14.0.M3

I have tried to find some solutions, I have changed package=expert, i have tried to disable remote repository access, etc.

Internet access is all fine.

All I really care about is reinstating openhab-action-mail v1.13

Is there any way to force install this? I would really rather avoid reinstalling openhab since there are system critical stuff running on there.

---

<div class="post-metadata">

**Author:** ![hmerk](https://community.openhab.org/user_avatar/community.openhab.org/hmerk/32/56432_2.png) [@hmerk](https://community.openhab.org/u/hmerk)\
**Post date:** [May 3, 2021, 6:15am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/2 "2021-05-03T06:15:06Z")

</div>

> [@rt342](#):
>
> - Java Runtime Environment: _which java platform is used and what version_ java version gives openjdk v10.0.2

Please read the docs and check the prerequisits. openHAB 2.5.x requires Java 8 (Zulu 8 recommended). No higher version supported.  
openHAB 3 will require Java 11 (also no other version supported).

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [May 3, 2021, 6:22am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/3 "2021-05-03T06:22:45Z")

</div>

Besides the answer of hmerk please also check if you installed the package openhab2-addons besides openhab2.Because of the move of the repository ( search here on the forum ) mvn downloads for 2.5 do not work any longer as far as I understand. Installation of the addons package should help here.

---

<div class="post-metadata">

**Author:** ![Kai](https://community.openhab.org/user_avatar/community.openhab.org/kai/32/116281_2.png) [@Kai](https://community.openhab.org/u/Kai)\
**Post date:** [May 3, 2021, 6:25am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/4 "2021-05-03T06:25:30Z")

</div>

> [@rt342](#):
>
> I can no longer install addons

See [openHAB 3.0.2 Patch Release and the Sunset of Bintray](https://community.openhab.org/t/openhab-3-0-2-patch-release-and-the-sunset-of-bintray/121231) - this is due to Bintray having shut down their services on May 1st.  
In any case, 2.5.0.M3 is pretty old, I’d very much suggest to use at least 2.5.12. With the KAR for offline usage of add-ons, you should not depend any longer on the remote availablility.

---

<div class="post-metadata">

**Author:** ![apica](https://community.openhab.org/user_avatar/community.openhab.org/apica/32/70189_2.png) [@apica](https://community.openhab.org/u/apica)\
**Post date:** [May 3, 2021, 12:48pm UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/5 "2021-05-03T12:48:57Z")

</div>

Hi, I have a similar issue here but with I’m using the RPI image.

Originally I had openhabian image 2.5.11 and I updated (apt package) the latest 2.5.12 version successfully (I updated sourcelist to `https://openhab.jfrog.io/artifactory/openhab-linuxpkg` and repository key `https://openhab.jfrog.io/artifactory/api/gpg/key/public`), but I have the same error messages:

```
2021-05-03 14:42:33.460 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-persistence-mapdb, openhab-misc-openhabcloud, openhab-transformation-javascript, openhab-transformation-regex, openhab-transformation-
jsonpath, openhab-transformation-xpath, openhab-ui-restdocs, openhab-transformation-map, openhab-ui-basic, openhab-misc-homekit, openhab-ui-habmin, openhab-transformation-xslt, openhab-transformation-exec, openhab-binding-knx, openhab
-ui-paper, openhab-transformation-scale': Error:
        Error downloading mvn:org.openhab.addons.bundles/org.openhab.transform.map/[2.5.0,2.6)

```

As it seems to find the addons repository, it seems strange that the bindings cannot be installed:

```
$ sudo apt install openhab2-addons --dry-run
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  openhab2-addons
0 upgraded, 1 newly installed, 0 to remove and 496 not upgraded.
Inst openhab2-addons (2.5.12-1 Artifactory:stable [all])
Conf openhab2-addons (2.5.12-1 Artifactory:stable [all])

```

I wanted to keep with the online addon version if possible.

Thank you

---

<div class="post-metadata">

**Author:** ![apica](https://community.openhab.org/user_avatar/community.openhab.org/apica/32/70189_2.png) [@apica](https://community.openhab.org/u/apica)\
**Post date:** [May 3, 2021, 4:11pm UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/6 "2021-05-03T16:11:07Z")

</div>

Not sure if this is related to [this](https://community.openhab.org/t/oh-3-1-snapshot-2354-error-downloading-mvn-com-zsmartsystems-zigbee-com-zsmartsystems-zigbee-console-telegesis-1-3-10/121559/13) (in my case, the “basic” addons are missing too).

---

<div class="post-metadata">

**Author:** ![Wolfgang\_S](https://community.openhab.org/user_avatar/community.openhab.org/wolfgang_s/32/52719_2.png) [@Wolfgang\_S](https://community.openhab.org/u/Wolfgang_S)\
**Post date:** [May 3, 2021, 5:06pm UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/7 "2021-05-03T17:06:13Z")

</div>

> [@apica](#):
>
> As it seems to find the addons repository, it seems strange that the bindings cannot be installed

because online installation( mvn ) and offline installation ( openhab2-addons ) different sources / ways of working and one available does not include that the other is available, too.

Why not installing openhab2-addons as suggested by Kai - which seems to be the only option ?  
Doesn’t it also have advantages as the mvn source could be down/not available and having installed the offline package makes it possible for you to run your OH environment.

---

<div class="post-metadata">

**Author:** ![apica](https://community.openhab.org/user_avatar/community.openhab.org/apica/32/70189_2.png) [@apica](https://community.openhab.org/u/apica)\
**Post date:** [May 3, 2021, 10:13pm UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/8 "2021-05-03T22:13:57Z")

</div>

Thank you @Wolfgang_S !

> [@Wolfgang\_S](#):
>
> Why not installing openhab2-addons as suggested by Kai - which seems to be the only option ?  
> Doesn’t it also have advantages as the mvn source could be down/not available and having installed the offline package makes it possible for you to run your OH environment.

That’s one option, but I’m using a raspberry compute module with just 3.6G, and the addons file is around 200MB, so it’s a lot of space to me 😓 I can make some space temporarily to install a binding, but then I’ll need to uninstall it again. Having to do all this offline process every time I need to install a binding is a mess.

My point is that it worked just fine few days ago and I think it should be interesting to “get back” this feature. In fact, I’d like to help if the issue is just storing the “cloud version” (I don’t know if it is just uploading a file and configuring the URL in openhab)!

---

<div class="post-metadata">

**Author:** ![Benjy](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/eada6e/32.png) [@Benjy](https://community.openhab.org/u/Benjy)\
**Post date:** [May 4, 2021, 1:05am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/9 "2021-05-04T01:05:22Z")

</div>

Hi @apica, you might be able to change the location in a settings file, see the second option in Kai’s post:

> [@openHAB 2.5.x and the sunset of Bintray](https://community.openhab.org/t/openhab-2-5-x-and-the-sunset-of-bintray/121839):
>
> All, The [sunset of Bintray on May 1st](https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/) caused existing openHAB 2.5.x installations to no longer be able to download add-ons from the remote repository (because this was actually Bintray). The original plan was to move this content to another place and offer a seamless switch for the users, but unfortunately this turned out to be more complicated than thought, so that it didn’t work out - at least until now. There are two options to fix the problem, though: Use the offline version of the add-…

---

<div class="post-metadata">

**Author:** ![rt342](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@rt342](https://community.openhab.org/u/rt342)\
**Post date:** [May 4, 2021, 2:43am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/10 "2021-05-04T02:43:31Z")

</div>

I updated to 2.5.12, updated the addons to 2.5.12, and after two restarts of the service, everything is working.  
Thanks to all for the help, much appreciated

---

<div class="post-metadata">

**Author:** ![apica](https://community.openhab.org/user_avatar/community.openhab.org/apica/32/70189_2.png) [@apica](https://community.openhab.org/u/apica)\
**Post date:** [May 4, 2021, 8:27am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786/11 "2021-05-04T08:27:27Z")

</div>

Thanks, that worked! Thank you for pointing me that post.

I have a last recurring error but I’m not sure if it’s related:

```
2021-05-04 10:19:33.924 [DEBUG] [core.karaf.internal.FeatureInstaller] - Running scheduled sync job
2021-05-04 10:19:34.018 [DEBUG] [core.karaf.internal.FeatureInstaller] - Failed uninstalling 'openhab-ui-dashboard': Feature named 'openhab-ui-dashboard/0' is not installed

```

There are some recently post that talk about it ([here](https://community.openhab.org/t/system-seems-to-be-constantly-restarting/95743/26)), but the main issue was fixed.

Thanks!
