NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Poul Jensen on March 17, 2024, 12:37:26 AM

Title: Best way to recover from web-folder out of sync
Post by: Poul Jensen on March 17, 2024, 12:37:26 AM
Hi,

When updating NT it is hard to get rid of the message:
UPDATE OF WEB FOLDER REQUIRED - Try pressing Ctrl-F5. Server is on version 14.19 but web folder is on version 14.16

Ctrl-F5 does not help, clearing browser data neither.

What is the best procedure here?

Cheers
/Poul
Title: Re: Best way to recover from web-folder out of sync
Post by: rjolda on March 17, 2024, 03:30:36 AM
Poul,
A good place to start is on your web folder app which is running.  On the window - go to Settings Tab  (Log - Performance- Settings Tabs on top).
Settings Tab - will have 4 tabs (Site-Certificate-Headers-Proxy)
On the Site Tab - 4th field down:  "Web Folder"  - THIS HAS TO BE the LOCATION THAT YOUR APP IS RUNNING FROM.
If this path is NOT set correctly, then it will be pointing to an incorrect folder from which the running application CANNOT DOWNLOAD the correct assets....
So, that is the first place that I go to.
Ron
Title: Re: Best way to recover from web-folder out of sync
Post by: Poul Jensen on March 18, 2024, 12:01:15 AM
Hi Ron,

In that field I have:  C:\pstellar7\MariSoft\web

But the NT exe is in:  C:\pstellar7\MariSoft

so the current entry is wrong ?

Cheers
/Poul
Title: Re: Best way to recover from web-folder out of sync
Post by: Bruce on March 18, 2024, 06:23:51 PM
>> On the Site Tab - 4th field down:  "Web Folder"  - THIS HAS TO BE the LOCATION THAT YOUR APP IS RUNNING FROM.

This is inaccurate Ron.
The web folder can be anywhere. (Obviously it must be where you are updating.)
Title: Re: Best way to recover from web-folder out of sync
Post by: Bruce on March 18, 2024, 06:25:18 PM
Poul,

most likely you have either;
a) not deployed from your development machine correctly or
b) not run GzipAll.Bat, and deployed the web folder correctly.

If you look inside \scripts\netweb.js and \scripts\all.js you'll be able to see the nettalkversion.
Title: Re: Best way to recover from web-folder out of sync
Post by: Poul Jensen on March 19, 2024, 12:37:04 PM
Thanks Bruce,

>> If you look inside \scripts\netweb.js and \scripts\all.js you'll be able to see the nettalkversion.

I was wondering where to check for the NT version at the production server.

/Poul
Title: Re: Best way to recover from web-folder out of sync
Post by: Bruce on March 19, 2024, 08:54:29 PM
is that a question?