Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium update issue, can I use another browser? #50

Open
Onc3k opened this issue Apr 15, 2021 · 8 comments
Open

Chromium update issue, can I use another browser? #50

Onc3k opened this issue Apr 15, 2021 · 8 comments
Labels
needs investigation no stalebot exempt from stale bot question Further information is requested

Comments

@Onc3k
Copy link

Onc3k commented Apr 15, 2021

Hello,

the grafana-kiosk doesn't work with a newer version of chromium then 78.0.xxx, maybe someone have a solution?

Is possible to use some another browser? If yes, please how I can change it?

Many thanks.

@briangann
Copy link
Collaborator

what error are you seeing?

@Onc3k
Copy link
Author

Onc3k commented Apr 28, 2021

There is not any specific error, I see just "Command finished with error: exit status 1". Maybe I can start some debug mode? But there https://www.raspberrypi.org/forums/viewtopic.php?t=272394 I read that Chromium V78 is latest supported via Raspberry Pi HW. When is chromium updated from v78, I see instead of my Grafana dashboard only white page.

@briangann
Copy link
Collaborator

i'm not seeing this problem on my pi3, with these packages, are you still seeing this?

ii  chromium-browser                     88.0.4324.187-rpt1                      armhf        Chromium web browser, open-source version of Chrome
ii  chromium-browser-l10n                88.0.4324.187-rpt1                      all          chromium-browser language packages
ii  chromium-codecs-ffmpeg-extra         88.0.4324.187-rpt1                      armhf        Extra ffmpeg codecs for the Chromium Browser

@briangann briangann added the question Further information is requested label Jun 29, 2021
@Onc3k
Copy link
Author

Onc3k commented Jul 14, 2021

i'm not seeing this problem on my pi3, with these packages, are you still seeing this?

ii  chromium-browser                     88.0.4324.187-rpt1                      armhf        Chromium web browser, open-source version of Chrome
ii  chromium-browser-l10n                88.0.4324.187-rpt1                      all          chromium-browser language packages
ii  chromium-codecs-ffmpeg-extra         88.0.4324.187-rpt1                      armhf        Extra ffmpeg codecs for the Chromium Browser

Hello,

with these packages it doesn't works. I tryed to use latest version of kiosk 1.0.4 for armv7 and still same result (only white page). After revert back chromium to version "Chromium 78.0.3904.108 Built on Raspbian , running on Raspbian 10" by using https://github.com/Botspot/chromium78 it's working again.

Used system etc.:

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian

5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux

Used settings:

general:
kiosk-mode: full
autofit: true
lxde: true
lxde-home: /home/pi

target:
login-method: local
username: xxxx
password: xxxx
playlist: true
#URL: https://linktoplaylist
URL: https://linktoplaylist
ignore-certificate-errors: true

systemd daemon settings:

[Unit]
Description=Start Grafana
#Requires=graphical.target
#After=graphical.target

[Service]
Environment=DISPLAY=:0
Environment=XAUTHORITY=/home/pi/.Xauthority
ExecStart=/usr/bin/grafana-kioskk -c /etc/grafana-kiosk/config.yaml
Restart=always
RestartSec=10s
KillMode=process
TimeoutSec=infinity

[Install]
WantedBy=graphical.target

@blixtdevelopment
Copy link

Recently I was also getting this problem on my RPi 3+ on

PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

with the following chromium installed

ii  chromium-browser                        72.0.3626.121-0+rpt4              armhf        Chromium web browser, open-source version of Chrome
ii  chromium-browser-l10n                   72.0.3626.121-0+rpt4              all          chromium-browser language packages
ii  chromium-codecs-ffmpeg-extra            72.0.3626.121-0+rpt4              armhf        Extra ffmpeg codecs for the Chromium Browser
ii  rpi-chromium-mods                       20181108                          armhf        Raspberry Pi-specific mods to Chromium

