Comments (7)
Just stumbled across the following which can also be used:
mkdir -p /volume1/public/openHAB2/conf
mount -o bind /volume1/@appstore/openHAB2/conf /volume1/public/openHAB2/conf
from openhab-syno-spk.
Had to use sudo infront of the mount command to get it to work.
from openhab-syno-spk.
After a fresh new installation using Release 2.0 DSM6, I modified the openHAB2 installation to relocate the addons, conf and logs folders.
Using Symbolic links, relocation of those folrders were working on openHAB1.8, but I couldn't achieve to have them working on openHAB2.
So instead of relocating the folders, I've create external links to them to have acess to those folders from my /volume1/public folder.
Here are the commands:
admin@DiskStation:/volume1/public$ mkdir openHAB2/ admin@DiskStation:/volume1/public$ cd openHAB2/ admin@DiskStation:/volume1/public/openHAB2$ ln -s /volume1/@appstore/openHAB2/co nf conf admin@DiskStation:/volume1/public/openHAB2$ ln -s /volume1/@appstore/openHAB2/ad dons addons admin@DiskStation:/volume1/public/openHAB2$ ln -s /volume1/@appstore/openHAB2/us erdata/logs logs
and the results:
admin@DiskStation:/volume1/public/openHAB2$
dir
total 12
drwxrwxrwx+ 1 admin users 28 Jan 25 16:19 .
drwxrwxrwx+ 1 root root 632 Jan 25 16:17 ..
lrwxrwxrwx 1 admin users 34 Jan 25 16:19 addons -> /volume1/@appstore/openHAB2 /addons
lrwxrwxrwx 1 admin users 32 Jan 25 16:18 conf -> /volume1/@appstore/openHAB2/c onf
lrwxrwxrwx 1 admin users 41 Jan 25 16:19 logs -> /volume1/@appstore/openHAB2/u serdata/logs
`
from openhab-syno-spk.
I think, the config from OH2 was diffrent to OH1, see:
http://docs.openhab.org/tutorials/migration.html
from openhab-syno-spk.
With #48 I removed outcommented parts which had no use (for me) in the installer.sh
- these where meant to create the links.
During todays installation I realized the following in the description If the directory /volume1/public/openHAB2/conf exists, this directory will be used for all openHAB2 configuration files.
Let's try a two-step here:
- remove that part of the description because it's currently not working
- get back the missing parts to introduce the new behaviour of openHAB2 and bring back the info in the description and docs
from openhab-syno-spk.
I had no luck creating links at first, means they did not appear in the SMB mount. I figured out that the SMB service requires extra settings to allow this, but provides potential access to other shared folders. Well, I think that's okay for a home usage but maybe it makes more sense to tell openHAB2 where the conf folder is.
But linking the other way round is working for me. So that might be the better approach.
from openhab-syno-spk.
That looked like a terrific fix for me, but unfortunately I get the following error when trying to 'mount': mount: only root can use "--options" option. Sigh! Any work around for this??
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.