Use of undefined constant DB_UPDATE_VERSION
pedroponte opened this issue · comments
pedroponte commented
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
- configure docker
- 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
- 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
Platform Info
Friendica Version:
Docker image as of Jan 12th 2022
Philipp commented
@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