Wordpress / Invoice Ninja 1-click installer fails

Description

Im new to ApisCP and am currently running the trial version to explore and test if it suits my needs. I mainly want to use it to run wordpress sites. When using the 1 click install on wordpress I get an error and I can’t get it to work. The laravel and joomla 1 click installer work without a problem.

Steps to Reproduce

  1. Create a new site
  2. Make sure dns/ssl setting are good
  3. Create webapp and install Wordpress with 1 click install, version 6.7.1 with auto-updates and SSL enabled

Then I get an error:
ERROR: Lararia\Jobs\Job::handle(): Job failed - fatal error: Target file /var/www/html/wp-config.php does not exist
I also tried Joomla! and Laravel and they work but Invoice Ninja also gives an error:
ERROR: Module\Support\Webapps\App\Type\Laravel\Reconfiguration\Ssl::apply(): The environment file is invalid! Failed to parse dotenv file. Encountered unexpected whitespace at [Invoice Ninja].

Environment

ApisCP version:

revision: db498b0c7910e244038579b53024138efd49ec97
timestamp: 1734032028
ver_maj: 3
ver_min: 2
ver_patch: 0
ver_pre: db498b0c7
dirty: false
debug: true

Operating System: AlmaLinux 8.10 4.18.0-553.32.1.el8_10.x86_64

Additional relevant information (e.g., PHP version, database, etc.):
Perl version: 5.26.3
PHP version: 8.2
MySQL version (MariaDB): 11.4.4 (11.4.4)
PostgresQL: 16.6

It’s a fresh install without customization

Thanks for the bug report, both issues have been fixed. Run upcp from the command-line to update your codebase.

Thanks for rolling out a fix so fast, it works now :slight_smile: