Comments (15)
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.
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.
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.
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.
Thank you. That did it and I am back in.
from docker.
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.
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.
örks .. that's a leftover from the local.config.php
issue, it's the basepath of my local dev-environment -.-*
from docker.
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.
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.
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.
I hope so too :-/ thanks for your patience
from docker.
closed since no further errors I guess :-)
from docker.
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.
I have not seen any further errors. I am fine with the closing of this topic.
from docker.
Related Issues (20)
- logging HOT 2
- Cron job with k3s acting funny HOT 2
- Error: GNU Multiple Precision PHP module required but not installed. HOT 3
- E_WARNING: session_write_close() with Redis HOT 2
- How to check cron jobs? HOT 1
- db.env variables are incorrect HOT 2
- ImagickException: Unable to set the image format HOT 6
- Link in README.md is broken HOT 1
- Wrong sitename and description on Friendica Directory https://dir.friendica.social/ HOT 1
- Healthcheck HOT 3
- Can't turn off STARTTLS for msmtp
- Lots of CORS errors when using the insecure image HOT 4
- Help on running Friendica on Kubernetes HOT 2
- Issues with HTTPS HOT 9
- FRIENDICA_UPGRADE cannot be false on rc image HOT 2
- Reduce PHP error_reporting scope in container HOT 8
- Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php on line 444 HOT 1
- PHP Module IntlChar is missing HOT 8
- Improve documentation on attaching MySQL database HOT 1
- 2024.03-rc image is missing HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.