Nowa instalacja na Orange PI


Topic author
wicio1984
Posty: 24
Rejestracja: sob lip 13, 2019 9:24 pm

Nowa instalacja na Orange PI

#1

Post autor: wicio1984 » pn lip 22, 2019 9:25 pm

Cześć.

Zachciało mi się instalacji na nowo i niestety nie działa.
root@orangepipcplus:~# mkdir -p /var/www/nettemp && cd /var/www
root@orangepipcplus:/var/www# apt-get update && apt-get install -y git
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:2 https://apt.armbian.com stretch InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.11.0-3+deb9u4).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
root@orangepipcplus:/var/www# git clone https://github.com/mariano78/nettemp
Cloning into 'nettemp'...
remote: Enumerating objects: 30778, done.
remote: Total 30778 (delta 0), reused 0 (delta 0), pack-reused 30778
Receiving objects: 100% (30778/30778), 7.98 MiB | 4.28 MiB/s, done.
Resolving deltas: 100% (21731/21731), done.
root@orangepipcplus:/var/www# cd nettemp && git checkout betamm && ./install_nettemp
Already on 'betamm'
Your branch is up-to-date with 'origin/betamm'.
Hit:2 http://security.debian.org stretch/updates InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
Hit:5 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:1 https://apt.armbian.com stretch InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.3-cgi
E: Couldn't find any package by glob 'php7.3-cgi'
E: Couldn't find any package by regex 'php7.3-cgi'
E: Unable to locate package php7.3-sqlite3
E: Couldn't find any package by glob 'php7.3-sqlite3'
E: Couldn't find any package by regex 'php7.3-sqlite3'
E: Unable to locate package php7.3-fpm
E: Couldn't find any package by glob 'php7.3-fpm'
E: Couldn't find any package by regex 'php7.3-fpm'
E: Unable to locate package php7.3-curl
E: Couldn't find any package by glob 'php7.3-curl'
E: Couldn't find any package by regex 'php7.3-curl'
E: Unable to locate package php7.3-mysql
E: Couldn't find any package by glob 'php7.3-mysql'
E: Couldn't find any package by regex 'php7.3-mysql'
E: Unable to locate package php7.3-snmp
E: Couldn't find any package by glob 'php7.3-snmp'
E: Couldn't find any package by regex 'php7.3-snmp'
E: Unable to locate package php7.3-xml
E: Couldn't find any package by glob 'php7.3-xml'
E: Couldn't find any package by regex 'php7.3-xml'
[ ok ] packages
[ ok ] 1wire
[ ok ] DHT
[ ok ] GPIO
[ ok ] I2C
[ ok ] FW
[ ok ] SDM120
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/apcupsd/apcupsd.conf: No such file or directory
sed: can't read /etc/default/apcupsd: No such file or directory
sed: can't read /etc/apcupsd/onbattery: No such file or directory
sed: can't read /etc/apcupsd/offbattery: No such file or directory
[ ok ] WWW
[ ok ] Cron
fatal: destination path 'Adafruit_Python_BMP' already exists and is not an empty directory.
Extracting in /tmp/tmp0tkoCk
Traceback (most recent call last):
File "setup.py", line 4, in <module>
use_setuptools()
File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 128, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 108, in _do_download
_build_egg(egg, archive, to_dir)
File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 57, in _build_egg
with archive_context(archive_filename):
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 88, in archive_context
with get_zip_class()(filename) as archive:
File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
self._RealGetContents()
File "/usr/lib/python2.7/zipfile.py", line 813, in _RealGetContents
raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
Cloning into 'Adafruit_Python_DHT'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 317 (delta 2), reused 5 (delta 1), pack-reused 308
Receiving objects: 100% (317/317), 95.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (170/170), done.
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup, find_packages, Extension
ImportError: No module named setuptools
sed: can't read /etc/php/7.3/fpm/php.ini: No such file or directory
sed: can't read /etc/php/7.3/cli/php.ini: No such file or directory
chmod: cannot access '/var/log/smstools/smsd.log': No such file or directory
2019-07-22 19:09:08 nettemp database update: ok
Update 2017-05-04 20:00:00 is NOT applied. Applying...
Update 2017-05-10 19:25:15 is NOT applied. Applying...
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Update 2019-07-15 09:00:33 is NOT applied. Applying...
Update 2019-07-15 09:00:35 is NOT applied. Applying...
Nettemp DB update OK
[ error ] Services
root@orangepipcplus:/var/www/nettemp#

