Coder Social home page Coder Social logo

Comments (6)

cniweb avatar cniweb commented on May 30, 2024

Which package do you use?

from openhab-syno-spk.

ms777 avatar ms777 commented on May 30, 2024

I use https://github.com/openhab/openhab-syno-spk/releases/tag/2.0.0.001-DSM6.
2.1.0.002-SNAPSHOT-DSM6 did not work for me (Windows 10, DSplay 214)

Even in the most recent version (https://github.com/openhab/openhab-syno-spk/blob/master/scripts/start-stop-status.sh), there is nothing in the 'start)' section, where a PIDFILE is created

I am a Linux newbie, so forgive me if this is bs.

from openhab-syno-spk.

cniweb avatar cniweb commented on May 30, 2024

@ms777 can you try my new version:
https://github.com/openhab/openhab-syno-spk/releases/tag/2.1.0.004-SNAPSHOT-DSM6

from openhab-syno-spk.

ms777 avatar ms777 commented on May 30, 2024

the new version works, OpenHAB2 is installed and can be run.

Unfortunately, so far there seems to be some issue with recognizing the /volume1/public/openHAB2/conf folder. It is linked ...

admin@DiskStation:/volume1/@appstore/openHAB2$ ls -al
total 56
drwxr-xr-x  4 openhab2 root   4096 Mar 26 17:28 .
drwxrwxrwx 21 root     root   4096 Mar 26 17:27 ..
lrwxrwxrwx  1 openhab2 root     31 Mar 26 17:28 addons -> /volume1/public/openHAB2/addons
lrwxrwxrwx  1 openhab2 root     29 Mar 26 17:28 conf -> /volume1/public/openHAB2/conf
-rwxrwxrwx  1 openhab2 users 11232 Mar 25 12:23 LICENSE.TXT
drwxrwxrwx  6 openhab2 users  4096 Mar 26 17:28 runtime
-rwxrwxrwx  1 openhab2 users   121 Mar 25 12:17 start.bat
-rwxrwxrwx  1 openhab2 users    72 Mar 25 12:17 start_debug.bat
-rwxr-xr-x  1 openhab2 root   1132 Nov 17  2013 start_debug_runtime.sh
-rwxrwxrwx  1 openhab2 users    73 Mar 25 12:17 start_debug.sh
-rwxr-xr-x  1 openhab2 root    930 Nov 17  2013 start_runtime.sh
-rwxrwxrwx  1 openhab2 users   116 Mar 25 12:17 start.sh
-rwxr-xr-x  1 openhab2 root     65 Nov 17  2013 stop_runtime.sh
drwxrwxrwx  5 openhab2 users  4096 Mar 26 17:28 userdata

... but completely ignored by openHAB2. See the openhab.log:

admin@DiskStation:/volume1/@appstore/openHAB2$ cat userdata/logs/openhab.log
2017-03-26 17:30:06.240 [WARN ] [org.apache.felix.fileinstall        ] - /volume1/@appstore/openHAB2/addons does not exist, please create it.
2017-03-26 17:30:06.306 [WARN ] [org.apache.felix.fileinstall        ] - Root path does not exist: /volume1/@appstore/openHAB2/addons
2017-03-26 17:30:51.312 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-03-26 17:31:06.259 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'items' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-03-26 17:31:06.262 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'persistence' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-03-26 17:31:06.264 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'rules' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-03-26 17:31:06.267 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'scripts' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-03-26 17:31:06.269 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'sitemaps' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!
2017-03-26 17:31:06.272 [WARN ] [.core.internal.folder.FolderObserver] - Directory 'things' does not exist in '/volume1/@appstore/openHAB2/conf'. Please check your configuration settings!

(these directories all exist in conf)

By mount --bind it works:

admin@DiskStation:/volume1/@appstore/openHAB2$ sudo rm conf
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo rm addons
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo mkdir conf
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo mkdir addons
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo mount --bind /volume1/public/openHAB2/conf conf
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo mount --bind /volume1/public/openHAB2/addons addons
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo chown -hR openhab2:users conf
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo chown -hR openhab2:users addons
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo chmod 777 conf
admin@DiskStation:/volume1/@appstore/openHAB2$ sudo chmod 777 addons

from openhab-syno-spk.

cniweb avatar cniweb commented on May 30, 2024

The installation seems to work with the new release.
Can we close this issue?

from openhab-syno-spk.

ms777 avatar ms777 commented on May 30, 2024

o.k. for me to close, but I still believe the PIDFILE is never created

from openhab-syno-spk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.