[split] Problem starting API server 1.4.1 (Missing qsqlite3 lib)
#11
(22-Mar-2025, 09:59 AM)clark8888 Wrote: file sent by email
There's a bug and the file I want isn't included in the diagnostics file Blush. This will be fixed in 1.4.2

can you send me /var/www/config/snakeoil.db directly instead? thanks
Snakeoil Operating System - Music, your way!
Reply

#12
Unfortunately I cannot recreate this problem in my test environments as the API server still start up fine.

Will need more information so I can better understand the problem.

@clark8888 @jetski when you can, please run the following via SSH:
 
Code:
sudo systemctl stop snakeoil-rest

QT_PLUGIN_PATH=/usr/local/lib/plugins/ snakeoil-rest --verbosity 10

If everything works, you should see this:
Code:
[5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]

Wait about 30 seconds and see if it crashes, and then go to the WebApp and see if it's working. You wouldn't see a 503 error if you see the above line.
Snakeoil Operating System - Music, your way!
Reply

#13
(23-Mar-2025, 08:14 AM)agent_kith Wrote: Unfortunately I cannot recreate this problem in my test environments as the API server still start up fine.

Will need more information so I can better understand the problem.

@clark8888 @jetski when you can, please run the following via SSH:
 
Code:
sudo systemctl stop snakeoil-rest

QT_PLUGIN_PATH=/usr/local/lib/plugins/ snakeoil-rest --verbosity 10

If everything works, you should see this:
 
Code:
[5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]

Wait about 30 seconds and see if it crashes, and then go to the WebApp and see if it's working. You wouldn't see a 503 error if you see the above line.




[7] Register API endpoint: /api/browse/ Routes: 7 [api/base.cpp:63|base_c:Confusedetup_routes()]
[5] Snakeoil API Listening to requests at: 127.0.0.1:30511 [helper/rest_server.cpp:58|rest_server_c::listen()]
[3] Statement: INSERT OR REPLACE INTO settings (KEY, VALUE) values ("last_check", "Mon Mar 24 06:43:07 2025") Code:  [service/database.cpp:186|database_c::_run_query()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'cpuset_config' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'cpuset_shield' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'ramdisk_size' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'ramdisk_type' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'ramdisk_enable' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'uhubctl_enable' [service/database.cpp:89|database_c::_get_single_value()]
[5] Query failure: SELECT VALUE FROM settings WHERE key = 'player_basic_mode' [service/database.cpp:89|database_c::_get_single_value()]
[4] Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
  • Exception caught: bad file: /etc/netplan/50-cloud-init.yaml [helper/entry_point.cpp:155|entry_point_c::run()]

    During 30s waiting, GUI is back and fine.  But 10s later bad again.  I have to email you picture, as failed at this site.
    https://ibb.co/QFYQh3JW
    https://ibb.co/mV0hwHcM
  • [Image: mV0hwHcM]


Reply

#14
(24-Mar-2025, 03:01 PM)clark8888 Wrote: [4] Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
  • Exception caught: bad file: /etc/netplan/50-cloud-init.yaml [helper/entry_point.cpp:155|entry_point_c::run()]
That's the problem. Heart
Can you send this file to my email address please? thanks.
Code:
/etc/netplan/50-cloud-init.yaml

1.4.2 will roll out and fix this issue (hopefully) when I get this file. Unsure if I still have time today but hopefully can get the fix out tomorrow or the day after.

thanks.
Snakeoil Operating System - Music, your way!
Reply

#15
(24-Mar-2025, 03:28 PM)agent_kith Wrote:
(24-Mar-2025, 03:01 PM)clark8888 Wrote: [4] Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
  • Exception caught: bad file: /etc/netplan/50-cloud-init.yaml [helper/entry_point.cpp:155|entry_point_c::run()]
That's the problem. Heart
Can you send this file to my email address please? thanks.
 
Code:
/etc/netplan/50-cloud-init.yaml

1.4.2 will roll out and fix this issue (hopefully) when I get this file. Unsure if I still have time today but hopefully can get the fix out tomorrow or the day after.

thanks.

file emailed.  not hurry for me
Reply

#16
(25-Mar-2025, 09:20 AM)clark8888 Wrote: file emailed.  not hurry for me
Got the file thanks. The syntax in the file is correct and is not a bad file. File loads up properly in my test environment with no "bad file" error. Something is very weird here.   Think

Because I still don't fully understand the reason for this error, and it seems to affect different people differently (e.g. 503 error in dashboard page), for now I have no other choice but to let the code be a lot more defensive...

In 1.4.2 there will be a new layer of protection against this. Unfortunately this new layer is pretty much at the core of application so it might affect performance, but in most cases I don't think it's going to be an issue at all. Will see how it goes.. Hopefully can release 1.4.2 out soon. just need to work out some extra issues.
Snakeoil Operating System - Music, your way!
Reply

#17
Guys with this problem, please try 1.4.2 and see if it's any better.
Snakeoil Operating System - Music, your way!
Reply

#18
(25-Mar-2025, 12:09 PM)agent_kith Wrote: Guys with this problem, please try 1.4.2 and see if it's any better.

GUI is back.  Thanks!
[-] The following 2 users Like clark8888's post:
  • agent_kith, hkphantomgtr
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED[split] MediaCenter33 not starting ing Snakeoil 1.4.3 (High End U3) kmwgr 4 190 06-Apr-2025, 08:16 PM
Last Post: kmwgr
  [split] How to re-set activation details hkphantomgtr 2 100 04-Apr-2025, 03:32 PM
Last Post: hkphantomgtr
  Glibc 2.36 missing jetski 5 263 04-Mar-2025, 03:23 AM
Last Post: jetski
  Snakeoil OS 1.4 problem with Squeezelite and Lyrion mloutfie 14 983 14-Feb-2025, 07:00 AM
Last Post: mloutfie
  [SOLVEDMusic Players missing justme 2 272 31-Jan-2025, 01:07 PM
Last Post: justme



Users browsing this thread:
3 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
new install issues
Last Post: rrunner
Today 12:53 AM
» Replies: 38
» Views: 716
Snakeoil 1.4.0 (High End)
Last Post: aabman
Yesterday 05:20 PM
» Replies: 92
» Views: 6642
SQ difference - Raspberry Pi vs x86_64?
Last Post: uglymusic
Yesterday 02:21 AM
» Replies: 32
» Views: 1426
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 137
Work In Progress: 1.4.4
Last Post: uglymusic
20-May-2025 01:40 AM
» Replies: 38
» Views: 1059
Add to SO backup & restore
Last Post: agent_kith
15-May-2025 09:58 AM
» Replies: 1
» Views: 46
[split] Possible To Load Snakeoil OS in ...
Last Post: agent_kith
12-May-2025 04:18 PM
» Replies: 10
» Views: 248
Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
12-May-2025 04:04 PM
» Replies: 65
» Views: 2922
Music Library and SSD
Last Post: Huey
11-May-2025 05:01 AM
» Replies: 2
» Views: 89
upmpdcli unable to start
Last Post: Amph
09-May-2025 08:16 PM
» Replies: 7
» Views: 1660

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.