guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.91k stars 243 forks source link

Raspberry Pi 4- Multiple tabs not loading/booting #534

Open Argetlam3 opened 8 months ago

Argetlam3 commented 8 months ago

What were you doing?

I edited the fullpageos.txt file to have http://localhost/fullpagedashboard, as indicated by the setup page. I then went to the fullpagedashboard.txt file and put in the sites https://google.com and https://github.com (as test sites). When I booted up the pi with the micro sd card in it, nothing but my mouse and a black screen loaded. However, when I tried editing the fullpageos.txt file to only include one site, it booted successfully.

What did you expect to happen?

The sites to load and shuffle

What happened instead?

A blank screen with my mouse

Was there an error message displayed? What did it say?

N/A

Version of FullPageOS?

Can't seem to access, but it is the stable version on the raspberry pi imager.

Screenshot(s) showing the problem:

n/a

If you are building FullPageOS - provide a build.log that is created for the build

n/a

Edit: I installed the nightly version off of the raspberry pi imager, and went through the process without configuring wifi. It brought me to the tab switching screen, but there was no internet connection. I then connected internet, and it no longer brings me to the tab screen and I have the same issue as before.

Vesa-Stremia commented 8 months ago

Using the Nightly 2024-02-23 I get only the welcome page when trying to use the dashboard/multiple tabs.

What I've noticed while trying to troubleshoot, is that best way to get the FullPageOS working more consistently, is to burn the image -> run the OS once in your Rasp -> take the SD card back to your PC and now modify needed files. If I burn the image and right after modify the files, something goes haywire and I get to black screen or something else.

Also, when burning the image, I can input hostname, wifi and locales without it affecting the performance, if I just follow the procedure mentioned above.

But still can't figure out how to get the multiple website rotation to show up.

guysoft commented 8 months ago

Can you please provide your fullpagedashboard.txt? I want to see that it is set correctly

Vesa-Stremia commented 8 months ago

Here's mine:

fullpagedashboard.txt

guysoft commented 7 months ago

Not sure why that would happen, I can't reproduce it. You can try the latest 2024-03-31 RC1, that one I tested and confirm it works.

curlerhaus commented 6 months ago

I'm having a similar issue. The single URL works when I input into fullpageos.txt. When I put multiple pages in fullpagedashboard.txt and point fullpageos.txt to http://localhost/fullpagedashboard the Rpi stops loading on the FullPageOS splash screen. I'm having the same issue on a Rpi5 and 2b. Running the nightly 2024-03-31 build.

fullpagedashboard.txt

fullpageos.txt

guysoft commented 5 months ago

@curlerhaus If its stuck on the slash screen it means that there is some connection issue. FullPageOS will not start the browser before it can connect to the url. Does it work if you don't set the addresses?

curlerhaus commented 5 months ago

If i leave fullpageos.txt blank I get the same result as pointing to http://localhost/fullpagedashboard. It just stays on the splash screen.

When the fullpageos.txt file is set to http://localhost/fullpagedashboard and fullpagedashboard.txt is blank it stays on the splash screen. Running the script reload_fullpageos_txt does not load the pages. When fullpageos.txt is set to blank and I try to run the reload script I get the following error:

/usr/lib/chromium-browser/chromium-browser: no process found

Not sure if this is anything but I'm using sudo nano to edit the files via ssh. When I type in a valid website the text turns blue. The http://localhost/fullpagedashboard typed in does not turn blue.

guysoft commented 5 months ago
/usr/lib/chromium-browser/chromium-browser: no process found

Strange - could it be an sd card error? try switching sd cards? Sounds like files that are part of the install are missing.

RDRGSJ00 commented 2 months ago

I was having a similar issue, when I add the URLs via the dashboard app (http://192.168.10.119/fulldashboard), it works but when I add them via the .txt files on the SD card it won't work. Info below:

apartmedia commented 2 months ago

I was having a similar issue, when I add the URLs via the dashboard app (http://192.168.10.119/fulldashboard), it works but when I add them via the .txt files on the SD card it won't work. Info below:

  • Pi: Raspberry Pi 4
  • OS: FullpageOS (Nightly) 2024-03-31

See here, that might be the reason and explain the functionality (and also one of the bugs and limitations when it comes to multiple site rotation in the current nightly).

FernandoLorenzi commented 1 month ago

Hello friends, did you find a solution for two urls? Thanks.

apartmedia commented 1 month ago

Did you read the previous post? It mentions another issue/comment with limitations. Note the info about iFrames in general. This is by design and can not be solved really by any chromium landing page. It would need a complete different approach and technique. You should first check if the websites you are planning to load in parallel and rotate are affected by this limitations. If yes, you can not use the current FPOS solution (or better say not the FP Dashboard solution).