Webinterface

Questions and answers on how to get the most out of FFAStrans
emcodem
Posts: 1837
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Hey @DCCentR

You can send me the log 8-)

the logs are set up to go to global.approot / logs.

approot is set to this:

Code: Select all

global.approot  = path.dirname(process.execPath);

Now we can guess why the nodejs core function process.execPath returns this IP, i have no clue how this can happen.
But there is not much we can check, e.g. we have the installed service along with it's working path, can you try to uninstall and re-install the service?

Also you can try to execute server.exe manually, it will print the logs to stdout. One of the first prints should be this:

Code: Select all

console.log("Database file: ", global.approot  + "/database/config")
There you can see what global.approot is currently set to.

Also we have a chance to get the logs from stdout when running as service using nssm.exe:

Code: Select all

nssm edit "FFAStrans Webinterface"
In the I/O tab, configure some file for stdout redirection, restart and check if something is written there.
emcodem, wrapping since 2009 you got the rhyme?
DCCentR
Posts: 32
Joined: Thu May 04, 2023 7:15 am

Re: Webinterface

Post by DCCentR »

emcodem wrote: Tue Feb 18, 2025 9:31 pm Hey @DCCentR

You can send me the log 8-)

the logs are set up to go to global.approot / logs.

approot is set to this:

Code: Select all

global.approot  = path.dirname(process.execPath);

Now we can guess why the nodejs core function process.execPath returns this IP, i have no clue how this can happen.
But there is not much we can check, e.g. we have the installed service along with it's working path, can you try to uninstall and re-install the service?

Also you can try to execute server.exe manually, it will print the logs to stdout. One of the first prints should be this:

Code: Select all

console.log("Database file: ", global.approot  + "/database/config")
There you can see what global.approot is currently set to.

Also we have a chance to get the logs from stdout when running as service using nssm.exe:

Code: Select all

nssm edit "FFAStrans Webinterface"
In the I/O tab, configure some file for stdout redirection, restart and check if something is written there.
Didn't see anything related to 192.168.100.231 in logs/output :(
webui logs.zip
(26.7 KiB) Downloaded 5 times
process monitor log.zip
(585.6 KiB) Downloaded 4 times
emcodem
Posts: 1837
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@DCCentR

ah i think i know what is going on, i switched to a big logging framework node winston, they keep track of the created and to be deleted files in webint/logs/audit folder. I guess you have some references to the IP address there. Funny that they actually create files they just want to delete, i might open a ticket about that but its such a minor issue... hm

anyway, of course you can just delete the webint logs folder along with audit folder, it will be recreated and everything should be fine.
emcodem, wrapping since 2009 you got the rhyme?
DCCentR
Posts: 32
Joined: Thu May 04, 2023 7:15 am

Re: Webinterface

Post by DCCentR »

It works
emcodem
Posts: 1837
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@DCCentR sorry i just changed your previous post unintentionally.
So my follow up release to 1.4.1 ffastrans is coming in the next days. Let me know if you have anything except the stuff we already know.
emcodem, wrapping since 2009 you got the rhyme?
krskvch
Posts: 8
Joined: Fri Aug 16, 2024 12:52 pm

Re: Webinterface

Post by krskvch »

emcodem wrote: Wed Feb 19, 2025 6:48 pm @DCCentR sorry i just changed your previous post unintentionally.
So my follow up release to 1.4.1 ffastrans is coming in the next days. Let me know if you have anything except the stuff we already know.
hi! i have an issue with file sorting by name when browsing at submit jobs page :(
May be you have some sort of hot fix?
emcodem
Posts: 1837
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

@krskvch
Depends on whats your problem and what you mean by hotfix.
Wanna try the very latest? There was some work done in the file browser and sorting too.

https://github.com/emcodem/ffastrans_we ... .0.185.zip
emcodem, wrapping since 2009 you got the rhyme?
krskvch
Posts: 8
Joined: Fri Aug 16, 2024 12:52 pm

Re: Webinterface

Post by krskvch »

it's still have this issue :(
CleanShot 2025-02-20 at 11.28.12@2x.png
CleanShot 2025-02-20 at 11.28.12@2x.png (117.77 KiB) Viewed 75 times
DCCentR
Posts: 32
Joined: Thu May 04, 2023 7:15 am

Re: Webinterface

Post by DCCentR »

emcodem wrote: Wed Feb 19, 2025 6:48 pm @DCCentR sorry i just changed your previous post unintentionally.
So my follow up release to 1.4.1 ffastrans is coming in the next days. Let me know if you have anything except the stuff we already know.
nssm.exe is missing in webinterface_1.4.0.185.zip
Thanks for the update, will definitely check out the new version ;)
emcodem
Posts: 1837
Joined: Wed Sep 19, 2018 8:11 am

Re: Webinterface

Post by emcodem »

Thanks i replaced the download zip on github

@krskvch
by default there is "no sorting, even if there is a little arrow. If you sort at least once, the sorting order should be saved and restored next time you visit the page, e.g. you only need to sort once by your preference.
Is it correclty sorted when you hit the column header to sort it once at least?
emcodem, wrapping since 2009 you got the rhyme?
Post Reply