Page 10 of 34

Re: New Webinterface available

Posted: Wed Oct 16, 2019 3:22 pm
by momocampo
You're right, I run FFastrans api and webinterface as windows service, run on the 2 server. FFastrans.exe is on NAS.
No log files or folder in webinterface installation folder...

Re: New Webinterface available

Posted: Fri Oct 25, 2019 6:54 am
by veks
Hi all!
I'm trying to install web rest service of FFAStrans, and it seems everything goes fine.
Web GUI service is installed and running.
When I go to the web page of GUI, it shows up but I got an error that API of FFAStrans isn't running.

When I turn on the "run as application" it works OK.

But, as FFAStrans should be running on server, in background all the time, even when users are logged out, option "run as application" is not an solution.

Any ideas why it won't work when I disable it?

Thanks!

Re: New Webinterface available

Posted: Fri Oct 25, 2019 7:10 am
by emcodem
Hi veks, welcome to the Forum and thank you for using ffastrans and the webinterface!

That's easy, when you hit the "install as windows service" button and after that, go to your windows services and start the "FFASTrans REST-API Service", next time you open Options->configuration->Host, the "Run as application" should be greyed out.
Just make sure the FFASTrans REST-API Service is started, then the webinterface should work just as before when everything ran as application.

Re: New Webinterface available

Posted: Fri Oct 25, 2019 7:28 am
by veks
emcodem wrote: Fri Oct 25, 2019 7:10 am Hi veks, welcome to the Forum and thank you for using ffastrans and the webinterface!

That's easy, when you hit the "install as windows service" button and after that, go to your windows services and start the "FFASTrans REST-API Service", next time you open Options->configuration->Host, the "Run as application" should be greyed out.
Just make sure the FFASTrans REST-API Service is started, then the webinterface should work just as before when everything ran as application.
Thank you!
That worked out :)

Re: New Webinterface available

Posted: Thu Nov 07, 2019 11:16 pm
by failsafe5000
I'm having an issue with the web interface, saying that a workflow is not log enabled, even though it is set to log enabled, and I can see the logs in the correct folder its looking for.
logissue.png
logissue.png (14.26 KiB) Viewed 9335 times
logissue2.png
logissue2.png (139.41 KiB) Viewed 9335 times
I have another workflow that shows the logs correctly in the web interface.

I've tried restarting FFAStrans and the web interface, but the issue persists.

Any ideas?

EDIT:
I just noticed that its trying to pull the logs from an old workflow folder, even though the workflow is logging to the correct folder with its workflow id. Is there a reason why the web interface would be trying to pull the logs for this workflow from an old folder?

Re: New Webinterface available

Posted: Fri Nov 08, 2019 8:06 am
by emcodem
Hi @failsafe5000
thanks for using the webinterface :-)
Looking at the code section of interest, i can imagine this can happen if you have 2 workflows with the same "name".
If that is not the case, can you please check if the workflow id in "log to files" is the same than in the General Tab?
logss.png
logss.png (8.75 KiB) Viewed 9322 times

Re: New Webinterface available

Posted: Fri Nov 08, 2019 8:54 am
by failsafe5000
I do have one other workflow that is disabled that is just called "2Avid". As for the log to files setting, the workflow id does match what is in the general tab.

Re: New Webinterface available

Posted: Fri Nov 08, 2019 10:14 am
by emcodem
Could you please upload the file 20191010184107.ini from the /Workflows folder in your ffastrans install directory?

Re: New Webinterface available

Posted: Sat Nov 09, 2019 12:17 am
by failsafe5000
I don't have a 20191010184107.ini in the workflows folder, but attached is the workflow that is having the issue, and is the one currently in use

Re: New Webinterface available

Posted: Sat Nov 09, 2019 7:56 am
by emcodem
Thanks!
Unfortunatly i don't get what's the problem. After importing the workflow, for me it looks in the correct directory for the logs.
You might want to know that with Version 1.0 in a few months, this problem i not of interest anymore as all around logging changed.
Anyway, if you want to go on and get this working, you could zip and upload your whole ffastrans directory to here
https://drive.google.com/drive/folders/ ... sp=sharing

If you cannot share all the stuff, you might want to test how it behaves when you change the log directory in the workflow setting "Special" Tab to e.g. c:\temp