We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


Snakeoil Gear Isolation Beta Series
(24-Apr-2021, 09:31 PM)agent_kith Wrote:
(23-Apr-2021, 03:33 AM)mkysimes Wrote: Same for me. Only tried 20.04.2 LTS server as base. Did notice after install of Snakeoil and reboot there is no change in messaging on boot screen. In other words, if Snakeoil is running there is no indication on boot. Not sure if that's what's supposed to happen or not.
If you see the login prompt, hit the ENTER key a few times and you should see a prompt for your IP. If that doesn't show up then it means something is wrong.

Spent about half an hour trying to add more diagnostics things into the diagnostic file generation bit.. And then realise that's not gonna work because the WebApp itself isn't working!
[Image: bird.gif]

Can you or anybody with the forbidden problem SSH to your snakeoil machine, and run this?
 
Code:
netstat -tulpn|grep 80

Also, copy out the contents of /etc/lighttpd/lighttpd.conf and paste it here. I still can't find any obvious reasons why it's not working, but I have tweaked the installer to unpack and install the blobs during the installation. That should at least fix some potential problems.

The installer is close to be released officially now, just need to settle one final issue, and this forbidden problem.

Once the installer is out I can work on the kernel builder and also update the WebApp to the latest angular (I'm a gun Angular developer now and have lots of new tricks/ideas for the webapp). <- That will happen in 1.2.1 or later though.
Contents of netsat:

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1753/lighttpd
udp6       0      0 fe80::dea6:32ff:fe4:546 :::*                                1634/systemd-networ

Contents of lighttpd.conf:

server.modules = (
    "mod_indexfile",
    "mod_access",
    "mod_alias",
     "mod_redirect",
)

server.document-root        = "/var/www/"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
server.pid-file             = "/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80

# strict parsing and normalization of URL for consistency and security
# https://redmine.lighttpd.net/projects/li...ptsDetails
# (might need to explicitly set "url-path-2f-decode" = "disable"
#  if a specific application is encoding URLs inside url-path)
server.http-parseopts = (
  "header-strict"           => "enable",# default
  "host-strict"             => "enable",# default
  "host-normalize"          => "enable",# default
  "url-normalize-unreserved"=> "enable",# recommended highly
  "url-normalize-required"  => "enable",# recommended
  "url-ctrls-reject"        => "enable",# recommended
  "url-path-2f-decode"      => "enable",# recommended highly (unless breaks app)
 #"url-path-2f-reject"      => "enable",
  "url-path-dotseg-remove"  => "enable",# recommended highly (unless breaks app)
 #"url-path-dotseg-reject"  => "enable",
 #"url-query-20-plus"       => "enable",# consistency in query string
)

index-file.names            = ( "index.php", "index.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )

compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )

# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include "/etc/lighttpd/conf-enabled/*.conf"

#server.compat-module-load   = "disable"
server.modules += (
    "mod_compress",
    "mod_dirlisting",
    "mod_staticfile",
)

proxy.server = (
  "/api" => ( (
    "host" => "127.0.0.1",
    "port" => 30511
  ) )
 )

Hopefully that helps  Wink
Reply
(25-Apr-2021, 10:27 AM)mkysimes Wrote: Hopefully that helps  Wink
Everything looks legit. Unsure why things aren't working. Think Can you SSH to your machine, and run this?

Code:
sudo chown www-data:www-data /var/www/ -R
And see if the WebApp is working now?
Snakeoil Operating System - Music, your way!
Reply
(25-Apr-2021, 11:34 AM)agent_kith Wrote:
(25-Apr-2021, 10:27 AM)mkysimes Wrote: Hopefully that helps  Wink
Everything looks legit. Unsure why things aren't working. Think Can you SSH to your machine, and run this?
 
Code:
sudo chown www-data:www-data /var/www/ -R
And see if the WebApp is working now?
Still 403 Forbidden
Reply
maybe a change in the underlying ubuntu server install and permissions ?...
When I install ubuntu server 20.04 it fails to add my default user... I have to use the recovery console and add my user and add to sudo ...
...and that is all the groups shown so any groups set by the Snakeoil installer fail and maybe that is the 403 permissions problem ?

Also the ubuntu server 20.04 installer defaults to  ip=localhost and does not recognise user or ip...so not a Snakeoil problem but a change to ubuntu server ?
Code:
blunder@localhost:~$ netstat -tulpn|grep 80
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -
Code:
blunder@localhost:~$ sudo netstat -tulpn|grep 80
[sudo] password for blunder:
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      662/lighttpd
Reply
(25-Apr-2021, 02:35 PM)Bromf Wrote: maybe a change in the underlying ubuntu server install and permissions ?...
When I install ubuntu server 20.04 it fails to add my default user... I have to use the recovery console and add my user and add to sudo ...
...and that is all the groups shown so any groups set by the Snakeoil installer fail and maybe that is the 403 permissions problem ?
Hmm. But my Server don't have that problem. The first installed user always have sudo rights.

I'm not entirely sure what the problem is still. But hopefully the next beta will give me more info. Trying to upload it now.. Will update u guys soon.

Minimserver issues havn't been looked at yet though. But almost everything reported stuffs should be fixed.
Snakeoil Operating System - Music, your way!
Reply
Beta 2 is out. Have re-jigged the installer to actually unpack and install the "blob" during installation instead of relying on a reboot, or an arbitrary wait time.

Hopefully this will complete the installation process and clear any 403 forbidden issues..

Anyway because my computer died earlier this month, and I had to get parts, and download tons of new things to reinstall my PC... Turns out I may run out of quota again this month. :( 250GB per month is somehow still not enough.. With 5 more days I don't think I will make it.. Never had to use more than 150 GB of internet before ever, and now for 2 months in a row I think I'm gonna hit the ceiling.  #FML..

Anyway, enjoy this build.
Snakeoil Operating System - Music, your way!
Reply
Can't wait to try it out Thumbs Up  Have stuff to do all today unfortunately but will install new version first chance and let you know how it goes!
Reply
(25-Apr-2021, 07:21 PM)agent_kith Wrote: Beta 2 is out. Have re-jigged the installer to actually unpack and install the "blob" during installation instead of relying on a reboot, or an arbitrary wait time.

Hopefully this will complete the installation process and clear any 403 forbidden issues..

Anyway because my computer died earlier this month, and I had to get parts, and download tons of new things to reinstall my PC... Turns out I may run out of quota again this month. Sad 250GB per month is somehow still not enough.. With 5 more days I don't think I will make it.. Never had to use more than 150 GB of internet before ever, and now for 2 months in a row I think I'm gonna hit the ceiling.  #FML..

Anyway, enjoy this build.

Installs fine and now the 403 forbidden error is gone Cool but the Rest API is not loading...
Quote: 
REST server is not responding. Reboot computer manually if GUI is not back after 5 reconnect attempts.
Reconnect attempt: 20
rebooting does not solve it.

The initial 1.2.6 install gave this error but it was not present when I tried the install a second time after re-installing alsa-utils.
Code:
+ Install Snakeoil RestAPI server... OK
  + Installing Snakeoil blob, please be patient... chmod: cannot access '/usr/local/bin/curl': No such file or directory
### JSON Exception: * Line 1, Column 1 Syntax error: Malformed token
sh: 1: aplay: not found
Reply
Installed Beta 2 over Beta 1 on Intel NUC.  Everything went smoothly, no issues. Checked Mpd 0.22.3, LMS + Upmpdcli, and MinimServer, all ran with no problems.

Previously reported issue with MinimServer starting/ stopping now fixed. CPUSet can now be enabled/ disabled with no problems.

Minor issue with LMS Web on Android phone, and maybe this is a LMS issue?  Had to enable it as "Desktop site" before I could get to Settings on bottom right corner of page.

  Thumbs Up Clap ​​​​​​​ Beta 2 is working well.  Thank you...
Reply
(26-Apr-2021, 05:05 AM)Bromf Wrote: rebooting does not solve it.

The initial 1.2.6 install gave this error but it was not present when I tried the install a second time after re-installing alsa-utils.
There is no need to install alsa-utils. As Snakeoil comes with it's own ALSA. Having said that, install alsa-utils in theory wouldn't do anything because the Snakeoil version of alsa-utils should always be picked up first.

(26-Apr-2021, 05:05 AM)Bromf Wrote:
Code:
+ Install Snakeoil RestAPI server... OK
  + Installing Snakeoil blob, please be patient... chmod: cannot access '/usr/local/bin/curl': No such file or directory
Ah ha!!! Have you mounted a network share on /media/music? And it does not have write permissions? I'm unsure why that didn't error out (it should). Let me know if you have a network share mounted.

If yes, can you temporarily unmount the network share manually, then run the installer and see if u have any problems afterwards?
Snakeoil Operating System - Music, your way!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  1.4.0 Beta 3 agent_kith 12 1,552 29-Dec-2024, 11:36 AM
Last Post: agent_kith
  1.4.0 Beta 2 agent_kith 11 1,453 26-Dec-2024, 10:36 AM
Last Post: agent_kith
  1.4.0 Beta 1 agent_kith 12 1,514 22-Dec-2024, 10:19 AM
Last Post: agent_kith
  Snakeoil 1.3.0 Alpha 1 (aarm64) agent_kith 41 4,992 31-Dec-2023, 10:30 PM
Last Post: hkphantomgtr
  Measures 1.3.0 Beta 1 (Last test hopefully. agent_kith 73 8,390 23-Dec-2023, 09:17 AM
Last Post: hkphantomgtr



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2458
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1722
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9696
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 1024
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 740
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5588
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 6055
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15976
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 5272
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1362

[-]
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.