News:

LATEST RELEASE:  FPP 7.5 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/7.5

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16446
Latest: josh19002
New This Month: 17
New This Week: 3
New Today: 1
Stats
Total Posts: 132570
Total Topics: 16437
Most Online Today: 160
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 126
Total: 126

FPP 7.x on Ubuntu Server 22.04.3 LTS

Started by GregMM, October 22, 2023, 02:54:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GregMM

This is what worked for me running as VM in ProxMox if anyone is having issues trying to install

create user during install: tempuser
login as tempuser
sudo -i                  #switch to root
passwd                 #create a root password
#reboot / make sure you  can login as root before deleting temp user
deluser tempuser
rm -r /home/tempuser

apt-get install qemu-guest-agent acpid    #optional if running in ProxMox / qemu based VM
# not sure if the below are necessary (helped when trying to get the install script to run on debian so ran them before attempting to install on ubuntu)
apt-get install autopoint
apt-get install flex
apt-get install ccache
apt-get install build-essential

wget -O ./FPP_Install.sh https://raw.githubusercontent.com/FalconChristmas/fpp/master/SD/FPP_Install.sh
chmod 700 ./FPP_Install.sh
./FPP_Install.sh

Maht87

This is great info!  I used this to spin up an FPP VM in Proxmox and it's a game changer over running on a Pi/BBB.

darkman28

Quote from: GregMM on October 22, 2023, 02:54:23 PMThis is what worked for me running as VM in ProxMox if anyone is having issues trying to install

create user during install: tempuser
login as tempuser
sudo -i                  #switch to root
passwd                #create a root password
#reboot / make sure you  can login as root before deleting temp user
deluser tempuser
rm -r /home/tempuser

apt-get install qemu-guest-agent acpid    #optional if running in ProxMox / qemu based VM
# not sure if the below are necessary (helped when trying to get the install script to run on debian so ran them before attempting to install on ubuntu)
apt-get install autopoint
apt-get install flex
apt-get install ccache
apt-get install build-essential

wget -O ./FPP_Install.sh https://raw.githubusercontent.com/FalconChristmas/fpp/master/SD/FPP_Install.sh
chmod 700 ./FPP_Install.sh
./FPP_Install.sh
I've used this on two different PC's and everything installs and comes up as it is running but I can't access the web UI. I know the IP, I'm on the same subnet, I can ping it, I can SSH into it, from the local interface I can log in and ping IP's. just the web interface says connection refused. standard and secure.

what is the service that handles the web UI and how can I check that it is running from the command line. 

CaptainMurdoch

Quote from: darkman28 on January 20, 2024, 06:54:32 PMwhat is the service that handles the web UI and how can I check that it is running from the command line.

Apache is the web server and you should see multiple /usr/sbin/apache2 processes in the process list on a working system. 
-
Chris

darkman28

my problem turned out to be not having the sources.list have anything but the install CD. Needed to add entries for the online repositories before running the ./FPP_Install.sh details at the link below.

https://wiki.debian.org/SourcesList

darkman28

I added these to my /etc/apt/sources.list

deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main

deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main

This applies to Debian 11 (bullseye)
if you are using Debian 12 (bookworm) than you need

deb http://deb.debian.org/debian bookworm main non-free-firmware
deb-src http://deb.debian.org/debian bookworm main non-free-firmware

deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware

deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware


kevs_oc

I've tried the install script on both Debian 12 and Ubuntu 22.04. Both fail during the fpp compile. I've run the additional apt commands as suggested for both operating systems but the error is still the same:
/opt/fpp/src/mediaoutput/SDLOut.cpp: In constructor 'SDLOutput::SDLOutput(const std::string&, MediaOutputStatus*, const std::string&)':


/opt/fpp/src/mediaoutput/SDLOut.cpp:1025:92: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations]


 1025 |        int64_t in_channel_layout = av_get_default_channel_layout(data->audioCodecContext->channels);


      |                                                                                            ^~~~~~~~


In file included from /opt/fpp/src/mediaoutput/SDLOut.cpp:22:


/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here


 1006 |    int channels;


      |        ^~~~~~~~


/opt/fpp/src/mediaoutput/SDLOut.cpp:1025:92: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations]


 1025 |        int64_t in_channel_layout = av_get_default_channel_layout(data->audioCodecContext->channels);


      |                                                                                            ^~~~~~~~


/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here


 1006 |    int channels;


      |        ^~~~~~~~


/opt/fpp/src/mediaoutput/SDLOut.cpp:1025:92: warning: 'AVCodecContext::channels' is deprecated [-Wdeprecated-declarations]


 1025 |        int64_t in_channel_layout = av_get_default_channel_layout(data->audioCodecContext->channels);


      |                                                                                            ^~~~~~~~


/usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:1006:9: note: declared here


 1006 |    int channels;


      |        ^~~~~~~~


/opt/fpp/src/mediaoutput/SDLOut.cpp:1025:66: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated [-Wdeprecated-declarations]


 1025 |        int64_t in_channel_layout = av_get_default_channel_layout(data->audioCodecContext->channels);


      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


