Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Installation freezes Windows 10 #2487

Open
1 task done
glocalglocal opened this issue Dec 17, 2024 · 51 comments
Open
1 task done

[Bug]: Installation freezes Windows 10 #2487

glocalglocal opened this issue Dec 17, 2024 · 51 comments
Labels
needs investigation Issues that require further investigation

Comments

@glocalglocal
Copy link

Installation Method

Local Installation

The Problem

I tried to install Stirling-PDF-win-installer.exe (v0.36.3 on Windows 10) for the first time. Installation freezes at 90%. The popup displays the message:

Initializing Stirling-PDF
Stirling-PDF
Finalising startup...
90%

If I terminate and start C:\Users\user\AppData\Local\Stirling-PDF\Stirling-PDF.exe it tries to continue from where it stopped and freezes again.

If I run the downloaded Stirling-PDF-win-installer.exe again, it offers to repair the installation, and in the end I get the same freeze at 90% as above.

Version of Stirling-PDF

0.36.3

Last Working Version of Stirling-PDF

Docker and portable 0.36.0

Page Where the Problem Occurred

No response

Docker Configuration

No response

Relevant Log Output

No response

Additional Information

No response

Browsers Affected

No response

No Duplicate of the Issue

  • I have verified that there are no existing issues raised related to my problem.
@dosubot dosubot bot added the needs investigation Issues that require further investigation label Dec 17, 2024
@Ludy87 Ludy87 changed the title [Bug]: [Bug]: Installation freezes Windows 10 Dec 17, 2024
@Ludy87
Copy link
Contributor

Ludy87 commented Dec 17, 2024

Hi @glocalglocal can you please provide the info.log from the path C:\Users\user\AppData\Local\Stirling-PDF\logs?

@glocalglocal
Copy link
Author

glocalglocal commented Dec 18, 2024

Upgraded to 0.36.4 and problem persists. info.log attached.
info.log

EDIT: I can access Stirling PDF on the localhost but the error message above remains on the screen.

@HerveKr
Copy link

HerveKr commented Dec 20, 2024

Same for me .... Blocked at 90% on 2 Windows 11 Pcs

@Frooodle
Copy link
Member

Are you running any anti viruses?

I have tested this on 5 windows machines and it works on all
So trying to see what you have in common

Anti virus:
Admin/guest account:
Changed install path yes/no

Whatever else you can think of that might differentiate you from other windows users

@HerveKr
Copy link

HerveKr commented Dec 20, 2024

Use MalwareBytes and ad guard ... and Microsoft defender
yesterday tested with ad guard on but disable , same pb

@glocalglocal
Copy link
Author

I use the Windows AV but only on-demand. I run as admin and haven't changed the default installation path.

I don't see anything relevant in the Windows Events log.

I have the docker version installed and the portable version. Both work fine but the docker version won't work if I use the default port 8080. 8081, 8082 work OK.

The docker version sees the applications for conversion to docx and compression. The install and portable versions don't, but I am guessing that's by design.

I don't see anything unusual about my setup.

@Frooodle
Copy link
Member

https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.5/Stirling-PDF-test.exe
Can you see if this version results in anything extra? i have added some logs

@Frooodle
Copy link
Member

You will need to uninstall the old version first (should show up in add/remove apps/programs on windows)

@HerveKr
Copy link

HerveKr commented Dec 20, 2024

Yesss this one is one , continue after 90% and see
image

A big Thanks

@Frooodle
Copy link
Member

very odd... i didnt add anything to fix this! I only added more logs to investigate the issue....

Will remain a mystery.... Well will push this in next release anyway :) thanks!

@HerveKr
Copy link

HerveKr commented Dec 20, 2024

lol will test this on other pc in 24h

@Frooodle
Copy link
Member

Perhaps the issue is resolved by uninstalling and reinstalling somehow

@HerveKr
Copy link

HerveKr commented Dec 20, 2024

Tested on a second PC : blocked yesterday and uninstall yesterday :
On this too , it's Ok Now (first open in admin, Ok and after in user mode Ok too)

Dont know why lol
Big thanks

@Frooodle
Copy link
Member

Frooodle commented Dec 20, 2024

