openhab / openhab-qnap-qpkg

openHAB Packages for QNAP NAS systems
Eclipse Public License 2.0
77 stars 21 forks source link

When can we expect Version 2.3 #52

Open ip13t opened 6 years ago

ip13t commented 6 years ago

I am using a QNAP NAS - when can we expect a qpkg for the version 2.3 - is this in scope ?

Stefan39135 commented 5 years ago

here you can find the new Version https://qnapclub.eu/de/qpkg/254

thopiekar commented 5 years ago

And do you know why the maintainer of this packages doesn't want to contribute here? Since this project is dead at the moment, because I don't own the hardware anymore, it would actually make sense, no?

Stefan39135 commented 5 years ago

They look after a lot of packages and have chosen a different platform. I am very happy that finally there is better support for the nap as it has unfortunately become very quiet here

thopiekar commented 5 years ago

But still, it does not make sense to me why this person is not sharing her/his sources of the packaging files. It is not like there is any competition or someone who would like to join us here.

Anyhow, glad to hear that there is a package for it.

ip13t commented 5 years ago

what about your experiences with the new version on qnapclub.eu - can i update the current version 2.2 without loosing my data - do i have to uninstall the old verson ?

Stefan39135 commented 5 years ago

i always do a fresh installation

Toffi32 commented 5 years ago

I tried to install the version for TS-128 (TS-X28A) from qnapclub.eu, but this failed.

I got this error message: [App Center] Failed to install OpenHab 2.3.0. Installation package is incompatible. Use the correct package.

So unfortunately there is no 2.3 version for the TS-128 avalable at the moment.

garthy commented 5 years ago

I personally stopped using the qnap native package when a bug in openhab ate up all the memory and crashed the system.

I use the Official Docker image https://hub.docker.com/r/openhab/openhab/ with resources restrictions so if it misbehaves it doesn't take out my NAS.

if you map the volumes in correctly you can use the data that was created by the qpkg.

On 30 July 2018 at 09:35, Toffi32 notifications@github.com wrote:

I tried to install the version for TS-128 (TS-X28A) from qnapclub.eu, but this failed.

I got this error message: [App Center] Failed to install OpenHab 2.3.0. Installation package is incompatible. Use the correct package.

So unfortunately there is no 2.3 version for the TS-128 avalable at the moment.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openhab/openhab-qnap-qpkg/issues/52#issuecomment-408788970, or mute the thread https://github.com/notifications/unsubscribe-auth/ABCPar1oLK7bHIkz9eMQT6AiyG_236Ovks5uLsVVgaJpZM4U0Eq9 .

Toffi32 commented 5 years ago

This sound interessiting. I also thought about using the "normal" openHAB distribution an QNAP TS-128, as this also is based on a ARM7 chip and Linux like e.g. Raspberry Pi.

Can you discribe in more detail how to use the Docker image. Thanks!

ViperEclipse commented 5 years ago

if you map the volumes in correctly you can use the data that was created by the qpkg.

-> could you provide a quick mapping of the volume paths required? This would be very helpful

Toffi32 commented 5 years ago

grafik grafik

Do you mean just copying the files from the distribution (this is from https://bintray.com/openhab/mvn/openhab-distro/2.3.0#files/org%2Fopenhab%2Fdistro%2Fopenhab%2F2.3.0) just to the corrosponding folders on the QNAP?

Toffi32 commented 5 years ago

I found out how to update to the latest stable snapshot version - and it´s pretty easy.

Just edit _/share/CACHEDEV1DATA/.qpkg/openHAB/openHAB.sh

Change: (line 20) "QPKG_SNAPSHOT_VERSION=2.3.0" to "QPKG_SNAPSHOT_VERSION=2.4.0"

Stop the OpenHAB app via QNAP web inteface or "# sh openHAB.sh stop"

Then run: _#sh openHAB.sh snapshot-download

sh openHAB.sh snapshot-update_

Start OpenHAB (QNAP or "# sh openHAB.sh start")

Done! including backup of the userdata! Great script!

Of course all the Add-ons have to be installed new in the version for 2.4.0

Will see if this is stable.

I think by adopting the line 87 in /share/CACHEDEV1_DATA/.qpkg/openHAB/openHAB.sh: https://openhab.ci.cloudbees.com/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab/target/openhab-${QPKG_SNAPSHOT_VERSION}-SNAPSHOT.tar.gz

with the version you like also 2.3.0 should be possible. I´ll try the last stable 2.4.0 Snapshot for the time being.

Toffi32 commented 5 years ago

I changed to 2.3.0 due to some strange behavior of 2.4.0.. Therefor I pimped the openHAB.sh a little bit. By starting it with : sh openHAB.sh laststable-update Version 2.3.0. will be installed. openHAB.zip

ViperEclipse commented 5 years ago

Thank you for sharing. I will give it a try next week and I'll keep you informed

valefranch commented 5 years ago

Hi where I download a packet like OpenHAB 2.3 .tar.gz? With this pachet I can make the .qpkg package and I can share it. (I make similar work for the 2.2 version) thanks

babarrass commented 5 years ago

Why is the Package for the Version 2.2 working with a TS451A and the 2.4 is not?

emilton67 commented 5 years ago

Hello, I installed version 2.4.0 version from openclub.eu but, as you know, that doesn't create the subfolder in openHab directory of QNAP. I left in the folder the previous installation subfolder created by the regular version 2.1.0 but the program doesn't recognize those. The program in version 2.4.0 run and I can manage the paperUI but when I create a sitemap file in the old folder created by 2.1.0, the basicUI doesn't find anything. Do anyone ca suggest the solution ? Thanks

mickymix commented 5 years ago

Do anyone ca suggest the solution ? Thanks

I've the same problem ( #38 ) and only last night I discovered the install folder of that package is /share/CACHEDEV1_DATA/.qpkg/OpenHab ...

At the moment I do not know how to fix (=install in a share of public/folder), but I definitely need OH to be installed in a "easier access" location...

I've been able to reach the above one with Midnight Commander only...

I guess you would need to move your customized config files within the above newer installation folders...

But I've not tried this myself... yet...

emilton67 commented 5 years ago

Thanks mickymix. I found the folder too. I left all files there. Now everything is ok.

mickymix commented 5 years ago

Thanks mickymix. I found the folder too. I left all files there. Now everything is ok.

I did exactly the same, creating an openHAB share pointing to that folder... :-)