invoice ninja and laravel issues

Bug Report Template

Description

I am sorry i feel like a broken record here but i have not been able to get invoice ninja to install.

What i see from the UI
I create a subdomain example in this case: sub.domain.org using Web → Subdomains
It creates a DNS entry, the page loads with no ssl. no problem.

Then when i go to Web Apps and select the domain (shows thumbnail) then click Invoice Ninja

Empty Folder, Enable SSL, enable auto updates

I get an email saying the install is successful, but when i try to access the page it is not able to resolve the DNS

I went into the DNS section and the DNS is gone, when i re-add the DNS it shows a blank page with the following details in the source screen.


<!DOCTYPE html>
<html data-report-errors="1" data-rc="" data-user-agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0" data-login="">
<head>
    <!-- Source: https://github.com/invoiceninja/invoiceninja -->
    <!-- Version: 5.12.28 -->
  <meta charset="UTF-8">
  <title>Invoice Ninja</title>
  <meta name="google-signin-client_id" content="">

  
</head>

<body class="h-full">
  <noscript>You need to enable JavaScript to run this app.</noscript>
  <div id="root"></div>
  
</body>

<!--

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;

-->
</html>


NOW when i create a new subdomain t-sub.domain.org, delete the index file, and go back to the Web Apps

Select invoice ninja, turn off all the check boxes and select Major and no autoupdates, no ssl, and no emptying directories

i still get a deleted DNS and when readded a white screen

Steps to Reproduce

Please provide detailed steps to reproduce the bug. Include any necessary code snippets, commands, or configuration files.

  • Step 1
    create sub domain

  • Step 2
    go to web apps

  • Step 3
    select invoice ninja, then hit install

  • Step 4
    click link in the email when the success message comes in and see DNS error

  • step 5
    readd dns

  • step 6
    see blank screen

Expected Behavior

load a welcome screen and roll out the red carpet

Actual Behavior

blank screen no error

Environment

ApisCP version: cpcmd misc:cp-version
Operating System: uname -r

ver_maj: 3
ver_min: 2
ver_patch: 48
ver_pre: 21-g59a2ba9bc
dirty: false
debug: false

PHP on the account is 8.4

MariaDB 11.6.2

Additional relevant information (e.g., PHP version, database, etc.):

Additional Information

Provide any additional information about the bug, such as error messages, logs, screenshots, or any other relevant details.

on this release
cpcmd scope:set cp.update-policy edge-major

to add to this, i just installed bookstack on a different subdomain and have no issues.

Thanks for the bug report. Fixed. Edge now installs from release rather than source.

Looks to be they’ve switched from Flutter to React UI, which resides in its own repo that’s not bundled in source.

Alternatively, you can run the following database command to flip back to Flutter.

UPDATE accounts SET
set_react_as_default_ap = 0;

Database info is stored in <app root>/.env.