Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation suceeds, package service can't be started - 3.0 Snapshot #182

Open
chingon007 opened this issue Jan 9, 2021 · 5 comments
Open

Comments

@chingon007
Copy link

Hello,

I tried to installt the 3.0 Snapshot under /var/services/homes/openhab. According to the Synology Log Center it is successfull installed, but neither is the package service starting - receiving error: Package service can't be started - nor do I have any created folders in /var/services/homes/openhab or an user is created.

Where do I find specific logs for the openhab installation to see what is going wrong?

@chingon007
Copy link
Author

Ok, found the log. The error I am receiving is:

Start postuninst... Daemon user folder '' not found - nothing deleted

@chingon007
Copy link
Author

The error is coming from uninstalling. If I start installing nothing appears in the log file. I did install and added it to etc.
What could be wrong?

@ekkards
Copy link

ekkards commented Jan 21, 2021

Neither have I been successful, on a DiskStation with INTEL Atom C2538

using Java installation hints in https://github.com/openhab/openhab-syno-spk/README.md

$ which java
/var/packages/java11/bin/java

and

$ java --version
openjdk 11.0.10 2021-01-19 LTS
OpenJDK Runtime Environment Zulu11.45+27-CA (build 11.0.10+9-LTS)
OpenJDK 64-Bit Server VM Zulu11.45+27-CA (build 11.0.10+9-LTS, mixed mode)

checked CLASSPATH

$ echo $CLASSPATH
.:/var/packages/java11/lib

and JAVA_HOME

$ echo $JAVA_HOME
/var/packages/java11

but not even /var/services/homes/openhab would be there.

/var/log/openHAB-install.log contains

#### S T A R T  -  o p e n H A B  S P K ####
2021-01-21:19:46:42

Set instance variables...
  public:
  smarthome:
  home:
  TMPFS:
  Z-Wave:
  tmp:    /volume1/@tmp
  share:  /var/services/homes
  oh:     /var/services/homes/openhab
  backup: /volume1/@appstore/openHAB-backup-202101
done
User that exec the Installation
root
Start postuninst...
  Daemon user folder '' not found - nothing deleted
done

@fabyte
Copy link

fabyte commented Feb 5, 2021

Same here, I have exactly the same java environment like @ekkards .
Besides that, I'm running a DS220j with Realtek RTD1296 SoC.

/var/log/openHAB-start_stop.log shows:

Start service
  call start.sh.
  FAILED (su)
Stop service.
  openHAB is not running
done.

@Gemikro1
Copy link

Same for me, also installed Java11 with the minor modification that i have the additional \jdk-11.0.9.1+1 in the Java installation path and env vars.
I think the installation fails because the installer.sh script tries to find the file "openhab-3.0.0-SNAPSHOT.zip" under "https://ci.openhab.org/job/openHAB-Distribution/lastSuccessfulBuild/artifact/distributions/openhab/target/"
where it simply does not exist.
There is stable version available under
https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Fdistro%2Fopenhab%2F3.0.1%2Fopenhab-3.0.1.zip
I am currently trying to modify the installer to use the locally downloaded 3.0.1 file instead of the 3.0.0 snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants