Page 1 of 2
Web rest service impossible to install(0.9.0)
Posted: Tue Feb 20, 2018 5:49 pm
by momocampo
Hello all,
First, a big thank you to Steinar for the new FFastrans 0.9.0. There are a lot of new things and I love that !!!
Anyway, one of these cool new function is to install ffastrans like a windows service but in my case impossible to install
When I click on "install as windows service" nothing appends. I tried to start ffastrans with administrators rights but same thing.
If I well understand, with this function I can access to ffastrans by network like a web service. A question : If I uncheck the "enable local workflow processing as application", which computer will work??
Sorry but I really understand this new "host" function but not sure to all understand...
Thanks a lot.
Regards.
Benjamin
Re: Web rest service impossible to install(0.9.0)
Posted: Tue Feb 20, 2018 7:42 pm
by admin
Hi Benjamin,
FFAStrans will should ask for admin rights when installing the service. Are you able to run the rest api as application and access it through the url?
If ffastrans is run as service, local processing and rest api is always active on that computer/host. If you run ffastrans as application, that is through the gui, you can choose to let the gui control local processing and/or run the rest api as application. Functionality is the same wether run as service or application, but you can't run both at the same time.
Hope this clarify
-steinar
Re: Web rest service impossible to install(0.9.0)
Posted: Tue Feb 20, 2018 10:54 pm
by momocampo
Hello Steinar,
Thanks for your answer. So, I check and when I click the install service nothing happens at all. If I check "run as application" I can see "rest_service" in windows services(running). If I uncheck run as application and I click ok, the rest_service disappear...
I tried on windows 10 and 7.
A bit disappointed cause this service function could be very useful.
Maybe someone will have the same problem than me?
Cheers
Benjamin
Re: Web rest service impossible to install(0.9.0)
Posted: Wed Feb 21, 2018 7:10 pm
by admin
Well I'm sorry to read you have problems with installing the service. It has been tested successfully on Win 7,8.1,10 and Server 2012. Can you please try and install it manually from dos? You need to run the cmd with admin rights. Navigate to your ffastrans\processors folder and type "rest_service.exe -i". Please try this and report back.
-steinar
Re: Web rest service impossible to install(0.9.0)
Posted: Thu Feb 22, 2018 6:19 pm
by momocampo
Hello Steinar,
Ok so I tried to install it by dos and the messages are good :
BUT, no rest_service in services...I think I must see it in windows services no?
If I launch FFAStrans, configuration I see "remove windows service" but If I click I have :
I check I launch FFastrans with admin rights. Very strange.
A question, if the rest_service is running (and the run as application is uncheck) FFASTRANS must be in background.So if I want to change something in the workflow, I change it by running the application, by running application in passive mode but I don't see why the url ??
Thanks and sorry Steinar
Re: Web rest service impossible to install(0.9.0)
Posted: Thu Feb 22, 2018 7:23 pm
by admin
In Windows service it's called "FFAStrans REST-API Service". Can you please confirm that you have or don't have this? Since FFAStrans config enables you to remove the service there MUST be a service called "FFAStrans REST-API Service", because that's what FFAStrans enumerates. So from your reply it really looks like the service has been successfully installed with the manual approach. But I HAVE found a weakness in the installation procedure from FFAStrans and it will be addressed.
Thanks for your feedback!
-steinar
Re: Web rest service impossible to install(0.9.0)
Posted: Thu Feb 22, 2018 8:27 pm
by admin
Can you please download this patch and see if it solves the problem with (un)installing from the GUI?
http://www.ffastrans.com/download/FFASt ... 0_patch.7z
-steinar
Re: Web rest service impossible to install(0.9.0)
Posted: Fri Feb 23, 2018 10:25 am
by momocampo
Hello Steinar,
YES!!!!It works perfectly, great job!!
OK, so, now the installation of the service API asks if it can. After answer yes, we see the dos cmd window and the installation is done. The ffastrans api service is well in windows services with status "delayed autostart" (OK?).
Then, the service works great if ffastrans application is not open, good job really!
At last, I can access with the url!
NOTE: the patch fix also my monitor status cache problem, thanks !
Re: Web rest service impossible to install(0.9.0)
Posted: Fri Feb 23, 2018 7:50 pm
by momocampo
Hello,
Beware, on windows 7 I think it necessary start the FFAStrans rest service manually (by Manage windows services). Even after a reboot the service doesn't start. I must check for windows 10.
Cheers.
EDIT : So sorry, on windows 7 the service starts after a while....Really sorry to be too impatient.
Re: Web rest service impossible to install(0.9.0)
Posted: Fri Feb 23, 2018 10:43 pm
by admin
You can set it to normal automatic start without delay if you want. It's your choice. The reason it starts with delay as default is to make sure all network connections are established. And it might be that the default delay is slower on windows 7 than on newer windows. Have'nt really timed it. The most important is that it works
-steinar