I was only able to access Grafana through Vivaldi Browser, but that does not work with grafana-kiosk

@GeekyTim
Copy link

I've just updated my Pi (usually one on a weekly basis) and the Kiosk no longer works. I get the following:

-- Logs begin at Sun 2022-01-30 21:26:37 GMT, end at Sun 2022-01-30 21:50:10 GMT. --
Jan 30 21:26:53 KioskPi2 systemd[1]: Started Grafana Kiosk.
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 No config specified, using environment and args
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 AutoFit: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LXDEEnabled: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LXDEHome: /home/pi
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Mode: full
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 URL: http://picm3-2.localdomain:3000/playlists/play/1?kiosk&autofitpanels&kiosk
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LoginMethod: local
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Username: geekytim
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Password: redacted
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 IgnoreCertificateErrors: false
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 IsPlayList: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 AutoFit: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LXDEEnabled: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LXDEHome: /home/pi
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Mode: full
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 URL: http://picm3-2.localdomain:3000/playlists/play/1?kiosk&autofitpanels&kiosk
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 LoginMethod: local
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Username: geekytim
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Password: redacted
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 IgnoreCertificateErrors: false
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 IsPlayList: true
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 path: /home/pi
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 command: /usr/bin/lxpanel
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 arg0: --profile
Jan 30 21:26:53 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:53 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/pcmanfm
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: --desktop
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/xset
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: --desktop
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/xset
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: s
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/xset
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: -dpms
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/xset
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: s
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 DISPLAY= :0
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 XAUTHORITY= /home/pi/.Xauthority
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 method local
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Launching local login kiosk
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 path: /home/pi
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 command: /usr/bin/unclutter
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 arg0: -display
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Waiting for command to finish...
Jan 30 21:26:54 KioskPi2 grafana-kiosk[423]: 2022/01/30 21:26:54 Command finished with error: exit status 1
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: panic: chrome failed to start:
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: BlueALSA detected - Disabling audio sandbox
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: Invalid MIT-MAGIC-COOKIE-1 key[0130/212703.605508:ERROR:elf_dynamic_array_reader.h(61)] tag not found
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: goroutine 1 [running]:
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: github.com/grafana/grafana-kiosk/pkg/kiosk.GrafanaKioskLocal(0x19504c0)
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: /go/src/github.com/grafana/grafana-kiosk/pkg/kiosk/local_login.go:49 +0x97c
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: main.main()
Jan 30 21:27:03 KioskPi2 grafana-kiosk[423]: /go/src/github.com/grafana/grafana-kiosk/pkg/cmd/grafana-kiosk/main.go:153 +0x2bc
Jan 30 21:27:03 KioskPi2 systemd[1]: grafana-kiosk.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jan 30 21:27:03 KioskPi2 systemd[1]: grafana-kiosk.service: Failed with result 'exit-code'.

Is there a solution, please?

@github-actions github-actions bot added the stale label Mar 7, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2023
@briangann briangann reopened this May 8, 2023
@briangann briangann added no stalebot exempt from stale bot and removed stale labels May 8, 2023
@briangann
Copy link
Collaborator

i'm not seeing this on any of my installs, are you still seeing it?

@Onc3k
Copy link
Author

Onc3k commented May 11, 2023

Hello,

few weeks ago, I tryed update to the latest version of grafana-kiosk and chromium 92 together with deployment of newest version of Grafana, the newest version of Grafana needs html version, which is not supported in chromium 78.

I had to disable hw acceleration on chromium and I also got new issue with raspberry, it was unexpectedly disconnected from wifi this problem has been solved by editing "/etc/network/interfaces" where was added:

allow-hotplug wlan0
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wireless-power off

Now I have stable solution, it seems old problems has been solved :). Hope this gonna help to someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation no stalebot exempt from stale bot question Further information is requested
Projects
grafana-kiosk
  
To do
Development

No branches or pull requests

4 participants