Update clients with new versions

All about WTware on Raspberry. WTware works with Raspberry Pi 4, Raspberry Pi 3B+, Pi 3 and Pi 2 devices
http://www.winterminal.com
abtest
Posts: 22
Joined: Tue Sep 13, 2016 3:56 pm

Update clients with new versions

Post by abtest »

Hello

Is there anyway to store the files on the SD card but to have a way to update the version of WTware automatically, like WSUS so an internal server that has the update on it and then a file path in the config on the clients ?
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Update clients with new versions

Post by aka »

No way just now :( We'll make remote update later.

With true network boot on x86, version update is just changing dhcp setting. On Pi our network boot method did not helps, SD should be rewritten too...
abtest
Posts: 22
Joined: Tue Sep 13, 2016 3:56 pm

Re: Update clients with new versions

Post by abtest »

Will this be done this year ?
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Update clients with new versions

Post by aka »

Year has just started. Surely it will be this year :)
J1mbo
Posts: 57
Joined: Mon Mar 14, 2016 6:24 pm

Re: Update clients with new versions

Post by J1mbo »

Network boot too via RPi firmware update. Need to test it, means the SD card can be removed altogether.
nicodep
Posts: 27
Joined: Tue Aug 16, 2016 2:26 pm

Re: Update clients with new versions

Post by nicodep »

aka wrote:Year has just started. Surely it will be this year :)
Good news AKA :roll:

I tried network boot but not usable for my, because all my shops have that 1 to 2 mbps of bandwidth and each PI3 boot near 280Mb are downloaded !

I will wait impatiently

;)
abtest
Posts: 22
Joined: Tue Sep 13, 2016 3:56 pm

Re: Update clients with new versions

Post by abtest »

Hello aka

Any update on this feature ?
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Update clients with new versions

Post by akatik »

nicodep wrote:... and each PI3 boot near 280Mb are downloaded !
Please, write me again, what are you telling about.
Full WTware for all architectures is less then 200Mb. Update image for Pi is about 25Mb now. What is 280Mb?
abtest
Posts: 22
Joined: Tue Sep 13, 2016 3:56 pm

Re: Update clients with new versions

Post by abtest »

So my idea was to have a share on a server that the Pi's look at and download the latest version of WTware from, Basically like an internal Windows Update Server. When a new version of WTware is released you copy the zip to the share and then when the pi's turn on in the morning or on a schedule they check for an update, download it and apply it
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Update clients with new versions

Post by akatik »

I do not think automatic wtware update on local disks is a good idea.

If you like to test new versions, use network boot. With network boot, you can easily change version and easily return it back if something goes wrong.
mvittek
Posts: 5
Joined: Thu Sep 07, 2017 10:18 am

Re: Update clients with new versions

Post by mvittek »

I would like to continue in this thread as i am interested in simmilar use case.

I would like to have remote clinets configured on SDcard. Bud i would like them to administrate remotely online sometimes. Is it possible to make setting during boot *check if configuration server is online / if not use sdcard setting, if yes, download setting ?

The point is, that if there will be problem with configuration, i can startup configuration server, update settings and then turn it off. So most times will be server off, and configuration used will be on sdcard.

I hope i explained myself clearly. Thanks for response
aka
SUPPORT
SUPPORT
Posts: 939
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: Update clients with new versions

Post by aka »

mvittek wrote:I would like to have remote clinets configured on SDcard. Bud i would like them to administrate remotely online sometimes.
You can administer remotely by hands. Over HTTPS. Not automatically.
mvittek wrote:So most times will be server off, and configuration used will be on sdcard.
It's a problem.
WTware that boots from SD and downloads configs from network always saves downloaded config. And uses it on next boot if network server fails. But:
1. It takes time to make decision "server fail". Minutes.
2. It's error. WTware displays error message and user presses any key to continue.
mvittek
Posts: 5
Joined: Thu Sep 07, 2017 10:18 am

Re: Update clients with new versions

Post by mvittek »

Is it possible to change this value? For etc 10 sec ?
aka wrote: 1. It takes time to make decision "server fail". Minutes.
akatik
SUPPORT
SUPPORT
Posts: 630
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: Update clients with new versions

Post by akatik »

mvittek wrote:Is it possible to change this value? For etc 10 sec ?
If problem is still actual, please, try this build:

http://pxe.ru/files/testing/201710230055.zip

Install this build. Make boot SD.

Then open cmdline.txt file on SD in text editor (windows notepad is ok) and add "config_timeout=10" before "quiet" word.

Will it work as expected?
Guest

Re: Update clients with new versions

Post by Guest »

akatik wrote:
mvittek wrote:Is it possible to change this value? For etc 10 sec ?
If problem is still actual, please, try this build:

http://pxe.ru/files/testing/201710230055.zip

Install this build. Make boot SD.

Then open cmdline.txt file on SD in text editor (windows notepad is ok) and add "config_timeout=10" before "quiet" word.

Will it work as expected?
I can confirm this works on Ver. 5.6.18

Thank you AKATIK
Post Reply