Closed dipohl closed 2 years ago
Same was reported before from other peoples in (unfortunately closed without fixing) issue https://github.com/picocms/Pico/issues/525
I was glad to find this via internet search as the recipe "install from archive not with composer" also worked for me.
My first try with current composer version 2.x following your installation docs brought an alarming warning, therefore I tried with the older composer version 1.x as described above.
Loading "picocms/composer-installer" which is a legacy composer-installer built for Composer 1.x, it is likely to cause issues as you are running Composer 2.x.
The dependencies are wrong. I'm not sure why, because Pico's composer.json
is specifically pinning down Parsedown Extra 0.8.0-beta.1 - the installed Parsedown Extra 0.8.1 is not compatible with Parsedown 1.8.0-beta-7 (yeah, it's a total mess on Parsedown's side...). Not sure why Composer is doing this, it contradicts the version constraint. Can you please check the Pico version installed via Composer? Either check your composer.lock
and search for version
below the picocms/Pico
package, or check Pico's VERSION
constant in vendor/picocms/pico/lib/Pico.php
.
We did some research via IRC and it isn't reproducible. It looks like Composer sometimes chooses to install Pico v2.1.0 instead of the latest Pico 2.1 version (Pico 2.1.4 right now), causing the issues reported. After clearing caches it started working for @dipohl, too. Thank you very much for your time and help @dipohl! :heart:
So, for everyone else experiencing this issue: You can force Composer to install Pico v2.1.4 (or later - please check Pico's latest version first and update the following command accordingly). After you've executed composer create-project
change into Pico's install directory (cd /var/www/html/pico/
) and execute the following: composer require picocms/pico ^2.1.4
If this fails, too, use one of Pico's pre-bundled releases (instructions) instead. By using a pre-bundled release you end up with the exact same setup, i.e. you can still follow the "I've used Composer to install Pico" instructions later.
Duplicate of #525
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! :+1:
Environment:
Installation with composer
Got a blank page website and the following error messages in nginx error log: