Comments (14)
OK, I think we must give r/w rights for folder /volume1/@appstore/openHAB2/conf
from openhab-syno-spk.
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.
@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.
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.
@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.
This still does not work
It only gives R/W-rights to /addons, /conf but not for the sub-folders
from openhab-syno-spk.
How can I set it?
from openhab-syno-spk.
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.
The installation seems to work with the new release.
Can we close this issue?
from openhab-syno-spk.
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.
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.
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.
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.
@Baumi1245: You can access our Skype Chat!
from openhab-syno-spk.
Related Issues (20)
- Error when install package HOT 7
- Enable usage of multiple network interfaces
- Local Computer Systeminfo error
- Clear cache
- 2.5.2.000 installed but won't start after upgrade from 2.4.0.002 HOT 1
- DSM 7: Clean up packaging files and make it conform with Synology guidelines HOT 19
- Installation suceeds, package service can't be started - 3.0 Snapshot HOT 5
- SPK package for 3.00 HOT 14
- adding to https://synocommunity.com/packages
- openhab3 for older Synology NAS HOT 5
- Linked jdk is not arm32
- Bintray isn't available anymore HOT 5
- Move out the API URL into separate configuration file HOT 1
- What Java package on DSM7 for OpenHAB SPK?
- DSM 7 does not accept .spk
- Frustration about the openHAB installation on Synology NAS HOT 5
- 3.0 missing sdk HOT 2
- There was a problem downloading openhab-2.5.2.zip from the download link HOT 1
- There was a problem downloading openhab-.zip from the download link (3.0.0) HOT 4
- DepShield Deprecation Notice
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openhab-syno-spk.