Closed TylerVigario closed 9 months ago
Page source seems okay, but nothing shows. As previously stated main works just fine with same build script.
main
<html> <body> <!--StartFragment--> | <!doctype html> -- | -- | <html lang="en"> | <head> | | <meta name="description" content="" /> | <link rel="icon" href="/logo.svg" /> | <meta name="viewport" content="width=device-width, initial-scale=1" /> | <title>oxyromon</title> | | <link rel="modulepreload" href="/_app/immutable/entry/start.qLV2iC0p.js"> | <link rel="modulepreload" href="/_app/immutable/chunks/scheduler.RzOsinGV.js"> | <link rel="modulepreload" href="/_app/immutable/chunks/singletons.7aWBV_Yc.js"> | <link rel="modulepreload" href="/_app/immutable/chunks/index.2P7JhAJH.js"> | <link rel="modulepreload" href="/_app/immutable/entry/app.XmMaaUss.js"> | <link rel="modulepreload" href="/_app/immutable/chunks/index.ONIiymD8.js"> | </head> | | <body> | <div id="svelte"> | <script> | { | __sveltekit_199cdi3 = { | base: "", | env: {} | }; | | const element = document.currentScript.parentElement; | | Promise.all([ | import("/_app/immutable/entry/start.qLV2iC0p.js"), | import("/_app/immutable/entry/app.XmMaaUss.js") | ]).then(([kit, app]) => { | kit.start(app, element); | }); | } | </script> | </div> | </body> | </html> | <!--EndFragment--> </body> </html> ```<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="description" content="" /> <link rel="icon" href="[/logo.svg](http://192.168.142.10:8008/logo.svg)" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>oxyromon</title> <link rel="modulepreload" href="[/_app/immutable/entry/start.qLV2iC0p.js](http://192.168.142.10:8008/_app/immutable/entry/start.qLV2iC0p.js)"> <link rel="modulepreload" href="[/_app/immutable/chunks/scheduler.RzOsinGV.js](http://192.168.142.10:8008/_app/immutable/chunks/scheduler.RzOsinGV.js)"> <link rel="modulepreload" href="[/_app/immutable/chunks/singletons.7aWBV_Yc.js](http://192.168.142.10:8008/_app/immutable/chunks/singletons.7aWBV_Yc.js)"> <link rel="modulepreload" href="[/_app/immutable/chunks/index.2P7JhAJH.js](http://192.168.142.10:8008/_app/immutable/chunks/index.2P7JhAJH.js)"> <link rel="modulepreload" href="[/_app/immutable/entry/app.XmMaaUss.js](http://192.168.142.10:8008/_app/immutable/entry/app.XmMaaUss.js)"> <link rel="modulepreload" href="[/_app/immutable/chunks/index.ONIiymD8.js](http://192.168.142.10:8008/_app/immutable/chunks/index.ONIiymD8.js)"> </head> <body> <div id="svelte"> <script> { __sveltekit_199cdi3 = { base: "", env: {} }; const element = document.currentScript.parentElement; Promise.all([ import("/_app/immutable/entry/start.qLV2iC0p.js"), import("/_app/immutable/entry/app.XmMaaUss.js") ]).then(([kit, app]) => { kit.start(app, element); }); } </script> </div> </body> </html>
#!/usr/bin/bash cd /root/oxyromon # Update source git pull # Install/update yarn (server) packages yarn install # Build yarn (server) assets yarn build # Build oxyromon cargo build --release --features server # Stop oxyromon server systemctl stop oxyromon-server # Update oxyromon binary mv target/release/oxyromon /usr/local/bin/oxyromon # Update SELinux label restorecon -v /usr/local/bin/oxyromon # Start oxyromon server systemctl start oxyromon-server # Remove build artifacts cargo clean
Hmm, didn't have any issue here. In any case I just pushed a commit with bumped dependencies. Looking good here, can you give it a try?
Confirmed that web does work after the latest commit.
Page source seems okay, but nothing shows. As previously stated
main
works just fine with same build script.