This page last changed on Dec 27, 2013 by ingo.

After my first success to show a own designed UI on my IPhone I am happy that the whole system is working.
Thanks a lot again for this tool.

Now I want to upgrade the UI and bring the first communication to my Beckhoff - Bus.
Changing the UI in the designer is no problem.

If I understand it in the right way I have next to do the following steps:

1. Sync the controller on my Qnap with the online designer (works quick and fine but I donĀ“t see any changes.)

2. Reload configuration and clear cache (I clicked on, the refreshing symbol is running and running but no changes and no errors.)

If I try to do a offline upgrade with the openremote.zip there is also no reaction by doing the upload already.

So I try to get contact from my IPhone but in the moment he says me that no controller is detected.

I have already rebooted the Qnap and started the controller manually new.
By the way: The webconcole does not work, too.

Whats wrong?

Regards,

Ingo

Uprade: After fresh installation everything works fine.
Now he even shows the status of the upgrade.

After a second try of upgrade it does not work again.

Should it be a problem with the write rights of the software?

Regards,

Ingo

Posted by ingo at Dec 28, 2013 12:05

Second upgrade:

If I start the Controller from Putty with: ./openremote.sh run
Everthing works fine. I can control my bus system from my smartphone and I can do syncs with the online designer.

If I close the Putty Window, the controller stops working.
You can still surf on the controller with your browser, but a sync with the online designer does not work any more.
Also the contrller is not reachable from the app any more.

What can be wrong?

Posted by ingo at Jan 03, 2014 09:22

Closing Putty will kill your session and stop the controller.
The fact that you can still browser to the controller home page is most probably because it's cached by your browser, if you force a refresh you should get an error.

You can use ./openremote.sh start to start the controller in the background instead and this should survive your session.

Posted by ebariaux at Jan 03, 2014 09:39

Thanks a lot for the hint.
Looks good for the first view.

[/share/MD0_DATA/homes/openremote/bin] # ./openremote.sh start
Using CATALINA_BASE: /share/MD0_DATA/homes/openremote
Using CATALINA_HOME: /share/MD0_DATA/homes/openremote
Using CATALINA_TMPDIR: /share/MD0_DATA/homes/openremote/temp
Using JRE_HOME: /usr/local/jre

But it is still the same effect: With open Putty - Window: Everything fine. If you close the window: The connection to the controller is lost.

Do I have to close Putty in a special way?

Posted by ingo at Jan 03, 2014 19:12

So seems the process is still attached to the session and gets killed even if it runs in the background.
You can try using nohup but the best is still to have OR start when the box is booted. If you search the forums, you should find information on how to do this.

Posted by ebariaux at Jan 06, 2014 08:16

Meanwhile I was able to get the controller in the autostart of the QNAP.
Everything works fine now.

Thanks again.

Posted by ingo at Jan 06, 2014 19:26
Document generated by Confluence on Jun 05, 2016 09:39