Skip to content

Arcade Plugin doesn't survive FPP upgrade in FPP9.x Alpha1 image #6

@patdelaney

Description

@patdelaney

If you load a Pi 4 with FPP 9 Alpha1 image then install FPP arcade plugin, if you upgrade FPP the arcage plugin reports errors in the upgrade window.

Steps to reproduce:
Install FPP 9Alpha1 image
Complete initial setup
Reboot
Grow disk
Reboot
Install Arcade plugin
Reboot
Test to see that game controller can be configured.

Upgrade FPP

Watch the progress window, the plugin errors out during rebuild

Building plugin /home/fpp/media/plugins/fpp-arcade
make: Entering directory '/home/fpp/media/plugins/fpp-arcade'
Building FPP on 'Raspberry Pi' platform
fatal: detected dubious ownership in repository at '/opt/fpp'
To add an exception for this directory, call:

	git config --global --add safe.directory /opt/fpp
ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src -fpic -DPLATFORM_PI -I. -std=gnu++23 -I/opt/fpp/src -c src/FPPArcade.cpp -o src/FPPArcade.o
ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src -fpic -DPLATFORM_PI -I. -std=gnu++23  -c src/FPPTetris.cpp -o src/FPPTetris.o
ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src -fpic -DPLATFORM_PI -I. -std=gnu++23  -c src/FPPPong.cpp -o src/FPPPong.o
ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src -fpic -DPLATFORM_PI -I. -std=gnu++23  -c src/FPPSnake.cpp -o src/FPPSnake.o
ccache: error: Failed to create directory /home/fpp/.cache/ccache/8/c: Permission denied
make: *** [/home/fpp/media/plugins/fpp-arcade/Makefile:15: src/FPPPong.o] Error 1
make: *** Waiting for unfinished jobs....
ccache: error: Failed to create directory /home/fpp/.cache/ccache/8/2: Permission denied
make: *** [/home/fpp/media/plugins/fpp-arcade/Makefile:15: src/FPPSnake.o] Error 1
ccache: error: Failed to create directory /home/fpp/.cache/ccache/d/d: Permission denied
make: *** [/home/fpp/media/plugins/fpp-arcade/Makefile:15: src/FPPTetris.o] Error 1
ccache: error: Failed to create directory /home/fpp/.cache/ccache/0/e: Permission denied
make: *** [/home/fpp/media/plugins/fpp-arcade/Makefile:15: src/FPPArcade.o] Error 1
make: Leaving directory '/home/fpp/media/plugins/fpp-arcade'
----------------------
Elapsed Time: 00:06:34
==========================================================================
Restarting fppd...
==========================================================================
Upgrade Complete.

You need to uninstall the plugin and reinstall after the upgrade. This was not the behavior in previous versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions