Strona 1 z 1

instalacja pufferpanel

: 06 maja 2024, 17:26
autor: Maciu00
Witam.
Chciałem zainstalować PufferPanel, jednak niestety nie udało mi się to zrobić z powodu pewnego błędu, czy jest możliwość jakoś to naprawić?

Kod: Zaznacz cały

GNU nano 4.8                                                  2024-05-06T14-22-39.log                                                             
[DEBUG] 2024/05/06 14:22:39 Email template registered: emailChanged
[DEBUG] 2024/05/06 14:22:39 Email template registered: oauthCreated
[INFO] 2024/05/06 14:22:39 Could not open /proc/kallsyms to validate kernel support, falling back to temp file test
open /proc/kallsyms: no such file or directory
[ERROR] 2024/05/06 14:22:39 failed to validate kernel support with test file
function not implemented
goroutine 1 [running]:
runtime/debug.Stack()
        /opt/hostedtoolcache/go/1.22.1/x64/src/runtime/debug/stack.go:24 +0x5e
main.main.func1()
        /home/runner/work/pufferpanel/pufferpanel/cmd/main.go:36 +0x3f
panic({0x13cea40?, 0xc00004dce0?})
        /opt/hostedtoolcache/go/1.22.1/x64/src/runtime/panic.go:770 +0x132
github.com/pufferpanel/pufferpanel/v2.testOpenat2()
        /home/runner/work/pufferpanel/pufferpanel/kernel_linux.go:46 +0x48e
github.com/pufferpanel/pufferpanel/v2.DetermineKernelSupport()
        /home/runner/work/pufferpanel/pufferpanel/kernel.go:16 +0x57
main.internalRun(0xc000132540)
        /home/runner/work/pufferpanel/pufferpanel/cmd/run.go:127 +0x32e
main.executeRun(0xc00064ed00?, {0x157b52a?, 0x4?, 0x157b52e?})
        /home/runner/work/pufferpanel/pufferpanel/cmd/run.go:56 +0x32
github.com/spf13/cobra.(*Command).execute(0x210d720, {0x2acdba0, 0x0, 0x0})
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:920 +0x867
github.com/spf13/cobra.(*Command).ExecuteC(0x210d440)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:1044 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
        /home/runner/go/pkg/mod/github.com/spf13/cobra@v1.6.1/command.go:968
main.Execute()
        /home/runner/work/pufferpanel/pufferpanel/cmd/main.go:85 +0x5d
main.main()
        /home/runner/work/pufferpanel/pufferpanel/cmd/main.go:43 +0x70

Re: instalacja pufferpanel

: 06 maja 2024, 20:12
autor: mario_7
Nie wiem w jakim środowisku to uruchamiasz ,ale rzuć okiem tutaj: https://discuss.linuxcontainers.org/t/p ... s/16572/15

Re: instalacja pufferpanel

: 06 maja 2024, 20:33
autor: Maciu00
mario_7 pisze: 06 maja 2024, 20:12 Nie wiem w jakim środowisku to uruchamiasz ,ale rzuć okiem tutaj: https://discuss.linuxcontainers.org/t/p ... s/16572/15
Zrobiłem jak pan podlinkował i teraz mam inny błąd

Kod: Zaznacz cały

root@server-1706319-1:~# sudo apt-get install pufferpanel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  java-runtime-headless lib32gcc1
The following NEW packages will be installed:  pufferpanel
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 26.5 MB of archives.
After this operation, 0 B of additional disk
space will be used.
Get:1 https://packagecloud.io/pufferpanel/pufferpanel/ubuntu focal/main amd64 pu
fferpanel amd64 2.7.1 [26.5 MB]
Fetched 26.5 MB in 2s (14.3 MB/s)
Selecting previously unselected package pufferpanel.
(Reading database ... 29080 files and directories currently installed.)
Preparing to unpack .../pufferpanel_2.7.1_amd64.deb ...
Unpacking pufferpanel (2.7.1) ...
Setting up linux-image-5.4.0-177-generic (5.4.0-177.197) ...
Setting up pufferpanel (2.7.1) ...
Processing triggers for linux-image-5.4.0-177-generic (5.4.0-177.197) ...
/etc/kernel/postinst.d/apt-auto-removal:
run-parts: failed to exec /etc/kernel/postinst.d/apt-auto-removal: Exec format e
rror
run-parts: /etc/kernel/postinst.d/apt-auto-removal exited with return code 1
dpkg: error processing package linux-image-5.4.0-177-generic (--configure):
 installed linux-image-5.4.0-177-generic package post-installation script subpro
cess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.4.0-177-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@server-1706319-1:~# sudo pufferpanel user add
 ? Username: maciu
 ? Email: ****************@gmail.com
? Password: *************
 ? Confirm Password *************
 X Sorry, your reply was invalid: Passwords do not match
? Password: *******
 ? Confirm Password *******
 ? Admin Yes
User added
root@server-1706319-1:~# sudo systemctl enable --now pufferpanel
Created symlink /etc/systemd/system/multi-user.target.wants/pufferpanel.service → /lib/systemd/
system/pufferpanel.service.
root@server-1706319-1:~# sudo systemctl status fufferpanel
Unit fufferpanel.service could not be found.
root@server-1706319-1:~# sudo systemctl startfufferpanel
Unknown operation startfufferpanel.
root@server-1706319-1:~# sudo systemctl start fufferpanel
Failed to start fufferpanel.service: Unit fufferpanel.service not found.
root@server-1706319-1:~#

Re: instalacja pufferpanel

: 07 maja 2024, 13:46
autor: Maciu00
Czy istnieje jakiś inny sposób żeby pozbyć się tego błędu ??

Re: instalacja pufferpanel

: 07 maja 2024, 14:06
autor: Maciu00
Czy istnieje jakiś inny sposób żeby pozbyć się tego błędu ??

Re: instalacja pufferpanel

: 07 maja 2024, 16:23
autor: mario_7
Co znajduje się w pliku /etc/kernel/postinst.d/apt-auto-removal ?

Z kolei polecenia które wpisujesz są z literówkami więc nie dziwota, że nie działają. Zamiast "fufferpanel" powinno być raczej "pufferpanel".

Re: instalacja pufferpanel

: 07 maja 2024, 19:50
autor: Maciu00
mario_7 pisze: 07 maja 2024, 16:23 Co znajduje się w pliku /etc/kernel/postinst.d/apt-auto-removal ?

Z kolei polecenia które wpisujesz są z literówkami więc nie dziwota, że nie działają. Zamiast "fufferpanel" powinno być raczej "pufferpanel".
Pokazuje mi że plik jest pusty (otwieram go za po mocą nano).