Coder Social home page Coder Social logo

Comments (4)

nupplaphil avatar nupplaphil commented on September 28, 2024 1

My uses cases are :

  • I want to add a new admin user : here in addition i'm wondering if the parameter has the good name admin_mail instead of admin_email : corresponding code

This is indeed a bug .. it should be the same config name like the db-entry

  • I change the host and the password of my database : i'm wondering if in that case the issue is that these settings are only used in the installation process with autoinstall.

You and @focalfury are right. The current problem is that we persist the dbhost/user/name into the config/local.config.php, which makes it impossible to change it through the parameter again.

A fix would be to avoid saving any entry into the local.config.php file and instead load it through the environment variables.

This seems possible, I'll give it a try

from docker.

focalfury avatar focalfury commented on September 28, 2024

not an expert by any means but I do believe those params are only used for auto installation. Even if you didn't provide them you could go set up the database manually and friendica settings in the config files to get it working.

from docker.

valvin1 avatar valvin1 commented on September 28, 2024

You are right but I'm not sure it is what we can except in a docker installation.
Modifying local files is working but it is not usual to do so in a container setup with env variables.

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

Fixed per friendica/friendica#9422

from docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.