-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 report) 61.2-beta, Windows 10/11, Desktop app does not open #4132
Comments
Hello, I don't see any migration error. Can you include the whole log or send it to zadam.apps@gmail.com? Thanks! |
Hi, I sent the log to your email. I assumed a migration "issue" because it said the db is v194, needs to be 223, and that migration is needed. I figured it was supposed to be automatic. Anyway, let me know if you need anything else from me |
Thanks. I tested on Windows 11 and it went fine. Not sure what's going wrong, it kind of looks like it freezes because there are no further (error) logs ... |
I'm having the same issue. Works fine on ubuntu and doesn't launch on Windows 11. Logs also look the same.
|
I updated to 61.3-beta, restarted and installed a pending windows 11 update, and I still have the same result - it never launches the app
I was going to copy the db over from my server to my desktop and see what happens tonight
Get BlueMail for Android
…On Aug 1, 2023, 9:49 AM, at 9:49 AM, Luis Rebhan ***@***.***> wrote:
I'm having the same issue. Works fine on ubuntu and doesn't launch on
Windows 11. Logs also look the same.
`18:44:08.144 CPU model: 12th Gen Intel(R) Core(TM) i5-12500, logical
cores: 12 freq: 2995 Mhz
18:44:08.144 Trusted reverse proxy: false
18:44:08.145 App HTTP server starting up at port 37840
18:44:08.150 Listening on port 37840
18:44:09.143 Created backup at
C:\Users\luisr\AppData\Roaming\trilium-data\backup/backup-before-migration-v212.db
18:44:43.116 App db version is 225, while db version is 212. Migration
needed.
18:44:43.116 DB size: 86425 KB
18:44:43.610 {
"appVersion": "0.61.3-beta",
"dbVersion": 225,
"syncVersion": 31,
"buildDate": "2023-07-31T23:03:45+02:00",
"buildRevision": "530e56dcb595a764ec0f6221c09b1b3a7ac22f0d",
"dataDirectory": "C:\\Users\\luisr\\AppData\\Roaming\\trilium-data",
"clipperProtocolVersion": "1.0",
"utcDateTime": "2023-08-01T16:44:43.115Z"
}
18:44:43.610 CPU model: 12th Gen Intel(R) Core(TM) i5-12500, logical
cores: 12 freq: 2995 Mhz
18:44:43.610 Trusted reverse proxy: false
18:44:43.611 App HTTP server starting up at port 37840
18:44:43.616 Listening on port 37840
18:44:44.527 Created backup at
C:\Users\luisr\AppData\Roaming\trilium-data\backup/backup-before-migration-v212.db`
--
Reply to this email directly or view it on GitHub:
#4132 (comment)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
I have the same problem on Windows 11 trilium-windows-x64-0.61.3-beta.zip, no visible Trilium windows. It looks like it is running according to the process hacker. I see 3 trilium.exe running. I kill all and start again with the same issue. 3 trilium.exes but no visible trilum window open. It looks like Trilium does alot of IO and Cpu use after the start but all those 3 trilium.exe processes die off after sometime. |
I copied the database from my server to my desktop, and that allowed/caused Trilium to open successfully. I established a connection and synced successfully with the server. |
@Engr-AllanG I do not get why that would work? I hope zadam gives us some clue. |
Unfortunately I have no clue since I can't reproduce it and there doesn't seem to be any error logged. |
Just a random guess: Could this come from some antivirus/firewall software preventing or freezing the execution somehow? |
No it would not because I do not have a virus thing running on my system. |
I only have windows defender - no 3rd party AV. Once I copied the database from my server to my desktop it began to open properly.
Get BlueMail for Android
…On Aug 17, 2023, 2:17 PM, at 2:17 PM, gerroon ***@***.***> wrote:
No it would not because I do not have a virus thing running on my
system.
--
Reply to this email directly or view it on GitHub:
#4132 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
I checked if the problem persists on version 61.5 - it does. I ran the exe from the command line and got the following output:
I'm not well versed in databases or javascript so I can't tell exactly whats wrong, but it seems the database migration is not working. This tracks with what @Engr-AllanG reported. I hope this helps in fixing the issue :) |
@nema69 thanks, this actually contains a useful error. You're upgrading from 0.59 (not 0.60) and that seems to be the source of the problem. To be clear, it's not a mistake on your part, but a migration scenario I did not test. I will see if I can fix this. In the meantime, try upgrading first to 0.60.4 and only then to 0.61.X. I believe that should resolve the problem for you. |
I believe this tracks with my issue - I am pretty certain I did not upgrade to 60.0 before 61. Perhaps the error is logged the first time if going from 59 to 6x as in nema69 case, but not subsequently.
…On Aug 18, 2023, 6:43 AM, at 6:43 AM, zadam ***@***.***> wrote:
@nema69 thanks, this actually contains a useful error.
You're upgrading from 0.59 (not 0.60) and that seems to be the source
of the problem. To be clear, it's not a mistake on your part, but a
migration scenario I did not test. I will see if I can fix this. In the
meantime, try upgrading first to 0.60.4 and only then to 0.61.X. I
believe that should resolve the problem for you.
--
Reply to this email directly or view it on GitHub:
#4132 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
This did indeed work! Thank you :) |
Is this fixed in the latest release? trilium-windows-x64-0.61.5-beta.zip still does not open? |
As far as I'm concerned it's fixed in a way that it forces the user to upgrade to 0.60 first. |
There is no indication for what the user should do, maybe at least give the user an indication of the steps to upgrade? |
If you attempt to migrate from an earlier version, it will exit and complain in the process output. But I will include this information into the release notes. |
Trilium Version
61.2-beta
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
Server Ubuntu 20.04, Desktop Windows 10 and 11
Description
As always - love the app!
Server version 61.2-beta installed on ubuntu 20.04 and works with no apparent issues. Desktop apps on both Windows 10 and 11 do not open
Found the logs - database migration issue...not sure if this is supposed to happen automatically?
Error logs
15:41:58.518 App db version is 223, while db version is 194. Migration needed.
15:41:58.521 DB size: 18632 KB
15:42:00.031 {
"appVersion": "0.61.2-beta",
"dbVersion": 223,
"syncVersion": 30,
"buildDate": "2023-07-28T00:06:23+02:00",
"buildRevision": "ce3834eb9ecd710bde0e6843bd52bb306faf55ce",
"dataDirectory": "C:\Users\\AppData\Roaming\trilium-data",
"clipperProtocolVersion": "1.0",
"utcDateTime": "2023-07-29T22:41:58.517Z"
}
15:42:00.031 CPU model: Intel(R) Core(TM) i5-3320M CPU @ 2.60GHz, logical cores: 4 freq: 2594 Mhz
15:42:00.032 Trusted reverse proxy: false
15:42:00.032 App HTTP server starting up at port 37840
15:42:00.048 Listening on port 37840
15:42:00.426 Created backup at C:\Users*\AppData\Roaming\trilium-data\backup/backup-before-migration-v194.db
The text was updated successfully, but these errors were encountered: