ChriD / Raumserver

Raumserver - A HTTP Request Server to control the RF-Multiroom System
32 stars 11 forks source link

Raumserver does not start with firmware 1.58? #30

Closed gu50-freak closed 7 years ago

gu50-freak commented 7 years ago

Hi ChriD,

Maybe I have done something wrong, but when trying to install the Raumserver on a RF device I can see that SSH is working and that the server is installed (but not started). Is this a known issue? rf

Thanks & regards Sebastian

ChriD commented 7 years ago

Did you have rebooted the device? There is an issue that the installer cant start or reboot the RF devices vis ssh. Please Be sure that the reboot is a hard reboot!!

gu50-freak commented 7 years ago

The installer was not able to reboot the device, so I unpowered it for a few seconds.

ChriD commented 7 years ago

Hmmm.. well it does work for my Connector 2. Which device do you use?

gu50-freak commented 7 years ago

I tried it with a One S.

ChriD commented 7 years ago

okay i do have this type of device. i will check it

ChriD commented 7 years ago

Hmmm. i have checked it. The server runs. It takes about a minute that he gets online bild 7

Can you please check this link? Of course use the IP of your device http://10.0.0.204:8080/

gu50-freak commented 7 years ago

I don't get a response from the device (here the IP is 192.168.0.15). Hmm, strange. I would really like to give it a try. Can you give some short advices what to do to make Raumserver run on a Raspberry Pi? Just by the way (as I could not find information on this topic): is it possible to wake up a device that is in eco mode via Raumserver commands? I would like to implement some alarm clock feature with the RF devices.

ChriD commented 7 years ago

yes you can toggle the eco mode with requests. Install on RPI? Which one RPI1m RPI2 or RPI3, They all have different Architectures.

BTW: Are you sure you have UNPOWERDE the device by removing the current? Do not use the button on teh front, this wont power off the device

gu50-freak commented 7 years ago

I have an old RPI1.

I am sure that the OneS was unpowered completely. Just rechecked it today after it has been unplugged the whole night.

ChriD commented 7 years ago

Sorry there are no binaries for the RPI1 Can you try one last thing please?

1) Go to the Raumserver installer Directory 2) remove all the files in the "binaries" folder 3) start the installer and update the raumserver on the one s device

gu50-freak commented 7 years ago

Ok, I wanted to get a later version of the raspi anyway.

I did what you said, but without success. Maybe there will be another one who has the same issue. Could it be that is is somehow related to the "base" software that is in the One S and not related to the 1.58 firmware? I just bought it, so there might be a different software inside.

ChriD commented 7 years ago

Hmm.. I have the newest (beta) Software on my devices which is a snapshot of 1.59 In fact it can only be a Problem of the starting Shell script.

One last question. Is your device connected via WLAN or ETH-CABLE?

gu50-freak commented 7 years ago

It is connected via WLAN. There is an RF Expand as host.

ChriD commented 7 years ago

You have the same setup as i have... ´Phu... i have to check the startup script

ChriD commented 7 years ago

Well.. I think i found the problem... It seems that the starting script S99raumserver has the wrong permissions. The installer should set the to "all access" but it seems that he does not do this anymore. If there were previouse installs of the raumserver the files has the correct permissions and therefore it worked for me....

I'll have to fix this in the next version!

gu50-freak commented 7 years ago

Thank you for debugging it so far! I will try again when the next version will be available.

DirkfromAustria commented 7 years ago

Hello Chris

I seem to have the same problem on a Raumfeld One device. From what I see on responses from the console authorisations do not seem to be the problem. Please find the ls -l printouts of my directories and the errormessage from the S99raumserverscript attached. I constantly get a "not found" message from sh. Also update from 1.58 to 1.60 did not change the issue and the error message. I hope this helps to understand the error better.

root@speaker:/etc/raumfeld/raumserverDaemon $ ls -l -rwxrwxrwx 1 root root 2065 Dec 3 06:55 S99raumserver drwxrwxrwx 7 root root 552 Nov 27 08:11 docroot drwxrwxrwx 2 root root 232 Nov 27 08:12 fault drwxrwxrwx 3 root root 232 Nov 27 08:12 libs drwxrwxrwx 2 root root 232 Nov 27 08:12 logs -rwxrwxrwx 1 root root 181972 Dec 3 06:55 raumsrvDaemon -rwxrwxrwx 1 root root 2051 Dec 3 06:55 settings.xml

root@speaker:/etc/raumfeld/raumserverDaemon/libs $ ls -l drwxrwxrwx 2 root root 304 Nov 27 08:12 linux_ARMV7

root@speaker:/etc/raumfeld/raumserverDaemon $ ./S99raumserver start Waiting for network to become available . wlan0 online Please be patient. Daemon will start in 20 seconds! Starting raumsrvDaemon in /etc/raumfeld/raumserverDaemon/ ./S99raumserver: line 90: ./raumsrvDaemon: not found

I also tried to start the binary with full path root@speaker:/ $ ./etc/raumfeld/raumserverDaemon/raumsrvDaemon -sh: ./etc/raumfeld/raumserverDaemon/raumsrvDaemon: not found

and also directly from the directory root@speaker:/etc/raumfeld/raumserverDaemon $ ./raumsrvDaemon -sh: ./raumsrvDaemon: not found

ChriD commented 7 years ago

The problem here is that the installer installed the armv7 binaries, but the raumfeld one s is a armv5 The installsettings.xml of the raumserver installer is wrong. You may change the installsettings.xml and reinstall the armv5 binarie with the installer

DirkfromAustria commented 7 years ago

Am 04.12.2016 um 20:51 schrieb Christian:

The problem here is that the installer installed the armv7 binaries, but the raumfeld one s is a armv5 The installsettings.xml of the raumserver installer is wrong. You may change the installsettings.xml and reinstall the armv5 binarie with the installer

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ChriD/Raumserver/issues/30#issuecomment-264726306, or mute the thread https://github.com/notifications/unsubscribe-auth/AXPVs2RmBCAjN2E7TVUPe1jHXITSJuvgks5rExm2gaJpZM4KSBre.

Hello Christian

Many thanks. Server is online now.

I will try to get familiar with the commands now. At the end of the day hopefully my home automation will collaborate with the system. I will report success.

Regards Dirk