Web UI keeps forcing browser to download the html instead of rendering it in the tab - all browsers
hazrpg opened this issue ยท 15 comments
- I confirm that this is an issue rather than a question.
Bug report
Ever since the swap to version 2 - I've been unable to access the Web UI. The browser just pops up a download dialog box with the name download
as the file (no extension).
When you open up the downloaded file in a text editor you can clearly see it is HTML, and when you open the file in a browser it has the skeleton of the page (firefox) or just the raw html (opera). All chrome-based browsers do the same as opera, tested in Google Chrome, Chromium (open-source), Edge.
The OS I have is up-to-date and it is Ubuntu 22.04.3
- I do have hardware-enablement (hwe) turned on (because I've got an Intel AX210 WiFi card and its only supported on kernel > 5.15).
Steps to reproduce
- Go to any Linux-compatible browser, same experience happens on:
google-chrome
,microsoft-edge
,opera
andfirefox
(as these are the browsers I have installed). - Go to the address bar and type in
http://localhost:8090
and the browser instantly just downloads the page instead of rendering it.
What is expected?
Being able to see the Web UI rendered.
What is actually happening?
The code being downloaded to a file called download
.
System
I am unable to access the Web UI so the best I can provide is the version
Stable tried: 2.0.16~jammy
Nightly tried: 2.0.17-beta.1+nightly20240121612d1788857ad2e2e58c27108149f1fb64b9c06f~jammy
I can also provide what hyperiond
shows when executed:
2024-02-02T18:38:40.519 |I255| SETTINGSMGR : <ERROR> Database version [2.0.17-beta.1+nightly20240121612d1788857ad2e2e58c27108149f1fb64b9c06f] is greater than current Hyperion version [2.0.16]
2024-02-02T18:38:40.528 |__| EFFECTFILES : <INFO> 41 effects loaded from directory :/effects/
2024-02-02T18:38:40.528 |__| EFFECTFILES : <INFO> 23 effect schemas loaded from directory :/effects/schema/
2024-02-02T18:38:40.528 |__| EFFECTFILES : <INFO> 0 effects loaded from directory /home/hazrpg/.hyperion/custom-effects/
2024-02-02T18:38:40.531 |I0| SETTINGSMGR : <DEBUG> SettingsManager.cpp:186:SettingsManager() | Settings database initialized
2024-02-02T18:38:40.532 |I0| BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:67:handleSettingsUpdate() | Set mode to: default
2024-02-02T18:38:40.532 |I0| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Blackborder detector: enabled
2024-02-02T18:38:40.532 |I0| IMAGETOLED : <DEBUG> ImageProcessor.cpp:174:setReducedPixelSetFactorFactor() | Set reduced pixel set factor to 0
2024-02-02T18:38:40.532 |I0| IMAGETOLED : <DEBUG> ImageProcessor.cpp:189:setAccuracyLevel() | Set processing accuracy level to 0
2024-02-02T18:38:40.543 |I1| SETTINGSMGR : <DEBUG> SettingsManager.cpp:186:SettingsManager() | Settings database initialized
2024-02-02T18:38:40.544 |I1| BLACKBORDER : <DEBUG> BlackBorderProcessor.cpp:67:handleSettingsUpdate() | Set mode to: default
2024-02-02T18:38:40.544 |I1| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Blackborder detector: enabled
2024-02-02T18:38:40.544 |I1| IMAGETOLED : <DEBUG> ImageProcessor.cpp:174:setReducedPixelSetFactorFactor() | Set reduced pixel set factor to 0
2024-02-02T18:38:40.544 |I1| IMAGETOLED : <DEBUG> ImageProcessor.cpp:189:setAccuracyLevel() | Set processing accuracy level to 0
2024-02-02T18:38:40.553 |__| X11GRABBER : <INFO> Cropping image: width=0 height=0; crop: left=0 right=1920 top=0 bottom=0
2024-02-02T18:38:40.553 |__| X11GRABBER : <INFO> Previous line repeats 1 times
2024-02-02T18:38:40.553 |__| DAEMON : <INFO> X11 grabber created
2024-02-02T18:38:40.553 |__| X11GRABBER : <INFO> Cropping image: width=0 height=0; crop: left=0 right=1920 top=0 bottom=0
2024-02-02T18:38:40.553 |__| X11GRABBER : <DEBUG> Grabber.cpp:152:setFramerate() | Set new frames per second to: 25 fps, current fps: 25
2024-02-02T18:38:40.553 |__| X11 : <DEBUG> GrabberWrapper.cpp:78:start() | Grabber start()
2024-02-02T18:38:40.553 |__| DAEMON : <DEBUG> hyperiond.cpp:719:handleSettingsUpdate() | V4L2 grabber created
2024-02-02T18:38:40.553 |__| DAEMON : <DEBUG> hyperiond.cpp:741:handleSettingsUpdate() | Audio grabber created
2024-02-02T18:38:40.554 |__| DAEMON : <DEBUG> hyperiond.cpp:428:startEventServices() | Hyperion event handler created
2024-02-02T18:38:40.554 |__| EVENTS-SCHED : <DEBUG> EventScheduler.cpp:35:handleSettingsUpdate() | Event scheduler is disabled
2024-02-02T18:38:40.554 |__| PROTOSERVER : <INFO> Started on port 19445
2024-02-02T18:38:40.554 |__| EVENTS-SCHED : <INFO> Disabling event scheduler
2024-02-02T18:38:40.554 |__| DAEMON : <DEBUG> hyperiond.cpp:436:startEventServices() | Hyperion event scheduler created
2024-02-02T18:38:40.554 |__| FLATBUFSERVER : <INFO> Started on port 19400
2024-02-02T18:38:40.555 |__| EVENTS-OS : <DEBUG> OsEventHandler.cpp:360:registerOsEventHandler() | Registered for suspend/resume events via service: org.freedesktop.login1
2024-02-02T18:38:40.555 |__| EVENTS-OS : <DEBUG> OsEventHandler.cpp:429:registerLockHandler() | Registered for lock/unlock events via service: org.gnome.ScreenSaver
2024-02-02T18:38:40.556 |__| EVENTS-OS : <DEBUG> OsEventHandler.cpp:429:registerLockHandler() | Registered for lock/unlock events via service: org.freedesktop.ScreenSaver
2024-02-02T18:38:40.556 |__| DAEMON : <DEBUG> hyperiond.cpp:444:startEventServices() | Operating System event handler created
2024-02-02T18:38:40.556 |__| DAEMON : <INFO> CEC event handler created
2024-02-02T18:38:40.556 |__| MAIN : <INFO> Start Systray menu
2024-02-02T18:38:40.556 |__| EVENTS-CEC : <DEBUG> CECHandler.cpp:52:handleSettingsUpdate() | CEC Event handling is disabled
2024-02-02T18:38:40.556 |__| EVENTS-CEC : <INFO> CEC handler disabled
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <INFO> Start LedDevice 'file'.
2024-02-02T18:38:40.563 |I1| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Smoothing: enabled
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:215:init() | deviceConfig: [{"autoStart":true,"colorOrder":"rgb","currentLedCount":30,"enableAttempts":12,"enableAttemptsInterval":15,"hardwareLedCount":30,"latchTime":0,"output":"/dev/null","rewriteTime":0,"type":"file"}]
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:565:setLedCount() | LedCount set to 30
2024-02-02T18:38:40.563 |I1| SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:142:handleSettingsUpdate() | [0] - Type: Linear, Pause: false, Settling time: 200ms, Interval: 40ms (25Hz), delay: 0 frames
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:571:setColorOrder() | ColorOrder set to RGB
2024-02-02T18:38:40.563 |I1| SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:700:selectConfig() | [0] - Type: Linear, Pause: false, Settling time: 200ms, Interval: 40ms (25Hz), delay: 0 frames
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:578:setLatchTime() | LatchTime set to 0ms
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:584:setAutoStart() | AutoStart enabled
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:621:setEnableAttempts() | Max enable retries: 12, enable retry interval = 15s
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Candle": Add custom smoothing settings [3]. Type: Linear, Settling time: 500ms, Interval: 20Hz
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:90:start() | Not enabled -> enable device
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:140:enable() | Enable device file'
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDeviceFile.cpp:59:open() | QIODevice::WriteOnly, /dev/null
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Rainbow swirl": Add custom smoothing settings [4]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <INFO> Switching device file ON
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Random": Add custom smoothing settings [5]. Type: Linear, Settling time: 200ms, Interval: 20Hz
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:482:powerOn() | Power On: file
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Sea waves": Add custom smoothing settings [6]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <INFO> Device file is ON
2024-02-02T18:38:40.563 |I1| LEDDEVICE : <INFO> LedDevice 'file' enabled
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Warm mood blobs": Add custom smoothing settings [7]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <INFO> Run effect "Rainbow swirl fast" on channel 1
2024-02-02T18:38:40.563 |I1| EFFECTENGINE : <DEBUG> EffectEngine.cpp:217:runEffectScript() | Start the effect: name [Rainbow swirl fast]
2024-02-02T18:38:40.563 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/EFFECT' (Rainbow swirl fast) with priority 1 as inactive
2024-02-02T18:38:40.563 |I1| HYPERION : <INFO> Initial foreground effect 'Rainbow swirl fast' started
2024-02-02T18:38:40.563 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/GRABBER' () with priority 250 as inactive
2024-02-02T18:38:40.563 |I1| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Framegrabber: enabled
2024-02-02T18:38:40.564 |I1| BOBLIGHT : <DEBUG> BoblightServer.cpp:31:BoblightServer() | Instance created
2024-02-02T18:38:40.564 |I1| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | LED device: enabled
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <INFO> Start LedDevice 'wled'.
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:128:init() | Stream protocol : DDP
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:129:init() | Stream DDP : 1
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:215:init() | deviceConfig: [{"autoStart":true,"brightness":255,"colorOrder":"rgb","currentLedCount":42,"enableAttempts":12,"enableAttemptsInterval":15,"hardwareLedCount":42,"host":"office-tv-wled._wled._tcp.local","hostList":"office-tv-wled._wled._tcp.local","latchTime":0,"overwriteBrightness":true,"overwriteSync":true,"restoreOriginalState":false,"streamProtocol":"DDP","type":"wled"}]
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:565:setLedCount() | LedCount set to 42
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:571:setColorOrder() | ColorOrder set to RGB
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:578:setLatchTime() | LatchTime set to 0ms
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Candle": Add custom smoothing settings [3]. Type: Linear, Settling time: 500ms, Interval: 20Hz
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:584:setAutoStart() | AutoStart enabled
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:621:setEnableAttempts() | Max enable retries: 12, enable retry interval = 15s
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceUdpDdp.cpp:85:init() | Hostname/IP : office-tv-wled._wled._tcp.local
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Rainbow swirl": Add custom smoothing settings [4]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceUdpDdp.cpp:86:init() | Port : 4048
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Random": Add custom smoothing settings [5]. Type: Linear, Settling time: 200ms, Interval: 20Hz
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Sea waves": Add custom smoothing settings [6]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:150:init() | RestoreOrigState : 0
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:151:init() | Overwrite Sync. : 1
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:128:handleUpdatedEffectList() | Effect "Warm mood blobs": Add custom smoothing settings [7]. Type: Linear, Settling time: 200ms, Interval: 25Hz
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:152:init() | Overwrite Brightn.: 1
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:153:init() | Set Brightness to : 255
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDeviceWled.cpp:165:init() | Stream to one segment: No
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:90:start() | Not enabled -> enable device
2024-02-02T18:38:40.566 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:140:enable() | Enable device wled'
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <INFO> Run effect "Rainbow swirl" on channel 1
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:217:runEffectScript() | Start the effect: name [Rainbow swirl]
2024-02-02T18:38:40.566 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/EFFECT' (Rainbow swirl) with priority 1 as inactive
2024-02-02T18:38:40.566 |I0| HYPERION : <INFO> Initial foreground effect 'Rainbow swirl' started
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <INFO> Run effect "Pac-Man" on channel 254
2024-02-02T18:38:40.566 |I0| EFFECTENGINE : <DEBUG> EffectEngine.cpp:217:runEffectScript() | Start the effect: name [Pac-Man]
2024-02-02T18:38:40.566 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/EFFECT' (Pac-Man) with priority 254 as inactive
2024-02-02T18:38:40.566 |I0| HYPERION : <INFO> Initial background effect 'Pac-Man' started
2024-02-02T18:38:40.566 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/V4L' () with priority 240 as inactive
2024-02-02T18:38:40.566 |I0| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | V4L capture device: enabled
2024-02-02T18:38:40.566 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/GRABBER' () with priority 250 as inactive
2024-02-02T18:38:40.566 |I0| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Framegrabber: enabled
2024-02-02T18:38:40.567 |I0| BOBLIGHT : <DEBUG> BoblightServer.cpp:31:BoblightServer() | Instance created
2024-02-02T18:38:40.580 |__| HYPERION-INSTMGR : <INFO> Hyperion instance 'Tests' has been started
2024-02-02T18:38:40.580 |__| HYPERION-INSTMGR : <INFO> Hyperion instance 'First LED Hardware instance' has been started
2024-02-02T18:38:40.580 |__| JSONSERVER : <DEBUG> JsonServer.cpp:32:JsonServer() | Created instance
2024-02-02T18:38:40.580 |__| JSONSERVER : <INFO> Started on port 19444
2024-02-02T18:38:40.580 |__| WEBSERVER : <DEBUG> WebServer.cpp:45:initServer() | Initialize http-Webserver
2024-02-02T18:38:40.580 |__| WEBSERVER : <DEBUG> WebServer.cpp:45:initServer() | Initialize https-Webserver
2024-02-02T18:38:40.584 |__| WEBSERVER : <DEBUG> WebServer.cpp:99:handleSettingsUpdate() | Apply Webserver settings
2024-02-02T18:38:40.584 |__| WEBSERVER : <DEBUG> WebServer.cpp:99:handleSettingsUpdate() | Apply Webserver settings
2024-02-02T18:38:40.584 |__| WEBSERVER : <DEBUG> WebServer.cpp:117:handleSettingsUpdate() | Set document root to: :/webconfig
2024-02-02T18:38:40.584 |__| WEBSERVER : <DEBUG> WebServer.cpp:117:handleSettingsUpdate() | Set document root to: :/webconfig
2024-02-02T18:38:40.584 |__| WEBSERVER : <INFO> 'Hyperion http-Webserver' started on port 8090
2024-02-02T18:38:40.586 |__| WEBSERVER : <DEBUG> WebServer.cpp:183:handleSettingsUpdate() | Setup SSL certificate
2024-02-02T18:38:40.586 |__| WEBSERVER : <DEBUG> WebServer.cpp:201:handleSettingsUpdate() | Setup private SSL key
2024-02-02T18:38:40.586 |__| WEBSERVER : <INFO> 'Hyperion https-Webserver' started on port 8092
2024-02-02T18:38:40.594 |__| X11GRABBER : <INFO> XRandR=[available] XRender=[available] XShm=[available] XPixmap=[unavailable]
2024-02-02T18:38:40.594 |__| X11GRABBER : <INFO> Update of screen resolution: [0x0] to [3840x1080]
2024-02-02T18:38:40.594 |__| X11GRABBER : <INFO> Using XRender for grabbing
2024-02-02T18:38:40.594 |__| X11GRABBER : <INFO> Update output image resolution to [240x135]
2024-02-02T18:38:40.594 |__| X11GRABBER : <INFO> Capture interface is now enabled
2024-02-02T18:38:40.595 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/GRABBER' (X11) with priority 250 as inactive
2024-02-02T18:38:40.595 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:178:registerInput() | Register new input 'System/GRABBER' (X11) with priority 250 as inactive
2024-02-02T18:38:40.595 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 250
2024-02-02T18:38:40.595 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 250
2024-02-02T18:38:40.595 |I1| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 2640 (memory: 2640). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 240 x 135, LED areas: 30
2024-02-02T18:38:40.595 |I0| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 5564 (memory: 5564). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 240 x 135, LED areas: 42
2024-02-02T18:38:40.595 |I1| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Previous line repeats 1 times
2024-02-02T18:38:40.595 |I1| HYPERION : <DEBUG> Hyperion.cpp:654:handleSourceAvailability() | new source available -> Resume output processing and switch LED-Device on
2024-02-02T18:38:40.595 |I0| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Previous line repeats 1 times
2024-02-02T18:38:40.595 |I0| HYPERION : <DEBUG> Hyperion.cpp:654:handleSourceAvailability() | new source available -> Resume output processing and switch LED-Device on
2024-02-02T18:38:40.595 |I1| LEDDEVICE : <DEBUG> LedDevice.cpp:392:switchOn() | Device file is already on. Skipping.
2024-02-02T18:38:40.595 |I0| HYPERION : <DEBUG> BGEffectHandler.h:125:handlePriorityUpdate() | Stop background (color-) effect as it moved out of scope
2024-02-02T18:38:40.602 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:359:updatePriorities() | Removed source priority 254
2024-02-02T18:38:40.602 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 1
2024-02-02T18:38:40.602 |I0| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 1128 (memory: 1128). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 102 x 64, LED areas: 42
2024-02-02T18:38:40.602 |I0| SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:676:selectConfig() | Run Effect with Smoothing enabled
2024-02-02T18:38:40.602 |I0| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Smoothing: enabled
2024-02-02T18:38:40.602 |I0| SMOOTHING : <DEBUG> LinearColorSmoothing.cpp:700:selectConfig() | [4] - Type: Linear, Pause: false, Settling time: 200ms, Interval: 40ms (25Hz), delay: 0 frames
2024-02-02T18:38:40.604 |I0| EFFECTENGINE : <INFO> Effect [Pac-Man] finished
2024-02-02T18:38:40.631 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 1
2024-02-02T18:38:40.631 |I1| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 640 (memory: 640). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 128 x 64, LED areas: 30
2024-02-02T18:38:43.528 |__| MDNS : <DEBUG> MdnsBrowser.cpp:232:getServiceInstanceRecord() | No service record found for service instance [office-tv-wled._wled._tcp.local.]
2024-02-02T18:38:43.528 |I0| LEDDEVICE : <ERROR> Cannot resolve mDNS hostname for given service [office-tv-wled._wled._tcp.local]!
2024-02-02T18:38:43.528 |I0| LEDDEVICE : <DEBUG> LedDevice.cpp:186:enable() | Device's enablement failed
2024-02-02T18:38:43.626 |I0| EFFECTENGINE : <INFO> Effect [Rainbow swirl] finished
2024-02-02T18:38:43.639 |I1| EFFECTENGINE : <INFO> Effect [Rainbow swirl fast] finished
2024-02-02T18:38:43.778 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:371:updatePriorities() | Timeout clear for priority 1
2024-02-02T18:38:43.778 |I0| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 250
2024-02-02T18:38:43.778 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:371:updatePriorities() | Timeout clear for priority 1
2024-02-02T18:38:43.778 |I0| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 5564 (memory: 5564). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 240 x 135, LED areas: 42
2024-02-02T18:38:43.778 |I1| MUXER : <DEBUG> PriorityMuxer.cpp:422:updatePriorities() | Set visible priority to 250
2024-02-02T18:38:43.778 |I1| IMAGETOLED : <DEBUG> ImageToLedsMap.cpp:112:ImageToLedsMap() | Total index number is: 2640 (memory: 2640). Reduced pixel set factor: 0, Accuracy level: 0, Image size: 240 x 135, LED areas: 30
2024-02-02T18:38:43.778 |I0| COMPONENTREG : <DEBUG> ComponentRegister.cpp:89:setNewComponentState() | Smoothing: disabled
I went through the releases on github and it seems that version Hyperion-2.0.15-Linux-x86_64.deb
makes the Web UI work. So the issue has started after that version. I can now give my system info below:
Hyperion Server:
- Build: (HEAD detached at 2.0.15) (GitHub-70e1043/24a00e3-1676809483)
- Build time: Feb 19 2023 14:41:05
- Git Remote: https://github.com/hyperion-project/hyperion.ng
- Version: 2.0.15
- UI Lang: en (BrowserLang: en-GB)
- UI Access: default
- Avail Screen Cap.: framebuffer,x11,xcb,qt
- Avail Video Cap.: v4l2
- Avail Audio Cap.: audio
- Avail Services: boblight,cec,effectengine,forwarder,flatbuffer,protobuffer,mDNS,SSDP,borderdetection
- Config path: /home/hazrpg/.hyperion
- Database: read/write
Hyperion Server OS:
- Distribution: Ubuntu 22.04.3 LTS
- Architecture: x86_64
- CPU Model: AMD Ryzen 7 5700G with Radeon Graphics
- CPU Type: 80
- Kernel: linux (6.5.0-15-generic (WS: 64))
- Root/Admin: false
- Qt Version: 5.7.1
- Python Version: 3.5.3
- Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0
Thanks for sharing your finding.
The issue seems not to be related to Hyperion's version, but if the package has been build with Qt5 or Qt6.
I build two packages for Bullseye, one with Qt5 and Qt6 and run them on a standard Pop OS (based on Ubuntu Jammy).
I can reproduce the issue with the Qt6 build while Qt5 works.
Running the Qt6 build on my Ubuntu Jammy development environment, it works.
Seems there is something missing on the basic environment.
We need to further investigate.
Nevertheless, I would recommend that you install packages via our repository and not the pure .deb files.
see https://releases.hyperion-project.org/ for instructions.
Could you install from repo and report, if that works?
That might further indicate what is missing....
@hazrpg happens to me too, try to install the Hyperion-2.0.16-Linux-amd64.deb from the releases. This is working too, seems to be a different version in the releases then on the apt repositorty. (or Qt5 version on git, Qt6 version on apt, idk)
Unpacking hyperion (2.0.16) over (2.0.16~jammy) ...
works for me. And i can confirm this problems starts with the 2.0.16
I noticed, if i stop the process manually and start it via /usr/bin/hyperiond /etc/hyperion/hyperion.config.json
as user root webinterface will work too. So i tried to remove the /home/user/.hyperion
folder and run it as my default user, does not work.
Unfortunately, I cannot reproduce your error on my fresh installed virtual machine (arm64 instead of amd64). I will try it again natively on an amd64 machine in the next few days. Thanks anyway for the bug report.
Bildschirmaufnahme.2024-02-03.um.23.03.33.mov
edit:
Hyperion 2.0.16 under Ubuntu 22.04.3 LTS (x86_64) (VirtualBox Windows 11)
Bildschirmaufnahme.2024-02-04.um.00.06.57.mov
@srLinux
May I ask you why you start Hyperion with a json file argument in the terminal?
This behavior has never been supported by Hyperion.ng. You can only overwrite the database directory with the -u or --userdata argument option.
@Paulchen-Panther this is the default value from the systemd runscript. /etc/systemd/system/hyperion.service
So i think "never been supported" is not right at all!
look here: #476
root@ambilight:~# ls -alt /etc/hyperion/hyperion.config.json
-rw-r--r-- 1 pi pi 17367 Mar 18 2017 /etc/hyperion/hyperion.config.json
It is a path to a file not to a directory. And yes i know to overwrite the database directory, thx anyway :-)
So if it is not supported anymore, the .deb file needs to ask for replace this file. ( /etc/systemd/system/hyperion.service )
And i noticed you just run the install script from the Website (github). But i already mentioned that i installed it via apt install hyperion
which not work as expected. I already confirmed that install the .deb manually from the git release like the script do, is working.
Maybe you should try to install and configure a 2.0.15 and overinstall a 2.0.16 to reproduce.
@Paulchen-Panther this is the default value from the systemd runscript.
/etc/systemd/system/hyperion.service
So i think "never been supported" is not right at all!look here: #476
Sorry for my mistake. The PR is already 6 years old. So we can no longer talk about default. You can forget that.
root@ambilight:~# ls -alt /etc/hyperion/hyperion.config.json
-rw-r--r-- 1 pi pi 17367 Mar 18 2017 /etc/hyperion/hyperion.config.json
It is a path to a file not to a directory. And yes i know to overwrite the database directory, thx anyway :-) So if it is not supported anymore, the .deb file needs to ask for replace this file. ( /etc/systemd/system/hyperion.service )
Since the Hyperion systemd service has been registered to the current user for a while during installation, the old service is no longer used. Apart from that, the first official deb release came out in 2020. The change in your linked PR was in 2017.
And i noticed you just run the install script from the Website (github). But i already mentioned that i installed it via
apt install hyperion
which not work as expected. I already confirmed that install the .deb manually from the git release like the script do, is working.
I don't know where you read this, but the easy install script from releases.hyperion-project.org installs the APT releases and not the ones from GitHub.
Have a look at the script:
https://github.com/hyperion-project/hyperion.releases-ci/blob/main/install.sh
Maybe you should try to install and configure a 2.0.15 and overinstall a 2.0.16 to reproduce.
Of course I still do. Many thanks for the tip
is it
https://releases.hyperion-project.org/
https://apt.hyperion-project.org/
or
https://apt.releases.hyperion-project.org/
this information is not consistent.
i think https://docs.hyperion-project.org/en/user/Installation.html#requirements is outdated. But it was updated a month ago.
https://releases.hyperion-project.org/ is the main page. It contains the installation instructions.
https://apt.hyperion-project.org/ is no longer up to date. A redirect for previous installations has been set up.
https://apt.releases.hyperion-project.org/ is the actual APT server. The installation files for an apt install hyperion
come from here.
Yes, the information in the documentation is no longer up to date. I have not yet found the time to change this myself. As this is an open source project, you are welcome to adapt the page and create a PR. Thank you very much
The behaviour is caused by a glib error when FireFox registers itself as a default browser.
The Mimetype for the html page is wrongly resolved why then the Hyperion page display fails.
See here for more details.
As a workaround you can execute the following to correct the wrong records.
The first command just renames the problematic that you could fall back...
mv ~/.local/share/mime/packages/user-extension-html.xml ~/.local/share/mime/packages/user-extension-html.xml.bak
update-mime-database ~/.local/share/mime
Please report back, if the workaround does the trick or additional resolution would be required.
hum, but i tried it in multiple browsers, on linux android and windows.
hum, but i tried it in multiple browsers, on linux android and windows.
This has nothing to do with the client side browser, but with the browser/setup on the server where Hyperion runs.
Edit: The workaround needs to be applied to the OS where Hyperion runs on.
can you do me a favor: if it happens click 2-3 times on ctrl on your keyboard and see if it happens again
@Lord-Grey the update-mime stuff worked. looks like this is not a hyperion issue right.
but what is the difference between the .deb on the apt repository and the version from the git release? it should be the same?
Ah now they are binary the same files, after i changed repository to https://apt.releases.hyperion-project.org ๐
so i moved the /.local/share/mime/packages/user-extension-html.xml.bak
back to /.local/share/mime/packages/user-extension-html.xml
and it is working too.