# openHABian testing

**URL:** <https://community.openhab.org/t/openhabian-testing/147079>\
**Category:** openHABian\
**Tags:** openhabian\
**Created:** [June 4, 2023, 10:27pm UTC](https://community.openhab.org/t/openhabian-testing/147079 "2023-06-04T22:27:52Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 24, 2023, 4:26pm UTC](https://community.openhab.org/t/openhabian-testing/147079/62 "2023-07-24T16:26:30Z")

</div>

> [@Mclupo](#):
>
> Just a short note. If you use openhabian-config point 41 to switch to the latest version, which is now 4.0, it still says „ OH3 installing“.

Provide a debug log that shows this, please.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 24, 2023, 4:29pm UTC](https://community.openhab.org/t/openhabian-testing/147079/63 "2023-07-24T16:29:32Z")

</div>

> [@stamate\_viorel](#):
>
> isnt the openhabian based on latest debian 12 sorry for not ready latest progress …

what about [reading the docs](https://www.openhab.org/docs/installation/openhabian.html#os-support) before asking for help?

---

<div class="post-metadata">

**Author:** ![stamate\_viorel](https://community.openhab.org/letter_avatar_proxy/v4/letter/s/41988e/32.png) [@stamate\_viorel](https://community.openhab.org/u/stamate_viorel)\
**Post date:** [July 24, 2023, 4:36pm UTC](https://community.openhab.org/t/openhabian-testing/147079/64 "2023-07-24T16:36:25Z")

</div>

Sorry but seeing version 4 got really excited and wanted to see if I can upgrade. Again I really appreciate the work you do and do not mean to waste anybody time but I had a felling the docs are not up to date and may e just maybe I can switch to debian bookworm. I found alternative way to install it and configure it by using apt and just rerun the openhabian config with exiting influxdb installation and got it running.

---

<div class="post-metadata">

**Author:** ![Mclupo](https://community.openhab.org/user_avatar/community.openhab.org/mclupo/32/114839_2.png) [@Mclupo](https://community.openhab.org/u/Mclupo)\
**Post date:** [July 24, 2023, 6:33pm UTC](https://community.openhab.org/t/openhabian-testing/147079/65 "2023-07-24T18:33:53Z")

</div>

![IMG_0912](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/8/d/8d436c3c337f2402fdba44287f06f025921ad69d.png)  
That‘s what you see, when starting point 41

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 24, 2023, 7:15pm UTC](https://community.openhab.org/t/openhabian-testing/147079/66 "2023-07-24T19:15:18Z")

</div>

This does not help with finding the origin. As I said please provide a _debug_ level log, set `debugmode=maximum` in `openhabian.conf`

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 24, 2023, 7:37pm UTC](https://community.openhab.org/t/openhabian-testing/147079/67 "2023-07-24T19:37:38Z")

</div>

I think I fixed it, please validate (update on start)

---

<div class="post-metadata">

**Author:** ![Mclupo](https://community.openhab.org/user_avatar/community.openhab.org/mclupo/32/114839_2.png) [@Mclupo](https://community.openhab.org/u/Mclupo)\
**Post date:** [July 25, 2023, 7:54am UTC](https://community.openhab.org/t/openhabian-testing/147079/68 "2023-07-25T07:54:20Z")

</div>

it looks different now, I did an upgrate to milestone on a fresh system and enclosed is the log file  
[putty.log](https://community.openhab.org/uploads/short-url/qQOFGekQPc9nLwg26w2UCqgJYSX.log) (220.3 KB)

---

<div class="post-metadata">

**Author:** ![STSC](https://community.openhab.org/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@STSC](https://community.openhab.org/u/STSC)\
**Post date:** [July 29, 2023, 2:44pm UTC](https://community.openhab.org/t/openhabian-testing/147079/69 "2023-07-29T14:44:53Z")

</div>

I tried to upgrade to Openhab4, but installation is broken now. I try to setup from scratch. How can I install Openhab3 again with Openhabian?

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [July 29, 2023, 3:02pm UTC](https://community.openhab.org/t/openhabian-testing/147079/70 "2023-07-29T15:02:29Z")

</div>

Read the docs or at least this thread.

---

<div class="post-metadata">

**Author:** ![stefan.hoehn](https://community.openhab.org/user_avatar/community.openhab.org/stefan.hoehn/32/81928_2.png) [@stefan.hoehn](https://community.openhab.org/u/stefan.hoehn)\
**Post date:** [July 29, 2023, 4:13pm UTC](https://community.openhab.org/t/openhabian-testing/147079/72 "2023-07-29T16:13:08Z")

</div>

What I did is install the latest openhabian which comes up as OH4 and then restored the backup. Depending on you current setup is probably the best approach.

Otherwise,

- restore your original 3.x system (and make a backup via openhabian-config if you are on openhabian)
- make sure if you are on openhabian that you upgrade to bullseye first
- only then upgrade to OH4

Other than that please read through this thread about stumbling blocks that could happen during the upgrade.

---

<div class="post-metadata">

**Author:** ![STSC](https://community.openhab.org/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@STSC](https://community.openhab.org/u/STSC)\
**Post date:** [July 29, 2023, 8:57pm UTC](https://community.openhab.org/t/openhabian-testing/147079/73 "2023-07-29T20:57:47Z")

</div>

> [@stefan.hoehn](#):
>
> What I did is install the latest openhabian which comes up as OH4 and then restored the backup.

I figured this out, too. But I didn’t know before that restoring a 3.4.4 backup in OH4 also works. I always thought that a backup must be restored with the same version.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 6, 2023, 2:34pm UTC](https://community.openhab.org/t/openhabian-testing/147079/74 "2023-08-06T14:34:20Z")

</div>

2 posts were split to a new topic: [Another failing OH4 upgrade due to buster](https://community.openhab.org/t/another-failing-oh4-upgrade-due-to-buster/148395)

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 12, 2023, 10:46am UTC](https://community.openhab.org/t/openhabian-testing/147079/75 "2023-08-12T10:46:54Z")

</div>

10 posts were split to a new topic: [OH4 upgrade issue #n](https://community.openhab.org/t/oh4-upgrade-issue-n/148592)

---

<div class="post-metadata">

**Author:** ![jimmbimm](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jimmbimm](https://community.openhab.org/u/jimmbimm)\
**Post date:** [August 12, 2023, 10:47am UTC](https://community.openhab.org/t/openhabian-testing/147079/76 "2023-08-12T10:47:31Z")

</div>

And maybe it is interesting for this thread here, that a fresh install of OH3.4.5 via openHABian 1.8 and clonebranch=openHAB3 leads to an update error similar like

[https://community.openhab.org/t/openhabian-testing/147079/75?u=jimmbimm](https://community.openhab.org/t/openhabian-testing/147079/75)

when updating via openHABian-config entry 03.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 12, 2023, 10:51am UTC](https://community.openhab.org/t/openhabian-testing/147079/77 "2023-08-12T10:51:17Z")

</div>

Given many did the same and it worked for them, your statement, generic as you’ve put it, isn’t correct.  
Without proper description, logs and analysis this statement isn’t of use here.

---

<div class="post-metadata">

**Author:** ![jimmbimm](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jimmbimm](https://community.openhab.org/u/jimmbimm)\
**Post date:** [August 12, 2023, 11:28am UTC](https://community.openhab.org/t/openhabian-testing/147079/78 "2023-08-12T11:28:12Z")

</div>

I copied the openHABian 1.8 image to a 32 GB SD card.  
In openhabian.conv I changed clonebranch to openHAB3 and java\_opt to 11.  
Then I put the SD card in an RPi4 with 4GB RAM and let openHABian do it’s magic.

```yaml
Version: 3.4.5 (Build)

User: openhab (Active Process 805)
User Groups: openhab tty dialout audio bluetooth gpio

Directories: Folder Name | Path | User:Group
             ----------- | ---- | ----------
             OPENHAB_HOME | /usr/share/openhab | openhab:openhab
             OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
             OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
             OPENHAB_CONF | /etc/openhab | openhab:openhab
             OPENHAB_LOGDIR | /var/log/openhab | openhab:openhabian
             OPENHAB_BACKUPS | /var/lib/openhab/backups | openhab:openhab

```

When finally OH3.4.5 came up properly nice and clean I tried to update to OH4 via openhabian-config entry 03 and got this:

```yaml
+ openhabVersion=
+ cond_redirect apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab= openhab-addons=
+ [[-n '']]
+ echo -e '\n\033[90;01m$ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab= openhab-addons= \033[39;49;00m'

$ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab= openhab-addons=
+ apt-get install --allow-downgrades --yes -o DPkg::Lock::Timeout= --option Dpkg::Options::=--force-confnew openhab= openhab-addons=
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Version '' for 'openhab' was not found
E: Version '' for 'openhab-addons' was not found
+ return 100
+ echo FAILED
FAILED

```

[error.txt](https://community.openhab.org/uploads/short-url/uwZ3Cwtmr8n8kgTfFFJFIssNrd3.txt) (45.8 KB)

Hopefully, this is not incorrect and too generic.

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 12, 2023, 12:44pm UTC](https://community.openhab.org/t/openhabian-testing/147079/79 "2023-08-12T12:44:43Z")

</div>

update and try 03 again, mind taking log

---

<div class="post-metadata">

**Author:** ![jimmbimm](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jimmbimm](https://community.openhab.org/u/jimmbimm)\
**Post date:** [August 12, 2023, 2:49pm UTC](https://community.openhab.org/t/openhabian-testing/147079/80 "2023-08-12T14:49:04Z")

</div>

… does still not work

[error.txt](https://community.openhab.org/uploads/short-url/8qrHbkXOFbMhy4Q1qM0HhRMrcaD.txt) (38.6 KB)

---

<div class="post-metadata">

**Author:** ![mstormi](https://community.openhab.org/user_avatar/community.openhab.org/mstormi/32/55857_2.png) [@mstormi](https://community.openhab.org/u/mstormi)\
**Post date:** [August 12, 2023, 5:53pm UTC](https://community.openhab.org/t/openhabian-testing/147079/81 "2023-08-12T17:53:28Z")

</div>

Try again please

---

<div class="post-metadata">

**Author:** ![jimmbimm](https://community.openhab.org/letter_avatar_proxy/v4/letter/j/d2c977/32.png) [@jimmbimm](https://community.openhab.org/u/jimmbimm)\
**Post date:** [August 13, 2023, 9:06am UTC](https://community.openhab.org/t/openhabian-testing/147079/82 "2023-08-13T09:06:30Z")

</div>

… now it worked, thanks.

[log.txt](https://community.openhab.org/uploads/short-url/jrrxuhhlSbHV7ooR7uDAAb4CmiJ.txt) (104.8 KB)

[Previous page](https://community.openhab.org/t/openhabian-testing/147079.md?page=3)

[Next page](https://community.openhab.org/t/openhabian-testing/147079.md?page=5)
