Closed HeikoB closed 7 years ago
I released a new version: https://github.com/openhab/openhab-syno-spk/releases/tag/2.1.0.006 Can you try it, please.
Thanks, Chris
Hi Chris,
i will try, thank you! Can I upgrade or must do a clean install?
Von unterwegs gesendet
Am 11.07.2017 9:40 nachm. schrieb Christian Häussler notifications@github.com:
I released a new version: https://github.com/openhab/openhab-syno-spk/releases/tag/2.1.0.006 Can you try it, please.
Thanks, Chris
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/openhab/openhab-syno-spk/issues/71#issuecomment-314549934, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGhVvFjfMCwINx6rxNBA8MuOJNlQG0aYks5sM8-PgaJpZM4ONqI0.
Hi,
i try and it makes no difference. No download at installation process and no folders after finish. Tried update and new install.
thx
Von: Christian Häussler [mailto:notifications@github.com] Gesendet: Dienstag, 11. Juli 2017 21:40 An: openhab/openhab-syno-spk openhab-syno-spk@noreply.github.com Cc: Bien, Heiko heiko.bien@dff-solutions.de; Author author@noreply.github.com Betreff: Re: [openhab/openhab-syno-spk] openhab user not created OpenHAB-2.1.0.005-syno-noarch-0.001.spk (#71)
I released a new version: https://github.com/openhab/openhab-syno-spk/releases/tag/2.1.0.006 Can you try it, please.
Thanks, Chris
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/openhab/openhab-syno-spk/issues/71#issuecomment-314549934, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGhVvFjfMCwINx6rxNBA8MuOJNlQG0aYks5sM8-PgaJpZM4ONqI0.
I have same issues... :( OpenHAB interface will not start I just get black screen and no user is made. I made the folders /volume1/public/OpenHAB/conf and /Volume1/public/OpenHAB/addons
Hi,
i think there is an error in the installer.sh at line 6 (download path). You have to remove the last slash. https://bintray.com/openhab/mvn/download_file?file_path=org/openhab/distro/openhab/2.1.0//openhab-2.1.0.zip
How do I do that? I'm using Synology version there is only one file I need to run from the package center.
Also line 83 and 84 return addgroup: command not found but the script seems running.
@DanNielsen: Hi, I'm running the Script manually in the shell to see what happens. @cniweb has to change the installer.sh and release a new .spk, so you can easily reinstall. Just wait :-)
Now openHAB2 can started by shell or package center:
@SchoppAx Thanks for your answer. i will wait then :) Thanks for working on a fix!!! NICE! :) 👍
Nice find @SchoppAx, I think the only major problem is the last slash as you have found. The addgroup lines will need to be changed in order to get openHAB working "out-of-the-box" with serial devices but isn't a blocker for installing the package.
More specifically line 83 and 84 should use the synogroup
command instead of addgroup
. i.e. from:
addgroup ${DAEMON_USER} dialout
addgroup ${DAEMON_USER} uucp
to
synogroup --member dialout ${DAEMON_USER}
synogroup --member uucp ${DAEMON_USER}
If you're feeling up to it, can you make a PR to help @cniweb out?
@BClark09 I can do it tomorrow in the evening.
If nothing has happened before :P
Yeah, WLAN inside the train.
Pull request created. Hope that fixes the issues.
@SchoppAx Thanks!
New release: https://github.com/openhab/openhab-syno-spk/releases/tag/2.1.0.008
for some reason I still can't get the folders and scripts to populate in the openHAB2 folder. I get these errors when i try to run the start_runtime.sh scripts:
any thoughts?
Sorry, I'm not familiar with the .spk install logic. The installer.sh script is not be executed by the "Manuel Install" process. So the runtime script can't start/call the daemon.pid, because it will be created by the installer.sh.
After the .spk installation:
I stopped the openHAB2 instance via package center and run the installer.sh manually (clean install): https://github.com/SchoppAx/openhab-syno-spk/blob/SchoppAx-patch-1/scripts/manuel_install.sh
Then I started the openHAB2 package via package center and after 8-10 minutes openHAB2 was started.
What can we do to get the .spk running instantly?
I have the same issue as SchoppAx above, although I'm not much of a linux guy so I don't know how to do the manual install.. Until then, I'm patiently waiting! :)
Thanks!
I tryed "2.2.0.002-SNAPSHOT" same problem....:disappointed_relieved: Does not make a user and only make a folder (volume1/@appstore/openHAB2/OpenHAB2) with: start_debug_runtime.sh, start_runtime.sh and stop_runtime. I made the patch volume1/public/openHAB2/conf and volume1/public/openHAB2/addons.
Sorry guys, but I do not understand why the installation does not work anymore. After some comparisons with previous versions, I noticed nothing.
did any of the permissions change? seems odd how I can't even install now without using the public folder for config. any chance the additional code for the public folder is causing the issue? because ever since that was introduced I haven't been able to install.
Seems that there are some permission problems. The openhab2 user will be created now, but then the script fails again.
@cniweb and I will look for a fix this weekend or the next week.
@SchoppAx Thanks for your PR #74 I left some comments as a review.
There is a issue at the 7z command. I created a PR and released a new Version.
https://github.com/SchoppAx/openhab-syno-spk/releases/tag/2.1.0.006-DSM6
Thanks SchoppAx, everything installs fine from a clean install. Only thing i noticed was I'm still not getting the /public/openHAB2/conf folder to populate. Is there a specific syntax that I don't have right for the hierarchy?
Hi @bcrippsy38,
released a new version 5 min. ago :-) https://github.com/SchoppAx/openhab-syno-spk/releases/tag/2.1.0.007-DSM6
i used "openHAB-2.1.0.007-DSM6-syno-noarch-0.001.spk" and it worked. It made a user and i can run openHAB. it makes dir in volume1/public/openHAB2/conf and volume1/public/openHAB2/conf and places a readme file in volume1/public/openHAB2/conf and volume1/public/openHAB2/addons. But i cant finde files to change config files :(
I installed the IHC binding and got a file at conf/services/ihc.cfg
Please have a look at your folder.
Do you finde the file in "volume1/public/openHAB2/conf and volume1/public/openHAB2/conf". I can not finde the file you are talking about?
As I understand the file should be there and not in the installation folder
The binding has been successfully installed?
Please look at the event.log
located in /volume1/@appstore/openHAB2/userdata/logs
.
Are there any errors?
I can not acces /volume/@appstore/ when i'm not home. I will look at the event.log when i get home.
no errors :( 2017-07-18 15:27:29.872 [ExtensionEvent ] - Extension 'package-standard' has been installed. 2017-07-18 15:27:39.643 [ExtensionEvent ] - Extension 'ui-basic' has been installed. 2017-07-18 15:27:39.648 [ExtensionEvent ] - Extension 'ui-habpanel' has been installed. 2017-07-18 15:27:39.659 [ExtensionEvent ] - Extension 'ui-paper' has been installed. 2017-07-18 15:44:11.093 [ExtensionEvent ] - Extension 'binding-onkyo' has been installed. 2017-07-18 17:48:24.075 [InboxAddedEvent ] - Discovery Result with UID 'onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c' has been added. 2017-07-18 17:48:30.782 [InboxRemovedEvent ] - Discovery Result with UID 'onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c' has been removed. 2017-07-18 17:48:30.825 [ThingAddedEvent ] - Thing 'onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c' has been added. 2017-07-18 17:48:30.892 [hingStatusInfoChangedEvent] - 'onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c' changed from UNINITIALIZED to INITIALIZING 2017-07-18 17:48:30.940 [hingStatusInfoChangedEvent] - 'onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c' changed from INITIALIZING to ONLINE 2017-07-18 17:48:30.964 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_power-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone1#power' has been added. 2017-07-18 17:48:30.973 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_input-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone1#input' has been added. 2017-07-18 17:48:31.005 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_volume-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone1#volume' has been added. 2017-07-18 17:48:31.011 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_mute-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone1#mute' has been added. 2017-07-18 17:48:31.021 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_power-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone2#power' has been added. 2017-07-18 17:48:31.026 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_input-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone2#input' has been added. 2017-07-18 17:48:31.043 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_volume-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone2#volume' has been added. 2017-07-18 17:48:31.050 [ItemChannelLinkAddedEvent ] - Link 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_mute-onkyo:TX-NR646:68b0d156-8cd1-56b9-02d8-56098cb9853c:zone2#mute' has been added. 2017-07-18 17:48:31.166 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_power changed from NULL to ON 2017-07-18 17:48:31.186 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_input changed from NULL to 16 2017-07-18 17:48:31.238 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_volume changed from NULL to 40 2017-07-18 17:48:31.280 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_mute changed from NULL to OFF 2017-07-18 17:48:31.332 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_power changed from NULL to OFF 2017-07-18 17:48:31.359 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_input changed from NULL to 5 2017-07-18 17:48:31.381 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_volume changed from NULL to UNDEF 2017-07-18 17:48:31.419 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone2_mute changed from NULL to OFF 2017-07-18 17:48:35.014 [ItemCommandEvent ] - Item 'onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_power' received command OFF 2017-07-18 17:48:35.443 [ItemStateChangedEvent ] - onkyo_TX_NR646_68b0d156_8cd1_56b9_02d8_56098cb9853c_zone1_power changed from ON to OFF
In /volume1/@appstore/openHAB2/userdata/logs/openhab.log i found this: 2017-07-18 15:44:57.844 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-ihc1': Permission denied
Can you install other bindings?
Please try to reinstall (uninstall, install) the package.
If it doesn't work, please run sudo chown -hR openhab2 /volume1/@appstore/openHAB2
and try again.
Yes i can install all bindings including IHC but i cant finder The config file in public
vindings cant der The
?
Yes i can install all bindings including IHC in PaperUI but i can't finder The config file in public.
If i go to Bindings in PaperUI IHC binding is blue as it is installed, but i do not know if it really is.
When i try to installe the IHC binding using PaperUI it keeps updating
When i update the page (F5) and search for "IHC binding" it seems to be installed
I have tryed to uninstall and install again.
in /volume1/@appstore/openHAB2/userdata/logs/events.log i only see this: 2017-07-19 07:55:36.963 [ExtensionEvent ] - Extension 'package-standard' has been installed. 2017-07-19 07:55:53.059 [ExtensionEvent ] - Extension 'ui-basic' has been installed. 2017-07-19 07:55:53.072 [ExtensionEvent ] - Extension 'ui-habpanel' has been installed. 2017-07-19 07:55:53.081 [ExtensionEvent ] - Extension 'ui-paper' has been installed. 2017-07-19 08:06:38.660 [ExtensionEvent ] - Extension 'binding-ihc1' has been uninstalled.
in /volume1/@appstore/openHAB2/userdata/logs/openhab.log i see this line: 2017-07-19 08:01:10.388 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-binding-ihc1': Permission denied
I tryed to run sudo chown -hR openhab2 /volume1/@appstore/openHAB2 and try again.
Still the same :(
i used my "admin" user, maybe i need to use the "openhab2" user but what are the password? to run sudo chown -hR openhab2 /volume1/@appstore/openHAB2
UPDATE!; It works... You have to go to user rights and give "Openhab2" user R/W rights to the Public folder. :)
@DanNielsen we want to know why the user rights were not set during the installation. So can you tell us:
$(sudo synoshare --get public | grep -oP 'Path.+\[\K[^]]+')
Thanks :-)
the user account is "openhab2" (all lower case)
I can try the command. Which username and password should i use (i don't know the password for the "openhab2" user?)
Use your root pw, the command only return the path of your public folder ;-)
When i use "putty" it ask for a user and password as the first thing...? Is the a better way to run the command. Sorry but i am really a beginner :(
Easily log in as admin like before ;-)
Okay. I will try tonight, when i get home :)
The installation seems to work with the new release. Can we close this issue?
The installation seems to work with the new release. Can we close this issue? You can open a new issue for other problems, Thanks!
YES!! 👍 THANKS!!! :)
I did the command you asked SchoppAx
Thx, we are working on a fix...coming soon 😄
Happy if I could help. Is really impressed with how helpful people are here. Thank you! :)
@DanNielsen we are released a new version: https://github.com/openhab/openhab-syno-spk/releases/tag/2.2.0.005-SNAPSHOT Can you try it, please!
I will, but i cant see a file i can use for install? I need .SPK file
@DanNielsen, take this one: https://github.com/openhab/openhab-syno-spk/releases ;-)
Installing OpenHAB-2.1.0.005-syno-noarch-0.001.spk on a DS412+ no user openhab was created on install.