¿Fontawesome roto después de la actualización?

Eliminé el raise_on_fail: false y luego la reconstrucción falló con esto:

I, [2026-01-04T17:38:39.450544 #1]  INFO -- : > cd /var/www/discourse/plugins/discourse-fontawesome-pro && /var/www/discourse/plugins/discourse-fontawesome-pro/scripts/install.sh
fatal: detected dubious ownership in repository at '/var/www/discourse'
To add an exception for this directory, call:

	git config --global --add safe.directory /var/www/discourse
 ERROR  Error during pnpmfile execution. pnpmfile: "/var/www/discourse/.pnpmfile.cjs". Error: "Command failed: git clean -f -X app/assets/javascripts
fatal: detected dubious ownership in repository at '/var/www/discourse'
To add an exception for this directory, call:

	git config --global --add safe.directory /var/www/discourse
".
For help, run: pnpm help install
I, [2026-01-04T17:38:40.142946 #1]  INFO -- : [.pnpmfile.cjs] Detected old app/assets/javascripts directory. Cleaning up gitignored files...



FAILED
--------------------
Pups::ExecError: cd /var/www/discourse/plugins/discourse-fontawesome-pro && /var/www/discourse/plugins/discourse-fontawesome-pro/scripts/install.sh failed with return #<Process::Status: pid 246 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
exec failed with the params {"cd"=>"$home/plugins/discourse-fontawesome-pro", "cmd"=>["$home/plugins/discourse-fontawesome-pro/scripts/install.sh"]}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
be6b0968a3bab273e52bd1927a6c3dac611a9e6103c75fa7ce8ea9b85ea3e233
x86_64 arch detected.
755bbed4f3cf
Nothing to do, your container has already started!

Así que hice esto:

    - exec:
        cd: $home/plugins/discourse-fontawesome-pro
        cmd:
          - git config --global --add safe.directory /var/www/discourse
          - $home/plugins/discourse-fontawesome-pro/scripts/install.sh

Lo que luego reconstruyó con éxito y ¡he vuelto al negocio!

3 Me gusta