YunoHost-Apps / flask_ynh

Flask template for YunoHost
6 stars 9 forks source link

[VPS] install KO #7

Closed isAAAc closed 2 years ago

isAAAc commented 5 years ago
# yunohost -v
yunohost: 
  repo: stable
  version: 3.2.2
yunohost-admin: 
  repo: stable
  version: 3.2.1
moulinette: 
  repo: stable
  version: 3.2.0
ssowat: 
  repo: stable
  version: 3.2.0

https://paste.yunohost.org/raw/tezevisaki


2018-10-18 20:04:54,974: DEBUG - + configure_app
2018-10-18 20:04:54,975: WARNING - No passwd entry for user 'postgres'
2018-10-18 20:04:54,975: DEBUG - + ynh_webpath_register flask emancipahost.nohost.me /flask
2018-10-18 20:05:04,331: DEBUG - dpkg: flask-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2018-10-18 20:05:04,331: DEBUG -  flask-ynh-deps dépend de python3-dev ; cependant :
2018-10-18 20:05:04,331: DEBUG -   Le paquet python3-dev n'est pas installé.
2018-10-18 20:05:04,331: DEBUG -  flask-ynh-deps dépend de python3-pip ; cependant :
2018-10-18 20:05:04,332: DEBUG -   Le paquet python3-pip n'est pas installé.
2018-10-18 20:05:04,332: DEBUG -  flask-ynh-deps dépend de postgresql ; cependant :
2018-10-18 20:05:04,332: DEBUG -   Le paquet postgresql n'est pas installé.
2018-10-18 20:05:04,332: DEBUG -  flask-ynh-deps dépend de postgresql-9.4 ; cependant :
2018-10-18 20:05:04,333: DEBUG -   Le paquet postgresql-9.4 n'est pas installé.
2018-10-18 20:05:04,333: DEBUG -  flask-ynh-deps dépend de postgresql-server-dev-9.4 ; cependant :
2018-10-18 20:05:04,333: DEBUG -   Le paquet postgresql-server-dev-9.4 n'est pas installé.
2018-10-18 20:05:04,333: DEBUG - 
2018-10-18 20:05:04,334: DEBUG - Paramétrage de flask-ynh-deps (20171209) ...
2018-10-18 20:05:04,634: DEBUG - + ynh_package_install -f
2018-10-18 20:05:04,635: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2018-10-18 20:05:04,635: DEBUG - + DEBIAN_FRONTEND=noninteractive
2018-10-18 20:05:04,635: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2018-10-18 20:05:04,937: DEBUG - Lecture des listes de paquets…
2018-10-18 20:05:05,137: DEBUG - Construction de l'arbre des dépendances…
2018-10-18 20:05:05,138: DEBUG - Lecture des informations d'état…
2018-10-18 20:05:05,238: DEBUG - Correction des dépendances... Fait
2018-10-18 20:05:05,339: DEBUG - Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
2018-10-18 20:05:05,339: DEBUG -   imagemagick-common libarchive13 libldb1 libmilter1.0.1 libmysqlclient18
2018-10-18 20:05:05,439: DEBUG -   libopendkim9 libsmbclient libtalloc2 libtdb1 libtevent0 libwbclient0
2018-10-18 20:05:05,440: DEBUG -   php-auth-sasl php-mail-mime php-net-ldap2 php-net-ldap3 php-net-smtp
2018-10-18 20:05:05,440: DEBUG -   php-net-socket php-patchwork-utf8 php5-curl php5-fpm php5-intl php5-ldap
2018-10-18 20:05:05,440: DEBUG -   php5-mcrypt php5-mysql php5-redis python-ldb python-pybabel python-samba
2018-10-18 20:05:05,440: DEBUG -   python-talloc python-tdb rmilter samba-common samba-common-bin samba-libs
2018-10-18 20:05:05,441: DEBUG -   smbclient ttf-dejavu-core
2018-10-18 20:05:05,441: DEBUG - Veuillez utiliser « sudo apt autoremove » pour les supprimer.
2018-10-18 20:05:05,441: DEBUG - The following additional packages will be installed:
2018-10-18 20:05:05,441: DEBUG -   libpython3-dev libpython3.5-dev python3-cffi-backend python3-cryptography
2018-10-18 20:05:05,441: DEBUG -   python3-dev python3-gi python3-idna python3-setuptools python3.5-dev
2018-10-18 20:05:05,442: DEBUG - Paquets suggérés :
2018-10-18 20:05:05,442: DEBUG -   python-cryptography-doc python3-cryptography-vectors python-setuptools-doc
2018-10-18 20:05:05,442: DEBUG - Les paquets suivants seront ENLEVÉS :
2018-10-18 20:05:05,543: DEBUG -   flask-ynh-deps

i try to install them manually

isAAAc commented 5 years ago

apt-get install python3-dev python3-pip postgresql postgresql libpython3-dev libpython3.5-dev python3-cffi-backend python3-cryptography python3-dev python3-gi python3-idna python3-setuptools python3.5-dev

but still : https://paste.yunohost.org/raw/elitipower


2018-10-18 20:26:42,418: DEBUG - + sudo dpkg --force-depends -i ./flask-ynh-deps_20171209_all.deb
2018-10-18 20:26:42,619: DEBUG - Sélection du paquet flask-ynh-deps précédemment désélectionné.
2018-10-18 20:26:45,426: DEBUG - (Lecture de la base de données... 85730 fichiers et répertoires déjà installés.)
2018-10-18 20:26:45,427: DEBUG - Préparation du dépaquetage de .../flask-ynh-deps_20171209_all.deb ...
2018-10-18 20:26:45,427: DEBUG - Dépaquetage de flask-ynh-deps (20171209) ...
2018-10-18 20:26:45,627: DEBUG - dpkg: flask-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2018-10-18 20:26:45,628: DEBUG -  flask-ynh-deps dépend de postgresql-9.4 ; cependant :
2018-10-18 20:26:45,628: DEBUG -   Le paquet postgresql-9.4 n'est pas installé.
2018-10-18 20:26:45,628: DEBUG -  flask-ynh-deps dépend de postgresql-server-dev-9.4 ; cependant :
2018-10-18 20:26:45,628: DEBUG -   Le paquet postgresql-server-dev-9.4 n'est pas installé.

i A postgresql-client-9.6                                                                                                           - front-end programs for PostgreSQL 9.6                                                                                                    
i A postgresql-client-common                                                                                                        - gestionnnaire pour différentes versions de clients PostgreSQL                                                                            
i A postgresql-common                                                                                                               - gestionnaire de grappes de bases de données PostgreSQL                                                                                   
p   postgresql-comparator                                                                                                           - comparaison et synchronisation efficaces de contenu de tables PostgreSQL                                                                 
p   postgresql-contrib                                                                                                              - additional facilities for PostgreSQL (supported version)                                                                                 
i A postgresql-contrib-9.6                                                                                                          - additional facilities for PostgreSQL 

it doesn't work with ppostgresql 9.6 :/

isAAAc commented 5 years ago

added postgresql source.list as explain in https://wiki.postgresql.org/wiki/Apt

flask install : OK

i think we should add the postgresql sources list at the begining of the install process of flask_ynh ?

ashwinvis commented 4 years ago

Same problem here I think: https://paste.yunohost.org/raw/ferehaxipa