Bubka / 2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
https://docs.2fauth.app/
GNU Affero General Public License v3.0
2.32k stars 152 forks source link

After installing or upgrading version 5.2.0, the browser opens with a blank page #371

Closed A13788899580 closed 2 months ago

A13788899580 commented 4 months ago

Version

5.2.0

Details & Steps to reproduce

I installed the latest version (5.2.0) on Synology, but when I opened it in the browser, it was a blank page. I installed version 4.2 on an ARM device and it works fine when opened in a browser, but upgrading to the latest version (5.2.0) still leaves a blank page when opened in the browser. The following is the log after the container is opened: 2fauth1 2fauth2

Expectation

nothing

Error & Logs

[2024-07-28 00:50:03] local.NOTICE: App setting 'lastRadarScan' set to 1722127803  
[2024-07-28 00:50:03] local.NOTICE: App setting 'latestRelease' reset to default

Execution environment

No response

Containerization

Additional information

No response

Bubka commented 4 months ago

Hi, Most of the time the blank page appears when the APP_URL is not correctly set. This var must be set with the public url of your instance. So if you reach 2FAuth for example using https://2fauth.mynas.com, you have to set APP_URL=https://2fauth.mynas.com

Please also refer to the existing issues, some of which provide analysis and solutions to the blank page problem: https://github.com/Bubka/2FAuth/issues?q=blank

Bubka commented 2 months ago

Stale