@glocalglocal how is it your side? can you try that new version
and also see if it shows anything new in info.log

@HerveKr
Copy link

HerveKr commented Dec 21, 2024

For information : this morning tested on a 3nd PC
Classical exe : ask me for firewall windows (local and not locally) , accept , and finally after install block at 90%
Test version : dont ask me for firewall , and directly Ok
Perhaps something to see with firewall

@glocalglocal
Copy link
Author

The test version completed OK here too. If there is nothing substantively different with this, then there is still an issue that is hit and miss. HerveKr and I were affected once and reported it. Others may not report it.

I see the install version doesn't do compress and convert to docx. If that's how it is designed to be, I will have to go back to the full docker version anyway which uses ghostscript and LibreOffice for these features.

@BloodyKitchen
Copy link

I got the same situation during installation,initializing stuck in 90% even if I uninstall and reinstall can't resolve this problem,and I using the test version it finally work out.

@pehamu
Copy link

pehamu commented Dec 24, 2024

I had the same issue with the regular Windows installer on a Win 11 laptop. Uninstalled, rebooted, reinstalled, same problem. Tried the test version... installation completed, but then when I started up the program, I get an alert that says "Failed to launch JVM"...
Hope someone can help. Thanks!
Screenshot (1)

@Frooodle
Copy link
Member

@pehamu any extra info in logs folder
from the path C:\Users\user\AppData\Local\Stirling-PDF\logs?

Also can you open CMD and run java --version just for curiosity

@pehamu
Copy link

pehamu commented Dec 25, 2024 via email

@Frooodle
Copy link
Member

Seems logs didn't attach via the GitHub email reply

@pehamu
Copy link

pehamu commented Dec 25, 2024

Seems logs didn't attach via the GitHub email reply

info.log
invalid-auths.log

@Flithor
Copy link

Flithor commented Dec 31, 2024

I was also stuck at 90%.
But can use it by open http://localhost:8080 in browser.
more info: The log file is locked by progress when running(Stirling-PDF.exe, jcef_helper.exe)
logs files:
logs.zip

@greaturchin
Copy link

greaturchin commented Dec 31, 2024

I had the same issue where it stuck at 90%. I came here, read all the posts, put my computer aside for the evening, came to the laptop the next day and it was finished. Not sure when it completed, but it eventually did on its own. Hopefully that provides something.

And, after writing the above, I closed the app, reopened it, and it was back to the "Finalising startup" 90% message.

@alexgan123
Copy link

I installed Stirling PDF from https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.5/Stirling-PDF-win-installer.exe and when I open the app, it is also stuck on finalising startup at 90%.

Here is my logs:
info.log

@topoldo
Copy link

topoldo commented Jan 2, 2025

Updating from 0.34 to 0.36.5, running with admin permission and using the "official" version..
Putting the executable in:
C:\Programs Files\stirlingtools\Stirling-PDF
Opened the firewall both for private & public networks
Installation freeze at 90%
info.log and debug.log attached
I'll also try with the snapshot on next day.

Topoldo

debug.log
info.log

Topoldo

@topoldo
Copy link

topoldo commented Jan 2, 2025

I forgot: I have Win11 24H2

@topoldo
Copy link

topoldo commented Jan 2, 2025

Hi.
I uninstalled my Stirling.pdf version 0.34 leaving the original subdir:
C:\Program Files\stirlingtools\configs
which contained 0.34 version of:

  • custom_settings.yml (0 byte)
  • settings.yml
    The content of this original 0.34 settings.yml is herein attached (with a .txt extension because of limitation on kinds of attachment of this forum):

settings.yml.txt

Then I downloaded the "test" version:
https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.5/Stirling-PDF-test.exe

and I tried to install it into two different locations, running in both cases the installation and the program using admin permissions.

In these conditions I was successfull in both cases and herein I attach the logs of both kinds of installation:

  1. C:\Users\Leopoldo\AppData\Local
    debug_local.log
    info_local.log

  2. _C:\Program Files\stirlingtools_
    debug_prg.log
    info_prg.log

Regards,
Leopoldo/Topoldo

@Frooodle
Copy link
Member

