• 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

Problem updating database in latest version

yuttakarn

Chevereto Member
i use php 8.0 issue error

CREATE TABLE chv_assets (
asset_id bigint(32) NOT NULL AUTO_INCREMENT,
asset_key varchar(255) NOT NULL,
asset_md5 varchar(32) NOT NULL,
asset_filename varchar(255) NOT NULL,
asset_file_path varchar(255) NOT NULL,
asset_blob blob,
PRIMARY KEY (asset_id),
UNIQUE KEY key (asset_key) USING BTREE,
KEY md5 (asset_md5),
KEY filename (asset_filename),
KEY file_path (asset_file_path)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4

MySQL has said:

#1071 - Key declaration too long. Maximum key length is 767



Server typeHost name
sort-up.gif
PortVersionDatabasesversion
ok.png
mariadb.png
MariaDB
localhost (default for MariaDB)330610.1.48

  • CLI:/var/www/vhosts/img/httpdocs/cli.php
  • PHP version: 8.0.7 /var/www/vhosts/system/imgz/etc/php.ini
 
Chevereto V3.20 doesn't not support PHP 8, only PHP 7.4

The reported issue seems to be related to an older mysql version. What you report is not a behavior present in MariaDB 10.
 
Dear, use mariadb 10 Focal. You are using 18.04. I've explicit indicate that Chevereto 3.20 was designed for Focal packaging.
 
Back
Top