Coder Social home page Coder Social logo

Comments (15)

valvin1 avatar valvin1 commented on September 28, 2024 2

no worries I have to do better backups ;)

it looks my instance is up again I might have lost some settings but I'll find them back in the future :)

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

That was a bug for the stable artifact :-(
I accidentally included the local.config.php into the archive, so the script overwrites the existing one.
You mean this PR: #172 , don't you? This covers the issue, but the root cause is closed with this PR: #173

I'm really sorry ..

This shouldn't happen with the latest stable docker image anymore ..

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

I had the same issue and I edited the local.config.php file and reentered all entries in the database section. The container is now up but when I connect to the web interface to login I receive this error.

Fatal error: Uncaught Exception: Missing database structure config file static/dbstructure.config.php in /var/www/html/src/Database/DBStructure.php:306 Stack trace: #0 /var/www/html/src/Database/Database.php(87): Friendica\Database\DBStructure::definition('/vagrant', false) #1 [internal function]: Friendica\Database\Database->__construct(Object(Friendica\Core\Config\Cache), Object(Friendica\Util\Profiler), Object(Psr\Log\NullLogger)) #2 /var/www/html/vendor/level-2/dice/Dice.php(132): ReflectionMethod->invokeArgs(Object(Friendica\Database\Database), Array) #3 /var/www/html/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}(Array, Array) #4 /var/www/html/vendor/level-2/dice/Dice.php(247): Dice\Dice->create('Friendica\\Datab...', Array, Array) #5 /var/www/html/vendor/level-2/dice/Dice.php(132): Dice\Dice->Dice\{closure}(Array, Array) #6 /var/www/html/vendor/level-2/dice/Dice.php(96): Dice\Dice->Dice\{closure}(Array, Array) #7 /var/www/html/src/DI.php(62): Dice\Dice->create('Friendica\\App') #8 /var/www/html/index.p in /var/www/html/src/Database/DBStructure.php on line 306

Is there a fix for this?
I have pulled the latest image just a few minutes ago.

from docker.

valvin1 avatar valvin1 commented on September 28, 2024

I had the same issue. It is the system base path which should correspond to the main folder. In our case /var/www/html
Hope it'll help.

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

Thank you. That did it and I am back in.

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

Where did you set this config @valvin1. Normally the basepath shouldn't be set manually for Docker, because it uses standard directories for it

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

I set it in local.config.php and no restart was even required. It just worked. The original value was 'basepath' => 'vagrant', and I changed it to 'basepath' => '/var/www/html',

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

örks .. that's a leftover from the local.config.php issue, it's the basepath of my local dev-environment -.-*

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

Next issue also related is I cannot start daemon.php. When logged into the container as root, error is

root@friendica:/var/www/html# php bin/daemon.php start
Starting worker daemon.
Child process started with pid 71.
sh: 1: /usr/bin/php: not found
root@friendica:/var/www/html#

The error keeps repeating and the queue does not empty in the Admin webpage.
Is this also a simple solution related to the local.config.php file?

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

yep ..

plz set config.php_path to php, like:

root@ex52 /opt/docker/friendica # docker-compose exec --user=www-data app php bin/console.php config config php_path php
config.php_path <= php

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

That fixed it for now. I will post any further errors but I am hoping to not have any. Have a nice evening.

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

I hope so too :-/ thanks for your patience

from docker.

nupplaphil avatar nupplaphil commented on September 28, 2024

closed since no further errors I guess :-)

from docker.

valvin1 avatar valvin1 commented on September 28, 2024

yes sorry I forgot to give news on my side. but i'm wondering if I updated the image after fixing errors. I'll try and let you know.

from docker.

ThRPctmylSgltwH avatar ThRPctmylSgltwH commented on September 28, 2024

I have not seen any further errors. I am fine with the closing of this topic.

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.