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

Not running on RPi 5 #11

Open
armond-avanes opened this issue Feb 1, 2024 · 0 comments
Open

Not running on RPi 5 #11

armond-avanes opened this issue Feb 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@armond-avanes
Copy link
Contributor

armond-avanes commented Feb 1, 2024

I'm trying to run the latest available image from Docker Hub, which is 1.0.77, on a Raspberry Pi 5. But I get a blank page after a successful installation and container initialization. When I inspect the source code of the page, I see the following comment in the page source:

<!--

If you are reading this, there is a fair change that the react application has not loaded for you. There are a couple of solutions:

1. Download the release file from https://github.com/invoiceninja/invoiceninja and overwrite your current installation.
2. Switch back to the Flutter application by editing the database, you can do this with the following SQL

UPDATE accounts SET
set_react_as_default_ap = 0;

-->

UPDATE: I checked accounts.set_react_as_default_ap for the only record that was in the database (coming from auto-created admin account, using ADMIN_EMAIL and ADMIN_PASS environment variables), the value was "1" for that field. Could the issue be with the admin creation code?

UPDATE 2: I manually updated accounts.set_react_as_default_ap to 0 as directed in the embedded comments in the page source and it fixed the issue! It will be great if you can fix it on the admin account creation side so that no manual update is needed.

@armond-avanes armond-avanes added the bug Something isn't working label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant