Skip to content

[ERROR] Error updating database.. Run with -vvv to see specific error info. #2320

Description

@xyychenchen

Shlink version

4.4.0

PHP version

8.3

How do you serve Shlink

Self-hosted Apache

Database engine

MariaDB

Database version

5.5.68

Current behavior

i run the installtion script and it keep saying [ERROR] Error updating database.. Run with -vvv to see specific error info.
i am pretty sure that the info about the mariadb database is correct, i try to set using unix socket and the port, either way won't work,
and i also try to run with -vvv, but i did not see anything info helpful
please tell me how to find the error, i really have no idea where went wrong,
after run the set option to re-type the database info, i run vendor/bin/shlink-installer update,and it always shows

[root@ecs-TZWsG shlink]# vendor/bin/shlink-installer update
Welcome to Shlink!!
This tool will guide you through the installation process.

Do you want to import configuration from previous installation? (You will still be asked for any new config option that did not exist in previous shlink versions) (yes/no) [yes]:

Previous shlink installation path from which to import config:

/data/shlink/

Custom configuration properly generated!

Updating database...

[ERROR] Error updating database.. Run with -vvv to see specific error info.

Generating proxies... Success!
Clearing entities cache... Success!
Downloading GeoLite2 db file... Success!
Downloading RoadRunner binary... Success!

and by the way, i have been successfully generate an API key yet, my first installtion failed with the database and geoIP key , after I re-input the geoIP key , what is left is the database, keep saying error , i spent a day to fix this , not working still

Expected behavior

run the installion script supposed to run successfully

Minimum steps to reproduce

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions