YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

fix ynh_install_php #35

Closed yalh76 closed 5 years ago

yalh76 commented 5 years ago

to solve issue https://github.com/YunoHost-Apps/phpmyadmin_ynh/pull/86#issuecomment-484251574

Revision: 1c2b08f14d75fc43ece067106ec7cd1e2e9b56d7 Capture

lapineige commented 5 years ago

I can't upgrade to this version (from testing).

Unable to update core dependencies with Composer. again.

I suppose I need to do a fresh install ?

lapineige commented 5 years ago

I can confirm that removing Pixelfed solves the issue (at least the removing part is correct). I'll try a new install.

yalh76 commented 5 years ago

I can't upgrade to this version (from testing).

Unable to update core dependencies with Composer. again.

I suppose I need to do a fresh install ?

Do you have the logs of the failed upgrade to see what's happens ?

lapineige commented 5 years ago

After installing phpmyadmin then pixelfed (from this branch), both seems to work well together.

I guess it's fixed ?

lapineige commented 5 years ago

Ok I uninstalled phpmyadmin and pixelfed. Then I tried to install pixelfed, and I still have the same error message.

I also tested this in addition to #36 and #27, merged into master, same issue.

edit: The logs

COMPOSER_HOME=/var/www/pixelfed/.composer DEBUG - + php /var/www/pixelfed/composer.phar install --no-dev -d /var/www/pixelfed --quiet --no-interaction DEBUG - + ynh_die 'Unable to update core dependencies with Composer.' WARNING - Your requirements could not be resolved to an installable set of packages. DEBUG - + local legacy_args=mc WARNING - Unable to update core dependencies with Composer.

yalh76 commented 5 years ago

I've updated the composer. Installation might work now

lapineige commented 5 years ago

I confirm it works :slightly_smiling_face: