friendica / docker

Docker image for Friendica
https://friendi.ca
GNU Affero General Public License v3.0
45 stars 18 forks source link

Use of undefined constant DB_UPDATE_VERSION #184

Closed pedroponte closed 2 years ago

pedroponte commented 2 years ago

I am trying to install friendica on docker and am getting this error in the installation page

Use of undefined constant DB_UPDATE_VERSION

Bug Description

Steps to Reproduce

  1. configure docker
  2. use a mysql db as host (ie not a docker instance), by configuring the following parameters as specified in https://hub.docker.com/_/friendica MYSQL_HOST= xx.xx.xx.xx
    • MYSQL_DATABASE=xyz
    • MYSQL_USER=xyz
    • MYSQL_PASSWORD=xyz
  3. opened web installation page in browser

Actual Result:

PHP error in the first page Use of undefined constant DB_UPDATE_VERSION

Expected Result:

No errors output in installation page

Screenshots

Screenshot 2022-01-12 at 12 06 36 Screenshot 2022-01-12 at 12 09 26

Platform Info

Friendica Version:

Docker image as of Jan 12th 2022

nupplaphil commented 2 years ago

@pedroponte This is unfortunately a regression of the current stable (2021.09) Friendica codebase. Please use the current Release Candidate version (2021.12-rc), because it's "almost" released ;-) and this bug is fixed at https://github.com/friendica/friendica/pull/10891

friendica:rc is the right tag for it