-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
it just crashes, randomly #432
Comments
Hi @reloadlife , after digging into this issue.. I couldn't find anything related to this error message, just wondering: does your memory or hard disk of your Ubuntu reached its limit? I'll do more research and try to solve this issue :) |
I was wondering the same thing, I've checked and I have plenty of storage and ram, so that can't be the case ... |
Yeah.. Just posted a post on the SQLite forum and hope someone would know what's going on. It got me thinking: will it caused by Python 3.10? I'll try it on a VM and see if I can recreate this issue |
Can we possibly have version that uses SQL or PostgreSQL, if it is for sure caused by SQLite |
We could, but this will need to rewrite most of the SQL statements. The easiest way is to catch the error and prevent the dashboard to crash.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: reloadlife ***@***.***>
Sent: Saturday, October 19, 2024 8:57:50 PM
To: donaldzou/WGDashboard ***@***.***>
Cc: Donald Zou ***@***.***>; Comment ***@***.***>
Subject: Re: [donaldzou/WGDashboard] it just crashes, randomly (Issue #432)
Can we possibly have version that uses SQL or PostgreSQL, if it is for sure caused by SQLite
—
Reply to this email directly, view it on GitHub<#432 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGARNUM7QR6RBDYBA53VA6TZ4JJM5AVCNFSM6AAAAABQHJNJAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTHAZTIMBUHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Well we can be sure is something caused the error of SQLite.. but I haven’t seen this issue before... so maybe try to remove the whole database file and let WGDashboard to rebuild one and see if it still case?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Donald Cheng Hong Zou ***@***.***>
Sent: Saturday, October 19, 2024 9:00:19 PM
To: donaldzou/WGDashboard ***@***.***>; donaldzou/WGDashboard ***@***.***>
Cc: Comment ***@***.***>
Subject: Re: [donaldzou/WGDashboard] it just crashes, randomly (Issue #432)
We could, but this will need to rewrite most of the SQL statements. The easiest way is to catch the error and prevent the dashboard to crash.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: reloadlife ***@***.***>
Sent: Saturday, October 19, 2024 8:57:50 PM
To: donaldzou/WGDashboard ***@***.***>
Cc: Donald Zou ***@***.***>; Comment ***@***.***>
Subject: Re: [donaldzou/WGDashboard] it just crashes, randomly (Issue #432)
Can we possibly have version that uses SQL or PostgreSQL, if it is for sure caused by SQLite
—
Reply to this email directly, view it on GitHub<#432 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AGARNUM7QR6RBDYBA53VA6TZ4JJM5AVCNFSM6AAAAABQHJNJAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTHAZTIMBUHE>.
You are receiving this because you commented.Message ID: ***@***.***>
|
yeah, i've already done it, and it still remains, using MySQL or PSQL is more stable overall. |
for now, i'm going to add a try / catch to prevent the panel from crashing, please merge :) |
Added a try/catch statement to prevent panel from crashing #432
even after the new patch, some times, it crashes
|
Just realized you're using Python 3.8.10 not Python 3.10? Maybe is because of this? |
I am using 3.10 not 3.8, i thought i was using 3.8 when openning this issue, my bad on that part. (i have 3.8 installed on the server, but the venv is using 3.10) |
Are you running on a VM or a physical machine? If is a VM, maybe deploy a new Ubuntu and see if the issue still persist? I can't find anything about this issue lol.. |
it is on a VM, and i did try it on a new machine, it still happens ... |
How many cores, memory and storage did you assigned to your VM? |
Describe The Problem
sometimes, randomly the panel crashes and i have to do a manual restart of it (
./wgd.sh restart
)Expected Error / Traceback
To Reproduce
Please provide how you run the dashboard
OS Information:
Sample of your
.conf
fileThe text was updated successfully, but these errors were encountered: