AzuraCast icon indicating copy to clipboard operation
AzuraCast copied to clipboard

White page after updating

Open pilovali opened this issue 2 years ago • 7 comments

Installation Method

Docker Installation

AzuraCast Release Channel

Stable Channel

Current AzuraCast Version

0.19.4

What happened?

After updating from 0.19.3 to 0.19.4, I'm getting a fully blank page on the login screen. API still does work. Reboot didn't help. I tried restoring VM backup and trying to update again. This time it worked, however after a day, the issue re-appeared. I'm also having issues with webhooks.

Relevant log output

[2024-01-25T20:07:52.603094+00:00] AzuraCast.INFO: Dispatching test web hook "final"... [] []
[2024-01-25T20:07:52.605037+00:00] AzuraCast.DEBUG: Writing local nowplaying text file... [] []
[2024-01-25T20:07:52.605480+00:00] AzuraCast.DEBUG: Writing static nowplaying text file... [] []
[2024-01-25T20:07:52.606606+00:00] AzuraCast.DEBUG: HTTP client POST call to http://localhost:6025/api produced response 200 [] []
[2024-01-25T20:07:52.606838+00:00] AzuraCast.ERROR: /var/azuracast/www/src/Webhook/Connector/AbstractConnector.php L99: App\Webhook\Connector\AbstractConnector::App\Webhook\Connector{closure}(): Return value must be of type string, int returned {"exception":"[object] (TypeError(code: 0): App\Webhook\Connector\AbstractConnector::App\Webhook\Connector\{closure}(): Return value must be of type string, int returned at /var/azuracast/www/src/Webhook/Connector/AbstractConnector.php:99)"} []

pilovali avatar Jan 25 '24 20:01 pilovali

it's getting quite annoying.

pilovali avatar Jan 30 '24 08:01 pilovali

@pilovali The logs you supplied don't really give us enough information to know what's going on here. A white page can indicate a lot of things unfortunately, but it wouldn't be possible for us to narrow down that list without more extensive logs. In particular, it would be useful for us to see the logs during an update and/or right after running the update process.

I'd also be curious how you're doing the update; if you're doing it via the web panel (i.e. in-browser updates), I'd recommend trying the SSH command-line update method to see if that resolves things.

BusterNeece avatar Feb 15 '24 15:02 BusterNeece

i've exactly the same issues

"white page" when not logged in image workaround is to navigate to azuracast.domain.tld/login

discord webhook breaks, if the form is filled with values related to now_playing. "Return value must be of type string, int returned"

Not working: image

Working: image

suspected related commit: https://github.com/AzuraCast/AzuraCast/commit/bbf8d56b460d5cca9318bdefc463a44631024eef

Lokke avatar Feb 19 '24 22:02 Lokke

@pilovali The logs you supplied don't really give us enough information to know what's going on here. A white page can indicate a lot of things unfortunately, but it wouldn't be possible for us to narrow down that list without more extensive logs. In particular, it would be useful for us to see the logs during an update and/or right after running the update process.

I'd also be curious how you're doing the update; if you're doing it via the web panel (i.e. in-browser updates), I'd recommend trying the SSH command-line update method to see if that resolves things.

I'm doing updates via the command line, I always update via command line. Which logs do you want to see?

pilovali avatar Feb 28 '24 10:02 pilovali

can't reproduce "white page" issue anymore in 0.19.5. i'll suggest to trim this ticket and rename it to describe the non functionality of webhooks belonging to discord, if "page isn't redirecting properly" doesn't occur for you since 0.19.5 as well.

Lokke avatar Mar 03 '24 12:03 Lokke

never mind - discord webhooks are working for me as well fine again.

Lokke avatar Mar 03 '24 12:03 Lokke

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Apr 29 '24 00:04 github-actions[bot]

Thank you for your bug report, this issue has been closed due to inactivity. Should this issue persist, please re-open the bug report.

github-actions[bot] avatar May 13 '24 00:05 github-actions[bot]