Comments (11)
Default port ist 8080.
from openhab-syno-spk.
Hi @fsedarkalex,
this turns out unfortunately a bit difficult because when the installation process of DiskStation packages no parameters can be passed.
But if your configuration is below /volume1/public/openhab/configurations can be set openhab.cfg in here a different port.
This place is incidentally not overwritten during an update!
Thank you for your involvement!
Chris
from openhab-syno-spk.
well I know how to do it afterwards, sure!
I saw the UsbSerial-SPK lets you choose which drivers to install so somehow it must be possible in my opinion.
from openhab-syno-spk.
OK, can you help me? Can you find a link to the source code? Than can I look... ;-)
from openhab-syno-spk.
https://forum.synology.com/enu/viewtopic.php?f=155&t=82843&start=420
You could talk to "jadahl" probably he can give you some information on this :)
from openhab-syno-spk.
Hi @gizmocuz (jadahl?), can you help us?
from openhab-syno-spk.
What is the default port configured in the package? when I try to install the spk, I receive the message that the port is already in use.
from openhab-syno-spk.
Hello,
It would be great as my OH2 don't start either and my port 8080 is busy on 2.0.0.007-SNAPSHOT-DSM6.
I checked on https://community.openhab.org/t/no-access-to-openhab2-via-port-8080/6080 and https://community.openhab.org/t/changing-port-number-on-openhab-2-0/2300
So I tried to change port in start_runtime.sh
, start_runtime_debug.sh
and /runtime/bin/setenv
. I even added env
variable and finally did an export
in despair.
As I was ready to hange myself, I also added OPENHAB_HTTP_PORT=8081
& OPENHAB_HTTPS_PORT=8445
to start_runtime.sh
and start_runtime_debug.sh
When starting it on my synology, it starts on 8080 anyway. Any clues? Should I try to build it on my syno?
Here are some logs:
uname -a: Linux GooxStation 2.6.32.12 #8451 SMP Wed Nov 9 13:44:31 CST 2016 ppc GNU/Linux synology_qoriq_213+
In my logs I have:
java.net.BindException: Address already in use
Trying to launch it through the command lines:
sudo ./start_debug.sh
Launching the openHAB runtime...
Java HotSpot(TM) Embedded Client VM warning: G1 GC is disabled in this release.
ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
/volume1/@appstore/openHAB2/runtime/bin/karaf: line 366: 8788 Aborted (core dumped) $KARAF_EXEC "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="${JAVA_ENDORSED_DIRS}" -Djava.ext.dirs="${JAVA_EXT_DIRS}" -Dkaraf.instances="${KARAF_HOME}/instances" -Dkaraf.home="$KARAF_HOME" -Dkaraf.base="$KARAF_BASE" -Dkaraf.data="$KARAF_DATA" -Dkaraf.etc="$KARAF_ETC" -Dkaraf.restart.jvm.supported=true -Djava.io.tmpdir="$KARAF_DATA/tmp" -Djava.util.logging.config.file="$KARAF_BASE/etc/java.util.logging.properties" $KARAF_OPTS $OPTS -classpath "$CLASSPATH" $MAIN "$@"
sudo ./start_debug_runtime.sh
find: `server': No such file or directory
Launching the openHAB runtime in debug mode...
Error: Unable to access jarfile 5555
PID is:
from openhab-syno-spk.
Hello @gooxbe,
you must already edit line 10 in the INFO file:
https://github.com/openhab/openhab-syno-spk/blob/2.0-SNAPSHOT-DSM6/INFO#L10
And the folder structure was updated!
See #37
Christian
from openhab-syno-spk.
Great, I should try this as you might have seen my other post, can't get the spk installation to work...
Thanks for your help!
from openhab-syno-spk.
Done!
Please checkout the new pre-release: https://github.com/SchoppAx/openhab-syno-spk/releases/tag/2.2.0.007-SNAPSHOT
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.