• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Can't install v4 - Composer could not find a composer.json file in /var/www/html

DarkTexas 🦄

Chevereto Member
😢 Unexpected result

I can not install v4 correctly (via the 1 min bash script), last time I tried it worked with the same setup- now it seems to fail.
📃 Error log message

Code:
Trigger für mime-support (3.60ubuntu1) werden verarbeitet ...
All settings correct for using Composer
Downloading...

Composer (version 2.2.9) successfully installed to: /usr/local/bin/composer
Use it: php /usr/local/bin/composer

Composer could not find a composer.json file in /var/www/html
To initialize a project, please create a composer.json file. See https://getcomposer.org/basic-usage
root@chevereto:~#
 
im now getting a

Code:
Chevere\Throwable\Exceptions\LogicException thrown in /var/www/html/app/src/Legacy/G/DB.php:64

# Message
No Chevereto\Legacy\Classes\DB initialized

# Incident ID:6238d8883ec8a

# Time
2022-03-21T19:56:56+00:00 [1647892616]

# Stack trace
------------------------------------------------------------
#0 /var/www/html/app/src/Legacy/G/DB.php:64
{main}()
------------------------------------------------------------
#1 /var/www/html/app/src/Legacy/Classes/Settings.php:322
Chevereto\Legacy\G\DB::getInstance()
------------------------------------------------------------
#2 /var/www/html/app/src/Legacy/functions.php:1048
Chevereto\Legacy\Classes\Settings::update()
------------------------------------------------------------
#3 /var/www/html/app/legacy/entrypoints/index.php:24
Chevereto\Legacy\loaderHandler()
------------------------------------------------------------
#4 /var/www/html/index.php:12
require_once(string(length=46))
------------------------------------------------------------

# Server
Linux reni 4.15.0-171-generic #180-Ubuntu SMP Wed Mar 2 17:25:05 UTC 2022 x86_64
 
I've updated some bits of the shell script, most likely you had to manually provide the database? The VPS should provide the database already configured.

Anyway, I just tested under Ubuntu 20.04 and it worked flawlessly.
 
Back
Top