VM PixelFed (Update)
-
# cd /www/pixelfed/pixelfed # systemctl stop pixelfed # rm composer.lock ... # composer install --no-ansi --no-dev --no-interaction --no-progress --no-scripts --optimize-autoloader ... Generating optimized autoload files Class App\Rules\WebFinger located in ./app/Rules/Webfinger.php does not comply with psr-4 autoloading standard (rule: App\ => ./app). Skipping. 83 packages you are using are looking for funding. Use the `composer fund` command to find out more! # composer dump-autoload --optimize ... # php artisan config:cache INFO Configuration cached successfully. # php artisan route:cache INFO Routes cached successfully. # php artisan migrate --force INFO Running migrations. 2025_08_30_044247_fix_stories_table_set_view_counts_default ......................................................................... 77.42ms DONE # chown -R pixelfed:pixelfed /www/pixelfed/pixelfed/ # systemctl start pixelfedBref j’ai eu une erreur, si je regarde : ./app/Rules/Webfinger.php
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule;Si je regarde les namespace dans les PHP
# grep "^namespace" ./app/*/*.* | awk '{print $2}' | sort -n | uniq -c 1 App\Auth; 1 App\Console; 1 App\Events; 1 App\Exceptions; 1 App\Http; 2 App\Listeners; 19 App\Mail; 53 App\Models; 11 App\Observers; 1 App\Policies; 8 App\Providers; 6 App\Rules; 69 App\Services;Dans composer.json j’ai :
"psr-4": { "App\\": "app/" },je comprends pas le problème mais la mise à jours semble fonctionner.
-
Passage en Francais :

root@insta:/www/pixelfed/pixelfed# systemctl restart pixelfed root@insta:/www/pixelfed/pixelfed# php artisan config:cache INFO Configuration cached successfully. root@insta:/www/pixelfed/pixelfed# php artisan cache:clear INFO Application cache cleared successfully. root@insta:/www/pixelfed/pixelfed# systemctl restart pixelfed -
Mise à jours … toujours l’erreur … misère.
root@insta:/www/pixelfed/pixelfed# composer install --no-dev --optimize-autoloader Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? yes Installing dependencies from lock file Verifying lock file contents can be installed on current platform. Nothing to install, update or remove Generating optimized autoload files Class App\Rules\WebFinger located in ./app/Rules/Webfinger.php does not comply with psr-4 autoloading standard (rule: App\ => ./app). Skipping. > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi INFO Discovering packages. buzz/laravel-h-captcha ...................................................................................................................... DONE jenssegers/agent ............................................................................................................................ DONE laravel-notification-channels/expo .......................................................................................................... DONE laravel-notification-channels/webpush ....................................................................................................... DONE laravel/horizon ............................................................................................................................. DONE laravel/pulse ............................................................................................................................... DONE laravel/tinker .............................................................................................................................. DONE laravel/ui .................................................................................................................................. DONE livewire/livewire ........................................................................................................................... DONE nesbot/carbon ............................................................................................................................... DONE nunomaduro/termwind ......................................................................................................................... DONE pbmedia/laravel-ffmpeg ...................................................................................................................... DONE pixelfed/laravel-snowflake .................................................................................................................. DONE spatie/laravel-backup ....................................................................................................................... DONE spatie/laravel-image-optimizer .............................................................................................................. DONE spatie/laravel-signal-aware-command ......................................................................................................... DONE stevebauman/purify .......................................................................................................................... DONE 86 packages you are using are looking for funding. Use the `composer fund` command to find out more! root@insta:/www/pixelfed/pixelfed# php artisan migrate --force INFO Nothing to migrate. root@insta:/www/pixelfed/pixelfed# php artisan optimize:clear INFO Clearing cached bootstrap files. config ............................................................................................................................... 3.64ms DONE cache ............................................................................................................................... 15.94ms DONE compiled ............................................................................................................................. 3.16ms DONE events ............................................................................................................................... 1.82ms DONE routes ............................................................................................................................... 3.50ms DONE views ............................................................................................................................... 44.45ms DONE root@insta:/www/pixelfed/pixelfed# systemctl start pixelfed root@insta:/www/pixelfed/pixelfed# -
J’ai l’impression que je suis pas le seul :
[Admin]: Webfinger.php skipping when updating Pixelfed - psr-4 compliance · Issue #6133 · pixelfed/pixelfed
Description When updating pixelfed this warning comes up: Class app\Rules\WebFinger located in ./app/Rules/Webfinger.php does not comply with psr-4 autoloading standard (rule: App\ => ./app). Skipping. Nothing has been changed, this is s...
GitHub (github.com)
-
J’ai bien le dernier :
# composer self-update Upgrading to version 2.9.5 (stable channel). Use composer self-update --rollback to return to version 2.8.9
Bonjour ! Vous semblez intéressé par cette conversation, mais vous n’avez pas encore de compte.
Marre de refaire défiler les mêmes messages ? Créez un compte pour retrouver votre position, recevoir des notifications des nouvelles réponses, sauvegarder vos favoris et voter pour les messages que vous appréciez.
Grâce à votre participation, ce message peut devenir encore meilleur 💗
S'inscrire Se connecter