Frooodle commented Jan 3, 2025

@topoldo Do you believe the fix was admin permissions or something else?

@Frooodle
Copy link
Member

Frooodle commented Jan 3, 2025

For the people still facing issues with windows installs can someone please try
https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.6/Stirling-PDF-test.exe
and see if it fixes OR produces any different logs?

@Stirling-Tools Stirling-Tools deleted a comment from topoldo Jan 3, 2025
@topoldo
Copy link

topoldo commented Jan 3, 2025

I tried to install Stirling-PDF 0.36.6 as "standalone" (not in server mode) using the "windows-installer" 0.36.6 version and I wasn't successfull: it still stops at 90% as the previous version.
So I moved to the test one, same version. Unfortunately I wasn't successfull also in this case :-(

Please note that, as I want the program to be accessible to all the users and, for a personal style in maintaning programs, I want all the programs go to
C:\Program Files
or
C:\Program Files (x86)
I tried to install both official and test version in:
C:\Program Files\stirlingtools
So I had to use the admin permissions in both cases because the program must "write" in this directory to create config files etc...

Besides, before launching Stirling PDF, I also changed the properties of the program shortcut on the desktop to make it to run as admin to be sure that no permission problem could interfere with its work.

PS: BTW, IMHO, it could be better if all the Stirling pdf subdir were put in %APPDATA% (local or roaming) because data and configs maybe different for different users, while the executable should go in %PROGRAM FILES%

Regards,
Topoldo

@Frooodle
Copy link
Member

Frooodle commented Jan 3, 2025

Already working on the log/config file movement :)
But that's separate to this 90% issue

@Frooodle
Copy link
Member

Frooodle commented Jan 3, 2025

Thanks for checking again on the installer side

@Frooodle
Copy link
Member

Frooodle commented Jan 3, 2025

Hey again, back with a new version, some fixes, and writes data to AppData\Roaming\Stirling-PDF
Should also now default install to program files

https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.6/Stirling-PDF-test2.exe

Can you see if this fixes the 90% issue and if you have any other issues with it?

@greaturchin
Copy link

It still stops at 90% for me

image

@Frooodle
Copy link
Member

Frooodle commented Jan 4, 2025

Can you check AppData\Roaming\Stirling-PDF for logs. And also see if any log file in webui folder

@djc0739
Copy link

djc0739 commented Jan 4, 2025

I was having the same issue with the installer on Windows 10 computer. Tried running repair which did not help. I did notice that Windows Firewall blocked the program during install, but allowed it and install continued to the 90% mark and froze.

I uninstalled original version and tried the new version and Windows Defender blocked it from installing. I installed anyway and had to allow access through Windows Firewall again. Same result, install froze at 90%.

There was no log in webui folder. Here is the log from AppData\Roaming\Stirling-PDF.
info.txt

@Frooodle
Copy link
Member

Frooodle commented Jan 4, 2025

Great feedback thanks!
I have addressed some of the issues in that log in
https://github.com/Stirling-Tools/Stirling-PDF/releases/download/v0.36.6/Stirling-PDF-test3.exe

Hopefully we can get to the bottom of this
To install this since its same version number you need to uninstall the previous one from windows app menu

@topoldo
Copy link

topoldo commented Jan 4, 2025

Hi.
In my Win11 24H2, I removed all my previous installations of StirlingPDF: both as a server (no need to uninstall - just removed it and all its subfolders from the PC) and the "standalone" version - in this case by using the uninstall feature of the Windows Control Panel.

Then I installed "test3" version as standard user.
Also in these condition I had a freezing at 90%.
The info.log which I found in:
%APPDATA%\Roaming\Stirling-PDF\logs
was this:
info1.log

At this point I killed the StirlingPDF process and re-launched StirlingPDF as admin from its desktop shortcut.
However also in this case it froze at 90%.
In this case the log which was the "sum" of the previous log + lines added by the second execution is herein attached:
info2.log

Seeing that last line of this log was different from the last one of the first execution, and that it was:
2025-01-04 17:38:27,489 INFO s.s.S.SPdfApplication [main] Navigate to http://localhost:8080

