Aller directement au contenu
  • Catégories
  • Récent
  • Mots-clés
  • Populaire
  • Web
  • Utilisateurs
  • Groupes
Habillages
  • Clair
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Sombre
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Défaut (Darkly)
  • Aucun habillage
Réduire

NodeBB

  1. Accueil
  2. Announcements
  3. VM PixelFed (Update)

VM PixelFed (Update)

Planifié Épinglé Verrouillé Déplacé Announcements
updatepixelfed
5 Messages 1 Publieurs 62 Vues 1 Abonné
  • Du plus ancien au plus récent
  • Du plus récent au plus ancien
  • Les plus votés
Répondre
  • Répondre à l'aide d'un nouveau sujet
Se connecter pour répondre
Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
  • fariasF Hors-ligne
    fariasF Hors-ligne
    farias
    a écrit sur dernière édition par
    #1
    # 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 pixelfed
    

    Bref 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.

    1 réponse Dernière réponse
    0
    • fariasF Hors-ligne
      fariasF Hors-ligne
      farias
      a écrit sur dernière édition par
      #2

      Passage en Francais :

      image.png

      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
      
      
      1 réponse Dernière réponse
      0
      • fariasF Hors-ligne
        fariasF Hors-ligne
        farias
        a écrit sur dernière édition par
        #3

        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# 
        
        1 réponse Dernière réponse
        0
        • fariasF Hors-ligne
          fariasF Hors-ligne
          farias
          a écrit sur dernière édition par
          #4

          J’ai l’impression que je suis pas le seul :

          Link Preview Image
          [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...

          favicon

          GitHub (github.com)

          1 réponse Dernière réponse
          0
          • fariasF Hors-ligne
            fariasF Hors-ligne
            farias
            a écrit sur dernière édition par
            #5

            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
            
            
            1 réponse Dernière réponse
            0

            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
            Répondre
            • Répondre à l'aide d'un nouveau sujet
            Se connecter pour répondre
            • Du plus ancien au plus récent
            • Du plus récent au plus ancien
            • Les plus votés


            • Se connecter

            • Vous n'avez pas de compte ? S'inscrire

            • Connectez-vous ou inscrivez-vous pour faire une recherche.
            Powered by NodeBB Contributors
            • Premier message
              Dernier message
            0
            • Catégories
            • Récent
            • Mots-clés
            • Populaire
            • Web
            • Utilisateurs
            • Groupes