In file included from /usr/include/aarch64-linux-gnu/libavutil/frame.h:33,


                from /usr/include/aarch64-linux-gnu/libavcodec/avcodec.h:35:


/usr/include/aarch64-linux-gnu/libavutil/channel_layout.h:457:9: note: declared here


  457 | int64_t av_get_default_channel_layout(int nb_channels);


      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


/opt/fpp/src/mediaoutput/SDLOut.cpp:1032:50: warning: 'SwrContext* swr_alloc_set_opts(SwrContext*, int64_t, AVSampleFormat, int, int64_t, AVSampleFormat, int, int, void*)' is deprecated [-Wdeprecated-declarations]


 1032 |        data->au_convert_ctx = swr_alloc_set_opts(nullptr,


      |                                ~~~~~~~~~~~~~~~~~~^~~~~~~~~


 1033 |                                                  out_channel_layout, out_sample_fmt, out_sample_rate,


      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


 1034 |                                                  in_channel_layout, data->audioCodecContext->sample_fmt,


      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


 1035 |                                                  data->audioCodecContext->sample_rate, 0, nullptr);


      |                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


In file included from /opt/fpp/src/mediaoutput/SDLOut.cpp:24:


/usr/include/aarch64-linux-gnu/libswresample/swresample.h:260:20: note: declared here


  260 | struct SwrContext *swr_alloc_set_opts(struct SwrContext *s,


      |                    ^~~~~~~~~~~~~~~~~~


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/NetworkMonitor.cpp -o NetworkMonitor.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/ping.cpp -o ping.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/Player.cpp -o Player.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/OutputMonitor.cpp -o OutputMonitor.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23 -I/usr/include/libdrm  -c /opt/fpp/src/overlays/PixelOverlay.cpp -o overlays/PixelOverlay.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/PixelOverlayEffects.cpp -o overlays/PixelOverlayEffects.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/PixelOverlayModel.cpp -o overlays/PixelOverlayModel.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23 -I/usr/include/libdrm -c /opt/fpp/src/overlays/PixelOverlayModelFB.cpp -o overlays/PixelOverlayModelFB.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/PixelOverlayModelSub.cpp -o overlays/PixelOverlayModelSub.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/WLEDEffects.cpp -o overlays/WLEDEffects.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/colors.cpp -o overlays/wled/colors.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23 -Wno-deprecated-declarations -c /opt/fpp/src/overlays/wled/FX.cpp -o overlays/wled/FX.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23 -Wno-deprecated-declarations -Wno-format -Wno-tautological-constant-out-of-range-compare -c /opt/fpp/src/overlays/wled/FX_fcn.cpp -o overlays/wled/FX_fcn.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/FX_2Dfcn.cpp -o overlays/wled/FX_2Dfcn.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/colorpalettes.cpp -o overlays/wled/colorpalettes.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/colorutils.cpp -o overlays/wled/colorutils.o


ccache gcc -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN  -c /opt/fpp/src/overlays/wled/kiss_fftr.c -o overlays/wled/kiss_fftr.o


ccache gcc -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN  -c /opt/fpp/src/overlays/wled/kiss_fft.c -o overlays/wled/kiss_fft.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/noise.cpp -o overlays/wled/noise.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/hsv2rgb.cpp -o overlays/wled/hsv2rgb.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/overlays/wled/wled.cpp -o overlays/wled/wled.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/playlist/Playlist.cpp -o playlist/Playlist.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/playlist/PlaylistEntryBase.cpp -o playlist/PlaylistEntryBase.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/playlist/PlaylistEntryBoth.cpp -o playlist/PlaylistEntryBoth.o


ccache g++ -fpch-preprocess -O3 -Wno-psabi -pipe -I /opt/fpp/src/ -fpic -DPLATFORM_DEBIAN -std=gnu++23  -c /opt/fpp/src/playlist/PlaylistEntryBranch.cpp -o playlist/PlaylistEntryBranch.o


{standard input}: Assembler messages:


{standard input}:44125: Warning: end of file not at end of a line; newline inserted


{standard input}:45883: Error: invalid expression in the address at operand 2 -- `ldr w20,[x0,'


{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive


g++: fatal error: Killed signal terminated program cc1plus


compilation terminated.


make: *** [Makefile:83: overlays/wled/FX.o] Error 1


make: *** Waiting for unfinished jobs....


=========================================================


FPP Install Complete.


Started : Sun Feb  4 21:11:56 UTC 2024


Finished: Sun Feb  4 23:09:39 UTC 2024


=========================================================


You can reboot the system by changing to the 'fpp user with the


password 'falcon' and running the shutdown command.





su - fpp


sudo shutdown -r now





NOTE: If you are prepping this as an image for release,


remove the SSH keys before shutting down so they will be


rebuilt during the next boot.





su - fpp


sudo rm -rf /etc/ssh/ssh_host*key*


sudo shutdown -r now


=========================================================



Powered by EzPortal
Powered by SMFPacks Menu Editor Mod