I tried to open Firefox (which is my default browser) and I left it opened, while I re-launched (as admin) Stirling-PDF for the third time using its Desktop shortcut.
Unfortunately also in this case the program froze at 90% and its log (which is the combination of the 2 previous logs + the lines added by this last attempt) is reported in the attachment below:
info3.log

HTH
Topoldo

@djc0739
Copy link

djc0739 commented Jan 4, 2025

This time I tried the new download on a Win 11 machine with the same results. Had to allow Windows Defender block and installation stopped at 90%. Please see attached.
info.log

@Frooodle
Copy link
Member

Frooodle commented Jan 4, 2025

I wonder what your installations all have in common
If its not OS etc is it locale?

What default language etc is installed for everyone?

@djc0739
Copy link

djc0739 commented Jan 4, 2025

Both my installs were on Dell notebooks. The Win 10 machine is at 4 or 5 years old and the Win 11 machine is less than a year old.
My locale is English, USA, Eastern Time Zone.

@Frooodle
Copy link
Member

Frooodle commented Jan 4, 2025

what CPUs are they?

@Ludy87 Ludy87 pinned this issue Jan 4, 2025
@Ludy87
Copy link
Contributor

Ludy87 commented Jan 4, 2025

freezes

x x
Prozessor Intel(R) Celeron(R) CPU N2940 @ 1.83GHz 1.83 GHz
Installierter RAM 4,00 GB (3,88 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 10 Home
Version 22H2
Betriebssystembuild 19045.4170
Leistung Windows Feature Experience Pack 1000.19054.1000.0

does not freeze

x x
Prozessor AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx 2.30 GHz
Installierter RAM 40,0 GB (37,9 GB verwendbar)
Systemtyp 64-Bit-Betriebssystem, x64-basierter Prozessor
Edition Windows 11 Home
Version 23H2
Betriebssystembuild 22631.4602
Leistung Windows Feature Experience Pack 1000.22700.1055.0

@Frooodle
Copy link
Member

Frooodle commented Jan 4, 2025

Not working on

x x
Processor Intel(R) Core(TM) Ultra 9 185H
Edition Windows 11 Home
Version 23H2
Version 10.0.22631 Build 22631
RAM 32GB

@topoldo
Copy link

topoldo commented Jan 5, 2025

Freezes

Immagine 2025-01-05 093500

Later (I don't know if I can today or tomorrow) I could test 2 more devices with old processors
Topoldo

@HerveKr
Copy link

HerveKr commented Jan 5, 2025

Freeze too with this one :

Nom de l'appareil INTEL-NUC02-WINDOWS
Processeur 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz
Mémoire RAM installée 16,0 Go (15,6 Go utilisable)
ID de périphérique 614D
ID de produit 00330-5
Type du système Système d’exploitation 64 bits, processeur x64
Stylet et fonction tactile La fonctionnalité d’entrée tactile ou avec un stylet n’est pas disponible sur cet écran

Édition Windows 11 Professionnel
Version 24H2
Installé le ‎04/‎12/‎2024
Build du système d’exploitation 26100.2605
Expérience Pack d’expérience de fonctionnalités Windows 1000.26100.36.0

@djc0739
Copy link

djc0739 commented Jan 5, 2025

My Win 10 machine is: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992 Mhz, 4 Core(s), 8 Logical Processor.
My Win 11 machine is: 12th Gen Intel(R) Core(TM) i7-1255U CPU 1700 Mhz, 10 Core(s), 12 Logical Processor.

@Frooodle
Copy link
Member

Frooodle commented Jan 5, 2025

Weirdly i managed to resolve the loading issue by getting it to 90%
Put PC to sleep
re-wake laptop and then it loads, no idea what this means the issue is, likely some thread issue, we will keep investigating

@Flithor
Copy link

Flithor commented Jan 6, 2025

@Frooodle Nice try, I found that too, but I can use on browser so I'm not consider any more.

@Strongly7402
Copy link

Same issue with v0.36.6. Installation worked fine by running Stirling-PDF-win-installer.exe. App launch freezes at 90% saying "Finalising startup...". Tested on Windows Sandbox (Windows 10).

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Issues that require further investigation
Projects
None yet
Development

No branches or pull requests