Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> VPS w ovh, virtualmin i błąd w instalacji wordpressa
red9
post 22.04.2020, 09:56:27
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


Taki błąd wyskakuje na świeżej instalacji vps z virtualmin w ovh. Jestem laikiem w tym temacie



https://prnt.sc/s3tvuk 
 
Go to the top of the page
+Quote Post
Pyton_000
post 22.04.2020, 11:38:34
Post #2





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


Próbowałeś `apt-get update`
Go to the top of the page
+Quote Post
red9
post 22.04.2020, 15:01:27
Post #3





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


Tak jak napisałem jestem w tym zielony, ale na home i nazwie udalo mi sie wszystko uruchomic, tutaj jest jakas tragedia, nic nie dziala

http://security.debian.org jessie/updates InRelease
Hit http://software.virtualmin.com virtualmin-jessie InRelease
Hit http://software.virtualmin.com virtualmin-universal InRelease
Get:1 http://security.debian.org jessie/updates/main Sources [346 kB]
Err https://packages.sury.org jessie InRelease

Ign http://debian.mirrors.ovh.net jessie InRelease
Get:2 http://debian.mirrors.ovh.net jessie-updates InRelease [16.3 kB]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [765 kB]
Get:4 http://security.debian.org jessie/updates/main Translation-en [392 kB]
Hit http://software.virtualmin.com virtualmin-jessie/main amd64 Packages
Get:5 http://debian.mirrors.ovh.net jessie Release.gpg [1,652 B]
Get:6 http://debian.mirrors.ovh.net jessie-updates/main Sources [20 B]
Get:7 http://debian.mirrors.ovh.net jessie-updates/main amd64 Packages [20 B]
Hit http://software.virtualmin.com virtualmin-universal/main amd64 Packages
Get:8 http://debian.mirrors.ovh.net jessie-updates/main Translation-en [14 B]
Get:9 http://debian.mirrors.ovh.net jessie Release [77.3 kB]
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en_US
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en_US
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en
Get:10 http://debian.mirrors.ovh.net jessie/main Sources [7,063 kB]
Get:11 http://debian.mirrors.ovh.net jessie/main amd64 Packages [6,818 kB]
Get:12 http://debian.mirrors.ovh.net jessie/main Translation-en [4,581 kB]
Fetched 102 kB in 7s (14.3 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743

W: Failed to fetch https://packages.sury.org/php/dists/jessie/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.
">apt-get update
Hit http://security.debian.org jessie/updates InRelease
Hit http://software.virtualmin.com virtualmin-jessie InRelease
Hit http://software.virtualmin.com virtualmin-universal InRelease
Get:1 http://security.debian.org jessie/updates/main Sources [346 kB]
Err https://packages.sury.org jessie InRelease

Ign http://debian.mirrors.ovh.net jessie InRelease
Get:2 http://debian.mirrors.ovh.net jessie-updates InRelease [16.3 kB]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [765 kB]
Get:4 http://security.debian.org jessie/updates/main Translation-en [392 kB]
Hit http://software.virtualmin.com virtualmin-jessie/main amd64 Packages
Get:5 http://debian.mirrors.ovh.net jessie Release.gpg [1,652 B]
Get:6 http://debian.mirrors.ovh.net jessie-updates/main Sources [20 B]
Get:7 http://debian.mirrors.ovh.net jessie-updates/main amd64 Packages [20 B]
Hit http://software.virtualmin.com virtualmin-universal/main amd64 Packages
Get:8 http://debian.mirrors.ovh.net jessie-updates/main Translation-en [14 B]
Get:9 http://debian.mirrors.ovh.net jessie Release [77.3 kB]
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en_US
Ign http://software.virtualmin.com virtualmin-jessie/main Translation-en
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en_US
Ign http://software.virtualmin.com virtualmin-universal/main Translation-en
Get:10 http://debian.mirrors.ovh.net jessie/main Sources [7,063 kB]
Get:11 http://debian.mirrors.ovh.net jessie/main amd64 Packages [6,818 kB]
Get:12 http://debian.mirrors.ovh.net jessie/main Translation-en [4,581 kB]
Fetched 102 kB in 7s (14.3 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743

W: Failed to fetch https://packages.sury.org/php/dists/jessie/InRelease

W: Some index files failed to download. They have been ignored, or old ones used instead.



Straciłem już na to 3 dni i dostaję białej gorączki.

Chciałem wygenerować ssl przez lets encrypt dla domeny i wyskakuje błąd:

https://prnt.sc/s3vj1z

postanowiłem w takim razie wkleić ręcznie certyifat i też wyskakuje błąd!
https://prnt.sc/s3vfwy

Jest ktoś w stanie mi pomóc? Może być i odpłatnie jak najbardziej.
Go to the top of the page
+Quote Post
Tomplus
post 22.04.2020, 21:45:13
Post #4





Grupa: Zarejestrowani
Postów: 1 828
Pomógł: 225
Dołączył: 20.03.2005
Skąd: Będzin

Ostrzeżenie: (0%)
-----


też mam na OVH serwer VPS i nie mam tego problemu.
Wersja Debian 9 i 10.

Zrobiłem teraz aktualizację PHP i o to fragment:
Kod
Pobieranie:47 https://packages.sury.org/php stretch/main amd64 php7.2-gd amd64 7.2.30-1+0~20200419.40+debian9~1.gbpb1b799 [26,8 kB]
Pobieranie:48 https://packages.sury.org/php stretch/main amd64 libapache2-mod-php7.2 amd64 7.2.30-1+0~20200419.40+debian9~1.gbpb1b799 [1336 kB]
Pobieranie:49 https://packages.sury.org/php stretch/main amd64 php7.2-cli amd64 7.2.30-1+0~20200419.40+debian9~1.gbpb1b799 [1392 kB]


Polecenia proste:
Kod
]apt update
apt upgrade


Dlatego może warto sprawdzić czy masz wszystkie sterowniki i autoryzować jeszcze raz klucz qpq do serwera sury.org

Kod
apt-get -y install apt-transport-https lsb-release ca-certificates curl
wget -O /etc/apt/trusted.gpg.d/php.gpg [url="https://packages.sury.org/php/apt.gpg"]https://packages.sury.org/php/apt.gpg[/url]
sh -c 'echo "deb [url="https://packages.sury.org/php/"]https://packages.sury.org/php/[/url] $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
apt-get update


Ten post edytował Tomplus 22.04.2020, 21:45:31
Go to the top of the page
+Quote Post
red9
post 23.04.2020, 04:40:03
Post #5





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


dziękuję Panowie za chęć pomocy, wykonałem wszystkie formułki i po wykonaniu tej ostatniej, wykonałem ponownie te poprzedzające:

tutaj kod:
https://paste.ofcode.org/HiB9E5AEsHQgTtc8PmTKRD

System to debian linux 8



próbowałem wygooglować problem i naprawić to ale wyskakują kolejne komunikaty:
root@vps820511:~# sudo apt-get update ?fix-missing
E: The update command takes no arguments


Ten post edytował red9 23.04.2020, 04:47:02
Go to the top of the page
+Quote Post
Tomplus
post 23.04.2020, 05:14:52
Post #6





Grupa: Zarejestrowani
Postów: 1 828
Pomógł: 225
Dołączył: 20.03.2005
Skąd: Będzin

Ostrzeżenie: (0%)
-----


Próbowałeś zrobić aktualizację Debiana do min. 9 Stretch? Bo wygląda tak jakby nie było plików w repozytorium bibliotek dla twojej wersji.


Go to the top of the page
+Quote Post
red9
post 23.04.2020, 06:31:48
Post #7





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


Cytat(Tomplus @ 23.04.2020, 05:14:52 ) *
Próbowałeś zrobić aktualizację Debiana do min. 9 Stretch? Bo wygląda tak jakby nie było plików w repozytorium bibliotek dla twojej wersji.


nigdy tego nie robiłem, wyszukałem na yt instrukcję i dotarłem do tego momentu
https://youtu.be/Kg8CSdc0YAA?t=569

sudo vim /etc/apt/sources.list
sudo: vim: command not found


edit: znalazlem inny sposob na edycje tego i robie aktualizacje

edit2: przy punkcie sudo apt-get update pod koniec wyskoczyl mi taki blad:

Kod
Get:13 [url="http://debian.mirrors.ovh.net"]http://debian.mirrors.ovh.net[/url] stretch/main Sources [6,753 kB]
Get:14 [url="http://debian.mirrors.ovh.net"]http://debian.mirrors.ovh.net[/url] stretch/main amd64 Packages [7,083 kB]
Get:15 [url="http://debian.mirrors.ovh.net"]http://debian.mirrors.ovh.net[/url] stretch/main Translation-en [5,381 kB]
Fetched 20.6 MB in 3min 44s (91.6 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not up                    dated and the previous index files will be used. GPG error: [url="https://packages.sur"]https://packages.sur[/url]                    y.org jessie InRelease: The following signatures couldn't be verified because th                    e public key is not available: NO_PUBKEY B188E2B695BD4743

W: Failed to fetch [url="https://packages.sury.org/php/dists/jessie/InRelease"]https://packages.sury.org/php/dists/jessie/InRelease[/url]

W: Some index files failed to download. They have been ignored, or old ones used                     instead.
W: Duplicate sources.list entry [url="http://software.virtualmin.com/vm/6/gpl/apt/"]http://software.virtualmin.com/vm/6/gpl/apt/[/url] vir                    tualmin-stretch/main amd64 Packages (/var/lib/apt/lists/software.virtualmin.com_                    vm_6_gpl_apt_dists_virtualmin-stretch_main_binary-amd64_Packages)


tak wyglada moj sources.list:

czy pierwsze dwa rekordy tez maja byc w jakis sposob edytowane?

Kod
#

# deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jes$

#deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jess$

deb http://debian.mirrors.ovh.net/debian stretch main
deb-src http://debian.mirrors.ovh.net/debian stretch main

deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main

# jessie-updates, previously known as 'volatile'
deb http://debian.mirrors.ovh.net/debian stretch-updates main
deb-src http://debian.mirrors.ovh.net/debian stretch-updates main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-stretch main
deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-stretch main


Ten post edytował red9 23.04.2020, 06:46:25
Go to the top of the page
+Quote Post
viking
post 23.04.2020, 11:41:05
Post #8





Grupa: Zarejestrowani
Postów: 6 365
Pomógł: 1114
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


Sam widzisz że masz zdublowany ostatni wpis o czym informuje komunikat. Z edytorów masz zapewne vi albo nano. Ogóle dobrze by było ogarniać chociaż podstawy linuksa skoro stawiasz cały serwer.


--------------------
Go to the top of the page
+Quote Post
red9
post 23.04.2020, 13:51:14
Post #9





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


Cytat(viking @ 23.04.2020, 12:41:05 ) *
Sam widzisz że masz zdublowany ostatni wpis o czym informuje komunikat. Z edytorów masz zapewne vi albo nano. Ogóle dobrze by było ogarniać chociaż podstawy linuksa skoro stawiasz cały serwer.


komunikat informuje o kilku błędach, rozumiem, że jak tylko to poprawię to powinno ruszyć? Ja kupowałem VPSa z oprogramowaniem virtualmin gotowym do działania, nigdy moim zamiarem nie było stawianie serwera. Pierwszy raz chyba spotykam się z takim produktem, że coś kupuję i nic nie działa, a każdy błąd jaki wyskakuję to sprawdzając naprawienie go na youtube mam do obejrzenia 15 minutowy filmik.
Go to the top of the page
+Quote Post
Pyton_000
post 25.04.2020, 20:03:20
Post #10





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


to jest czysty vps czy juz cos na nim lata?
Go to the top of the page
+Quote Post
red9
post 27.04.2020, 12:22:15
Post #11





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 7.07.2010

Ostrzeżenie: (0%)
-----


był zamawiany z virtualmin nic poza tym, temat można zamknąć już zrezygnowałem z tego
Go to the top of the page
+Quote Post
Pyton_000
post 28.04.2020, 20:42:57
Post #12





Grupa: Zarejestrowani
Postów: 8 068
Pomógł: 1414
Dołączył: 26.10.2005

Ostrzeżenie: (0%)
-----


No to jeśli to był czysty vps w miarę to bym po prostu przeinstalował go na nowego debiana/ubuntu/centos (w zależności co ogarniasz jakotako) i potem zrobił to tak jak powinno być.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 28.03.2024 - 22:27