Co to może być?
Awatar użytkownika

pasiekazj
Twórca oprogramowania
Posty: 242
Rejestracja: pn lip 01, 2019 12:08 pm
Otrzymał  piwo: 16 razy
Kontakt:

Re: Nowa instalacja na Orange PI

#2

Post autor: pasiekazj » pn lip 22, 2019 9:41 pm

Bo na stretchu nie pójdzie php 7.3. Albo buster albo musisz zapodać php niższe
Rpi 4 + SSD 240 GB + nettemp.
http://mmsite.pl

Topic author
wicio1984
Posty: 24
Rejestracja: sob lip 13, 2019 9:24 pm

Re: Nowa instalacja na Orange PI

#3

Post autor: wicio1984 » pn lip 22, 2019 9:53 pm

Po wykonaniu ze strony
https://tecadmin.net/install-php-debian-9-stretch/
Zainstalowało do końca a po drodze

Kod: Zaznacz cały

[ ok ] SDM120
[ ok ] WWW
[ ok ] Cron
fatal: destination path 'Adafruit_Python_BMP' already exists and is not an empty directory.
Extracting in /tmp/tmppN8ebc
Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    use_setuptools()
  File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 128, in use_setuptools
    return _do_download(version, download_base, to_dir, download_delay)
  File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 108, in _do_download
    _build_egg(egg, archive, to_dir)
  File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 57, in _build_egg
    with archive_context(archive_filename):
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/tmp/Adafruit_Python_BMP/ez_setup.py", line 88, in archive_context
    with get_zip_class()(filename) as archive:
  File "/usr/lib/python2.7/zipfile.py", line 770, in __init__
    self._RealGetContents()
  File "/usr/lib/python2.7/zipfile.py", line 813, in _RealGetContents
    raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
fatal: destination path 'Adafruit_Python_DHT' already exists and is not an empty directory.
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup, find_packages, Extension
ImportError: No module named setuptools
2019-07-22 20:01:34 nettemp database update: ok
Update 2017-05-04 20:00:00 is NOT applied. Applying...
i podało login i hasło lecz po wejściu na stronę komunikat
404 - Not Found
Ostatnio zmieniony pn lip 22, 2019 10:08 pm przez wicio1984, łącznie zmieniany 1 raz.
Awatar użytkownika

pasiekazj
Twórca oprogramowania
Posty: 242
Rejestracja: pn lip 01, 2019 12:08 pm
Otrzymał  piwo: 16 razy
Kontakt:

Re: Nowa instalacja na Orange PI

#4

Post autor: pasiekazj » pn lip 22, 2019 10:05 pm

w katalogu install masz plik packages, muszisz przeedytować i zamienić wszystkie 7.3 na 7.2 i dopiero puścic instalkę
Rpi 4 + SSD 240 GB + nettemp.
http://mmsite.pl

Topic author
wicio1984
Posty: 24
Rejestracja: sob lip 13, 2019 9:24 pm

Re: Nowa instalacja na Orange PI

#5

Post autor: wicio1984 » pn lip 22, 2019 10:42 pm

Oki dzięki.

Ze strony zainstalowałem PhP7.2 i jeszcze raz instalacje nettemp i poszło.
w katalogu nie znalazłem pliku packages.
Awatar użytkownika

divest
Posty: 16
Rejestracja: wt lip 09, 2019 10:33 am

Re: Nowa instalacja na Orange PI

#6

Post autor: divest » wt lip 23, 2019 9:11 am

/var/www/nettemp/install/apt/package_list

Topic author
wicio1984
Posty: 24
Rejestracja: sob lip 13, 2019 9:24 pm

Re: Nowa instalacja na Orange PI

#7

Post autor: wicio1984 » śr lip 24, 2019 7:34 am

divest pisze:/var/www/nettemp/install/apt/package_list
Dziękuję.

Wysłane z mojego Redmi Note 4 przy użyciu Tapatalka

ODPOWIEDZ