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
[-] The following 1 user Likes mkysimes's post:
  • agent_kith
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!
[-] The following 1 user Likes agent_kith's post:
  • Bromf
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!
[-] The following 1 user Likes mkysimes's post:
  • agent_kith
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...
[-] The following 1 user Likes Snoopy8's post:
  • agent_kith
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



Bookmarks

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



Users browsing this thread:
13 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: Snoopy8
Yesterday 01:08 PM
» Replies: 7
» Views: 161
Work In Progress: 1.4.4
Last Post: Snoopy8
Yesterday 08:57 AM
» Replies: 3
» Views: 68
Playing music quickly after install
Last Post: Snoopy8
18-Apr-2025 04:12 PM
» Replies: 0
» Views: 23
Wiki update - need your help!
Last Post: Snoopy8
16-Apr-2025 01:59 PM
» Replies: 6
» Views: 139
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 232
No audio devices on RPi5 with latests bu...
Last Post: hkphantomgtr
13-Apr-2025 05:29 PM
» Replies: 13
» Views: 326
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 101
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
10-Apr-2025 10:57 PM
» Replies: 11
» Views: 761
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 68
SQ difference - Raspberry Pi vs x86_64?
Last Post: agent_kith
09-Apr-2025 03:41 PM
» Replies: 15
» Views: 1051

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