friendica / docker

Docker image for Friendica

Home Page:https://friendi.ca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use of undefined constant DB_UPDATE_VERSION

pedroponte opened this issue · comments

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

Use of undefined constant DB_UPDATE_VERSION

  • [ X ] I have searched open and closed issues for duplicates

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

@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 friendica/friendica#10891

friendica:rc is the right tag for it