Giter VIP home page Giter VIP logo

Comments (14)

cniweb avatar cniweb commented on May 27, 2024

OK, I think we must give r/w rights for folder /volume1/@appstore/openHAB2/conf

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

This is strange; it worked with this one about a week ago:
https://community.openhab.org/t/synology-diskstation/1446/191?u=dragonfly

Tried that one again - same issue now.
Can it be the build of OH?

can tell me the correct way to give r/w right for the installer-script?
it should be in this part - correct?:

 #if configdir exists in public folder -> create a symbolic link
  if [ -d ${PUBLIC_CONF} ]; then
    rm -r ${SYNOPKG_PKGDEST}/conf
    ln -s ${PUBLIC_CONF} ${SYNOPKG_PKGDEST}
  fi

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

@cniweb
r/w for /addons seems to do the job....
but not for /conf - looks the sub-folders have to have r/w too;
i´m gonna test later on - maybe you are faster with giving me some code - did it with DSM-UI meanwhile...

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

Yap - that did it.

So i had to do 2 steps manually:
give the R/W-right to /public within the "Systemsteuerung"
give R/W-rights to /addons, /conf and sub-folders within "File Station"

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

@Baumi1245 I do it:
https://github.com/openhab/openhab-syno-spk/blob/master/scripts/installer.sh#L105
and here:
https://github.com/openhab/openhab-syno-spk/blob/master/scripts/installer.sh#L112

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

This still does not work
It only gives R/W-rights to /addons, /conf but not for the sub-folders

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

How can I set it?

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

I don´t know - what has been changed from prev. versions?

I had always to do this:
give the R/W-right to /public within the "Systemsteuerung"

this one is new since the update-possibility:
give R/W-rights to /addons, /conf and sub-folders within "File Station"

i have always the latest DSM-version - is it possible that they made some changes?

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

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

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

Tried this one: 2.2.0.003-SNAPSHOT
Better, but not perfect: I still have to give give the R/W-rights to /public within the "Systemsteuerung"

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

This is new: there are 3 files within conf/services/

2017-07-20 11:12:23.166 [WARN ] [g.dispatch.internal.ConfigDispatcher] - Could not process config file 'http.cfg': java.io.FileNotFoundException: /volume1/@appstore/openHAB2/conf/services/http.cfg (Permission denied) 2017-07-20 11:12:23.170 [WARN ] [g.dispatch.internal.ConfigDispatcher] - Could not process config file 'pushover.cfg': java.io.FileNotFoundException: /volume1/@appstore/openHAB2/conf/services/pushover.cfg (Permission denied)

addons.cfg must be working, as the packages are all installed which are cofigured here.

from openhab-syno-spk.

SchoppAx avatar SchoppAx commented on May 27, 2024

Hi @Baumi1245,

can you tell us which permissions are given on your /public, /public/openHAB2 and /public/openHAB2/conf folder before and after the installation of 2.2.0.003-SNAPSHOT?

On my Syno the users group has access to the public folders and after the installation the openhab2 user will only added to the /public/openHAB2/addons and /public/openHAB2/conf folders. So if the users group haven't access to the public or openHAB2 folder (I removed the users group to test), the openhab2 user get a permission denied.

We can set read permissions for the user openhab2 for the folders /public and /public/openHAB2 if necessary. This should solve the problems...

I will generate a PR tonight. So you can test if this fix the permission problem 😉

from openhab-syno-spk.

Baumi1245 avatar Baumi1245 commented on May 27, 2024

Giving R/W rights to the Group within "File Station" to /public/openHAB2 and sub-folders seem to work...
tried other things too - hope this was it.

interessting; .items .rules,... worked without doing this...

To you have a solution for this too?
give R/W-rights to /public for oh within "Systemsteuerung/Gemeinsamer Ordner"

If you speak german, please PM me - it´s much more easy for me to understand and tell you, what i did..

from openhab-syno-spk.

cniweb avatar cniweb commented on May 27, 2024

@Baumi1245: You can access our Skype Chat!

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.