mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge branch 'stretch-unstable' into stretch-stable
This commit is contained in:
commit
531dad26c5
15 changed files with 88 additions and 59 deletions
|
@ -16,7 +16,7 @@ upgrade:
|
||||||
extends: .install-stage
|
extends: .install-stage
|
||||||
image: "after-install"
|
image: "after-install"
|
||||||
script:
|
script:
|
||||||
- apt update
|
- apt-get update -o Acquire::Retries=3
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,6 +24,14 @@ install-postinstall:
|
||||||
extends: .install-stage
|
extends: .install-stage
|
||||||
image: "before-install"
|
image: "before-install"
|
||||||
script:
|
script:
|
||||||
- apt update
|
- apt-get update -o Acquire::Retries=3
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
- systemctl -q stop apt-daily.timer
|
||||||
|
- systemctl -q stop apt-daily-upgrade.timer
|
||||||
|
- systemctl -q stop apt-daily.service
|
||||||
|
- systemctl -q stop apt-daily-upgrade.service
|
||||||
|
- systemctl -q disable apt-daily.timer
|
||||||
|
- systemctl -q disable apt-daily-upgrade.timer
|
||||||
|
- systemctl -q disable apt-daily.service
|
||||||
|
- systemctl -q disable apt-daily-upgrade.service
|
||||||
- yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns
|
- yunohost tools postinstall -d domain.tld -p the_password --ignore-dyndns
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
.install_debs: &install_debs
|
.install_debs: &install_debs
|
||||||
- apt update
|
- systemctl -q stop apt-daily.timer
|
||||||
|
- systemctl -q stop apt-daily-upgrade.timer
|
||||||
|
- systemctl -q stop apt-daily.service
|
||||||
|
- systemctl -q stop apt-daily-upgrade.service
|
||||||
|
- systemctl -q disable apt-daily.timer
|
||||||
|
- systemctl -q disable apt-daily-upgrade.timer
|
||||||
|
- systemctl -q disable apt-daily.service
|
||||||
|
- systemctl -q disable apt-daily-upgrade.service
|
||||||
|
- apt-get update -o Acquire::Retries=3
|
||||||
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
- DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt --assume-yes -o Dpkg::Options::="--force-confold" --allow-downgrades install ./$YNH_BUILD_DIR/*.deb
|
||||||
|
|
||||||
.test-stage:
|
.test-stage:
|
||||||
|
|
|
@ -100,7 +100,7 @@ ynh_package_version() {
|
||||||
# Requires YunoHost version 2.4.0.3 or higher.
|
# Requires YunoHost version 2.4.0.3 or higher.
|
||||||
ynh_apt() {
|
ynh_apt() {
|
||||||
ynh_wait_dpkg_free
|
ynh_wait_dpkg_free
|
||||||
LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get --assume-yes --quiet -o=Dpkg::Use-Pty=0 $@
|
LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 $@
|
||||||
}
|
}
|
||||||
|
|
||||||
# Update package index files
|
# Update package index files
|
||||||
|
|
|
@ -148,8 +148,14 @@ ynh_add_fpm_config () {
|
||||||
|
|
||||||
if [ $use_template -eq 1 ]
|
if [ $use_template -eq 1 ]
|
||||||
then
|
then
|
||||||
# Usage 1, use the template in ../conf/php-fpm.conf
|
# Usage 1, use the template in conf/php-fpm.conf
|
||||||
cp ../conf/php-fpm.conf "$finalphpconf"
|
local phpfpm_path="../conf/php-fpm.conf"
|
||||||
|
if [ ! -e "$phpfpm_path" ]; then
|
||||||
|
phpfpm_path="../settings/conf/php-fpm.conf" # Into the restore script, the php-fpm template is not at the same place
|
||||||
|
fi
|
||||||
|
# Make sure now that the template indeed exists
|
||||||
|
[ -e "$phpfpm_path" ] || ynh_die --message="Unable to find template to configure php-fpm."
|
||||||
|
cp "$phpfpm_path" "$finalphpconf"
|
||||||
ynh_replace_string --match_string="__NAMETOCHANGE__" --replace_string="$app" --target_file="$finalphpconf"
|
ynh_replace_string --match_string="__NAMETOCHANGE__" --replace_string="$app" --target_file="$finalphpconf"
|
||||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$finalphpconf"
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$finalphpconf"
|
||||||
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$finalphpconf"
|
ynh_replace_string --match_string="__USER__" --replace_string="$app" --target_file="$finalphpconf"
|
||||||
|
|
|
@ -144,8 +144,13 @@ ynh_setup_source () {
|
||||||
then # Use the local source file if it is present
|
then # Use the local source file if it is present
|
||||||
cp $local_src $src_filename
|
cp $local_src $src_filename
|
||||||
else # If not, download the source
|
else # If not, download the source
|
||||||
|
# NB. we have to declare the var as local first,
|
||||||
|
# otherwise 'local foo=$(false) || echo 'pwet'" does'nt work
|
||||||
|
# because local always return 0 ...
|
||||||
|
local out
|
||||||
# Timeout option is here to enforce the timeout on dns query and tcp connect (c.f. man wget)
|
# Timeout option is here to enforce the timeout on dns query and tcp connect (c.f. man wget)
|
||||||
local out=`wget --timeout 900 --no-verbose --output-document=$src_filename $src_url 2>&1` || ynh_print_err --message="$out"
|
out=$(wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=$src_filename $src_url 2>&1) \
|
||||||
|
|| ynh_die --message="$out"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the control sum
|
# Check the control sum
|
||||||
|
|
|
@ -15,6 +15,18 @@ do_pre_regen() {
|
||||||
do_post_regen() {
|
do_post_regen() {
|
||||||
regen_conf_files=$1
|
regen_conf_files=$1
|
||||||
|
|
||||||
|
# mysql is supposed to be an alias to mariadb... but in some weird case is not
|
||||||
|
# c.f. https://forum.yunohost.org/t/mysql-ne-fonctionne-pas/11661
|
||||||
|
# Playing with enable/disable allows to recreate the proper symlinks.
|
||||||
|
if [ ! -e /etc/systemd/system/mysql.service ]
|
||||||
|
then
|
||||||
|
systemctl stop mysql -q
|
||||||
|
systemctl disable mysql -q
|
||||||
|
systemctl disable mariadb -q
|
||||||
|
systemctl enable mariadb -q
|
||||||
|
systemctl is-active mariadb -q || systemctl start mariadb
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ! -f /etc/yunohost/mysql ]; then
|
if [ ! -f /etc/yunohost/mysql ]; then
|
||||||
|
|
||||||
# ensure that mysql is running
|
# ensure that mysql is running
|
||||||
|
|
|
@ -1,36 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
do_pre_regen() {
|
|
||||||
pending_dir=$1
|
|
||||||
|
|
||||||
cd /usr/share/yunohost/templates/glances
|
|
||||||
|
|
||||||
install -D -m 644 glances.default "${pending_dir}/etc/default/glances"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_post_regen() {
|
|
||||||
regen_conf_files=$1
|
|
||||||
|
|
||||||
[[ -z "$regen_conf_files" ]] \
|
|
||||||
|| service glances restart
|
|
||||||
}
|
|
||||||
|
|
||||||
FORCE=${2:-0}
|
|
||||||
DRY_RUN=${3:-0}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
pre)
|
|
||||||
do_pre_regen $4
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
do_post_regen $4
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "hook called with unknown argument \`$1'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -126,7 +126,7 @@ class MailDiagnoser(Diagnoser):
|
||||||
query += '.ip6.arpa'
|
query += '.ip6.arpa'
|
||||||
|
|
||||||
# Do the DNS Query
|
# Do the DNS Query
|
||||||
status, value = dig(query, 'PTR')
|
status, value = dig(query, 'PTR', resolvers="force_external")
|
||||||
if status == "nok":
|
if status == "nok":
|
||||||
yield dict(meta={"test": "mail_fcrdns", "ipversion": ipversion},
|
yield dict(meta={"test": "mail_fcrdns", "ipversion": ipversion},
|
||||||
data={"ip": ip, "ehlo_domain": self.ehlo_domain},
|
data={"ip": ip, "ehlo_domain": self.ehlo_domain},
|
||||||
|
|
15
debian/changelog
vendored
15
debian/changelog
vendored
|
@ -1,3 +1,18 @@
|
||||||
|
yunohost (3.8.4.7) stable; urgency=low
|
||||||
|
|
||||||
|
- [fix] Remove some remains of glances (17eec25e)
|
||||||
|
- [fix] Force external resolution for reverse DNS dig (852cd14c)
|
||||||
|
- [fix] Make sure mysql is an alias to mariadb (e24191ce, ca89607d)
|
||||||
|
- [fix] Path for ynh_add_fpm_config template in restore (#1001)
|
||||||
|
- [fix] Add -o Acquire::Retries=3 to fix some stupid network issues happening sometimes with apt (03432349)
|
||||||
|
- [fix] ynh_setup_source: Retry wget on non-critical failures to try to avoid tmp dns issues (3d66eaec)
|
||||||
|
- [fix] ynh_setup_source: Calling ynh_print_err in case of error didn't work, and we probably want a ynh_die here (55036fad)
|
||||||
|
- [i18n] Translations updated for Catalan, French, Italian, Occitan
|
||||||
|
|
||||||
|
Thanks to all contributors <3 ! (JimboJoe, Leandro N., ppr, Quentí, xaloc33, yalh76)
|
||||||
|
|
||||||
|
-- Alexandre Aubin <alex.aubin@mailoo.org> Thu, 04 Jun 2020 02:28:33 +0200
|
||||||
|
|
||||||
yunohost (3.8.4.6) stable; urgency=low
|
yunohost (3.8.4.6) stable; urgency=low
|
||||||
|
|
||||||
- [fix] Bump server_names_hash_bucket_size to 128 to avoid nginx exploding for stupid reasons (b3db4d92)
|
- [fix] Bump server_names_hash_bucket_size to 128 to avoid nginx exploding for stupid reasons (b3db4d92)
|
||||||
|
|
|
@ -537,7 +537,7 @@
|
||||||
"diagnosis_dns_good_conf": "Els registres DNS han estat correctament configurats pel domini {domain} (categoria {category})",
|
"diagnosis_dns_good_conf": "Els registres DNS han estat correctament configurats pel domini {domain} (categoria {category})",
|
||||||
"diagnosis_dns_bad_conf": "Alguns registres DNS són incorrectes o no existeixen pel domini {domain} (categoria {category})",
|
"diagnosis_dns_bad_conf": "Alguns registres DNS són incorrectes o no existeixen pel domini {domain} (categoria {category})",
|
||||||
"diagnosis_dns_missing_record": "Segons la configuració DNS recomanada, hauríeu d'afegir un registre DNS amb la següent informació.<br>Tipus: <code>{type}</code><br>Nom: <code>{name}</code><br>Valor: <code>{value}</code>",
|
"diagnosis_dns_missing_record": "Segons la configuració DNS recomanada, hauríeu d'afegir un registre DNS amb la següent informació.<br>Tipus: <code>{type}</code><br>Nom: <code>{name}</code><br>Valor: <code>{value}</code>",
|
||||||
"diagnosis_dns_discrepancy": "El registre DNS de tipus {type} i nom {name} no concorda amb la configuració recomanada.\nValor actual: {current}\nValor esperat: {value}",
|
"diagnosis_dns_discrepancy": "La configuració DNS següent sembla que no segueix la configuració recomanada: <br>Tipus: <code>{type}</code><br>Nom: <code>{name}</code><br>Valor actual: <code>{current}</code><br>Valor esperat: <code>{value}</code>",
|
||||||
"diagnosis_services_bad_status": "El servei {service} està {status} :(",
|
"diagnosis_services_bad_status": "El servei {service} està {status} :(",
|
||||||
"diagnosis_diskusage_verylow": "El lloc d'emmagatzematge <code>{mountpoint}</code> (en l'aparell <code>{device}</code>) només té disponibles {free} ({free_percent}%). Hauríeu de considerar alliberar una mica d'espai!",
|
"diagnosis_diskusage_verylow": "El lloc d'emmagatzematge <code>{mountpoint}</code> (en l'aparell <code>{device}</code>) només té disponibles {free} ({free_percent}%). Hauríeu de considerar alliberar una mica d'espai!",
|
||||||
"diagnosis_diskusage_low": "El lloc d'emmagatzematge <code>{mountpoint}</code> (en l'aparell <code>{device}</code>) només té disponibles {free} ({free_percent}%). Aneu amb compte.",
|
"diagnosis_diskusage_low": "El lloc d'emmagatzematge <code>{mountpoint}</code> (en l'aparell <code>{device}</code>) només té disponibles {free} ({free_percent}%). Aneu amb compte.",
|
||||||
|
@ -649,5 +649,7 @@
|
||||||
"diagnosis_domain_expiration_error": "Alguns dominis expiraran EN BREUS!",
|
"diagnosis_domain_expiration_error": "Alguns dominis expiraran EN BREUS!",
|
||||||
"diagnosis_domain_expires_in": "{domain} expirarà en {days} dies.",
|
"diagnosis_domain_expires_in": "{domain} expirarà en {days} dies.",
|
||||||
"diagnosis_swap_tip": "Vigileu i tingueu en compte que els servidor està allotjant memòria d'intercanvi en una targeta SD o en l'emmagatzematge SSD, això pot reduir dràsticament l'esperança de vida del dispositiu.",
|
"diagnosis_swap_tip": "Vigileu i tingueu en compte que els servidor està allotjant memòria d'intercanvi en una targeta SD o en l'emmagatzematge SSD, això pot reduir dràsticament l'esperança de vida del dispositiu.",
|
||||||
"restore_already_installed_apps": "No s'han pogut restaurar les següents aplicacions perquè ja estan instal·lades: {apps}"
|
"restore_already_installed_apps": "No s'han pogut restaurar les següents aplicacions perquè ja estan instal·lades: {apps}",
|
||||||
|
"app_packaging_format_not_supported": "No es pot instal·lar aquesta aplicació ja que el format del paquet no és compatible amb la versió de YunoHost del sistema. Hauríeu de considerar actualitzar el sistema.",
|
||||||
|
"diagnosis_dns_try_dyndns_update_force": "La configuració DNS d'aquest domini hauria de ser gestionada automàticament per YunoHost. Si aquest no és el cas, podeu intentar forçar-ne l'actualització utilitzant <cmd>yunohost dyndns update --force</cmd>."
|
||||||
}
|
}
|
||||||
|
|
|
@ -426,7 +426,7 @@
|
||||||
"tools_upgrade_special_packages_completed": "La mise à jour des paquets de YunoHost est finie !\nPressez [Entrée] pour revenir à la ligne de commande",
|
"tools_upgrade_special_packages_completed": "La mise à jour des paquets de YunoHost est finie !\nPressez [Entrée] pour revenir à la ligne de commande",
|
||||||
"dpkg_lock_not_available": "Cette commande ne peut pas être exécutée pour le moment car un autre programme semble utiliser le verrou de dpkg (le gestionnaire de package système)",
|
"dpkg_lock_not_available": "Cette commande ne peut pas être exécutée pour le moment car un autre programme semble utiliser le verrou de dpkg (le gestionnaire de package système)",
|
||||||
"tools_upgrade_cant_unhold_critical_packages": "Impossible de conserver les paquets critiques…",
|
"tools_upgrade_cant_unhold_critical_packages": "Impossible de conserver les paquets critiques…",
|
||||||
"tools_upgrade_special_packages_explanation": "La mise à niveau spéciale se poursuivra en arrière-plan. Veuillez ne pas lancer d'autres actions sur votre serveur pendant les 10 prochaines minutes (selon la vitesse du matériel). Après cela, vous devrez peut-être vous reconnecter à l'administrateur Web. Le journal de mise à niveau sera disponible dans Outils → Journal (dans le webadmin) ou en utilisant la « liste des journaux yunohost » (à partir de la ligne de commande).",
|
"tools_upgrade_special_packages_explanation": "La mise à niveau spécifique à YunoHost se poursuivra en arrière-plan. Veuillez ne pas lancer d'autres actions sur votre serveur pendant les 10 prochaines minutes (selon la vitesse du matériel). Après cela, vous devrez peut-être vous reconnecter à l'administrateur Web. Le journal de mise à niveau sera disponible dans Outils → Journal (dans le webadmin) ou en utilisant la « liste des journaux yunohost » (à partir de la ligne de commande).",
|
||||||
"update_apt_cache_failed": "Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :\n{sourceslist}",
|
"update_apt_cache_failed": "Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian). Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :\n{sourceslist}",
|
||||||
"update_apt_cache_warning": "Des erreurs se sont produites lors de la mise à jour du cache APT (gestionnaire de paquets Debian). Voici un extrait des lignes du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :\n{sourceslist}",
|
"update_apt_cache_warning": "Des erreurs se sont produites lors de la mise à jour du cache APT (gestionnaire de paquets Debian). Voici un extrait des lignes du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :\n{sourceslist}",
|
||||||
"backup_permission": "Permission de sauvegarde pour l’application {app:s}",
|
"backup_permission": "Permission de sauvegarde pour l’application {app:s}",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"app_already_installed": "{app:s} è già installata",
|
"app_already_installed": "{app:s} è già installata",
|
||||||
"app_extraction_failed": "Impossibile estrarre i file di installazione",
|
"app_extraction_failed": "Impossibile estrarre i file di installazione",
|
||||||
"app_not_installed": "{app:s} non è installata",
|
"app_not_installed": "Impossibile trovare l'applicazione '{app:s}' nell'elenco delle applicazioni installate: {all_apps}",
|
||||||
"app_unknown": "Applicazione sconosciuta",
|
"app_unknown": "Applicazione sconosciuta",
|
||||||
"ask_email": "Indirizzo email",
|
"ask_email": "Indirizzo email",
|
||||||
"ask_password": "Password",
|
"ask_password": "Password",
|
||||||
|
@ -28,13 +28,13 @@
|
||||||
"admin_password": "Password dell'amministrazione",
|
"admin_password": "Password dell'amministrazione",
|
||||||
"admin_password_change_failed": "Impossibile cambiare la password",
|
"admin_password_change_failed": "Impossibile cambiare la password",
|
||||||
"admin_password_changed": "La password dell'amministrazione è stata cambiata",
|
"admin_password_changed": "La password dell'amministrazione è stata cambiata",
|
||||||
"app_install_files_invalid": "Non sono validi i file di installazione",
|
"app_install_files_invalid": "Questi file non possono essere installati",
|
||||||
"app_manifest_invalid": "Manifesto dell'applicazione non valido: {error}",
|
"app_manifest_invalid": "Manifesto dell'applicazione non valido: {error}",
|
||||||
"app_not_correctly_installed": "{app:s} sembra di non essere installata correttamente",
|
"app_not_correctly_installed": "{app:s} sembra di non essere installata correttamente",
|
||||||
"app_not_properly_removed": "{app:s} non è stata correttamente rimossa",
|
"app_not_properly_removed": "{app:s} non è stata correttamente rimossa",
|
||||||
"action_invalid": "L'azione '{action:s}' non è valida",
|
"action_invalid": "L'azione '{action:s}' non è valida",
|
||||||
"app_removed": "{app:s} è stata rimossa",
|
"app_removed": "{app:s} è stata rimossa",
|
||||||
"app_sources_fetch_failed": "Impossibile riportare i file sorgenti",
|
"app_sources_fetch_failed": "Impossibile riportare i file sorgenti, l'URL è corretto?",
|
||||||
"app_upgrade_failed": "Impossibile aggiornare {app:s}",
|
"app_upgrade_failed": "Impossibile aggiornare {app:s}",
|
||||||
"app_upgraded": "{app:s} è stata aggiornata",
|
"app_upgraded": "{app:s} è stata aggiornata",
|
||||||
"app_requirements_checking": "Controllo i pacchetti richiesti per {app}…",
|
"app_requirements_checking": "Controllo i pacchetti richiesti per {app}…",
|
||||||
|
@ -176,9 +176,9 @@
|
||||||
"app_change_url_failed_nginx_reload": "Non riesco a riavviare NGINX. Questo è il risultato di 'nginx -t':\n{nginx_errors:s}",
|
"app_change_url_failed_nginx_reload": "Non riesco a riavviare NGINX. Questo è il risultato di 'nginx -t':\n{nginx_errors:s}",
|
||||||
"app_change_url_identical_domains": "Il vecchio ed il nuovo dominio/percorso_url sono identici ('{domain:s}{path:s}'), nessuna operazione necessaria.",
|
"app_change_url_identical_domains": "Il vecchio ed il nuovo dominio/percorso_url sono identici ('{domain:s}{path:s}'), nessuna operazione necessaria.",
|
||||||
"app_change_url_no_script": "L'applicazione '{app_name:s}' non supporta ancora la modifica dell'URL. Forse dovresti aggiornare l'applicazione.",
|
"app_change_url_no_script": "L'applicazione '{app_name:s}' non supporta ancora la modifica dell'URL. Forse dovresti aggiornare l'applicazione.",
|
||||||
"app_change_url_success": "URL dell'applicazione {app:s} cambiato con successo in {domain:s}{path:s}",
|
"app_change_url_success": "L'URL dell'applicazione {app:s} è stato cambiato in {domain:s}{path:s}",
|
||||||
"app_make_default_location_already_used": "Impostazione dell'applicazione '{app}' come predefinita del dominio {domain} non riuscita perchè è già stata impostata per l'altra applicazione '{other_app}'",
|
"app_make_default_location_already_used": "Impostazione dell'applicazione '{app}' come predefinita del dominio non riuscita perché il dominio {domain} è già in uso per l'altra applicazione '{other_app}'",
|
||||||
"app_location_unavailable": "Questo URL non è disponibile o va in conflitto con la/le applicazione/i già installata/e:\n{apps:s}",
|
"app_location_unavailable": "Questo URL non è più disponibile o va in conflitto con la/le applicazione/i già installata/e:\n{apps:s}",
|
||||||
"app_upgrade_app_name": "Aggiornando l'applicazione {app}…",
|
"app_upgrade_app_name": "Aggiornando l'applicazione {app}…",
|
||||||
"app_upgrade_some_app_failed": "Impossibile aggiornare alcune applicazioni",
|
"app_upgrade_some_app_failed": "Impossibile aggiornare alcune applicazioni",
|
||||||
"backup_abstract_method": "Questo metodo di backup non è ancora stato implementato",
|
"backup_abstract_method": "Questo metodo di backup non è ancora stato implementato",
|
||||||
|
@ -212,8 +212,8 @@
|
||||||
"certmanager_cert_install_success": "Certificato Let's Encrypt per il dominio {domain:s} installato con successo!",
|
"certmanager_cert_install_success": "Certificato Let's Encrypt per il dominio {domain:s} installato con successo!",
|
||||||
"aborting": "Annullamento.",
|
"aborting": "Annullamento.",
|
||||||
"admin_password_too_long": "Per favore scegli una password più corta di 127 caratteri",
|
"admin_password_too_long": "Per favore scegli una password più corta di 127 caratteri",
|
||||||
"app_not_upgraded": "Le seguenti app non sono state aggiornate: {apps}",
|
"app_not_upgraded": "Impossibile aggiornare le applicazioni '{failed_app}' e di conseguenza l'aggiornamento delle seguenti applicazione è stato cancellato: {apps}",
|
||||||
"app_start_install": "Installando l'applicazione {app}…",
|
"app_start_install": "Installando l'applicazione '{app}'…",
|
||||||
"app_start_remove": "Rimuovendo l'applicazione {app}…",
|
"app_start_remove": "Rimuovendo l'applicazione {app}…",
|
||||||
"app_start_backup": "Raccogliendo file da salvare nel backup per {app}…",
|
"app_start_backup": "Raccogliendo file da salvare nel backup per {app}…",
|
||||||
"app_start_restore": "Ripristinando l'applicazione {app}…",
|
"app_start_restore": "Ripristinando l'applicazione {app}…",
|
||||||
|
@ -335,5 +335,9 @@
|
||||||
"migration_0003_not_jessie": "La distribuzione attuale non è Jessie!",
|
"migration_0003_not_jessie": "La distribuzione attuale non è Jessie!",
|
||||||
"migration_0003_system_not_fully_up_to_date": "Il tuo sistema non è completamente aggiornato. Per favore prima esegui un aggiornamento normale prima di migrare a stretch.",
|
"migration_0003_system_not_fully_up_to_date": "Il tuo sistema non è completamente aggiornato. Per favore prima esegui un aggiornamento normale prima di migrare a stretch.",
|
||||||
"this_action_broke_dpkg": "Questa azione ha danneggiato dpkg/apt (i gestori di pacchetti del sistema)… Puoi provare a risolvere questo problema connettendoti via SSH ed eseguendo `sudo dpkg --configure -a`.",
|
"this_action_broke_dpkg": "Questa azione ha danneggiato dpkg/apt (i gestori di pacchetti del sistema)… Puoi provare a risolvere questo problema connettendoti via SSH ed eseguendo `sudo dpkg --configure -a`.",
|
||||||
"app_action_broke_system": "Questa azione sembra avere rotto questi servizi importanti: {services}"
|
"app_action_broke_system": "Questa azione sembra avere rotto questi servizi importanti: {services}",
|
||||||
|
"app_remove_after_failed_install": "Rimozione dell'applicazione a causa del fallimento dell'installazione…",
|
||||||
|
"app_install_script_failed": "Si è verificato un errore nello script di installazione dell'applicazione",
|
||||||
|
"app_install_failed": "Impossibile installare {app}:{error}",
|
||||||
|
"app_full_domain_unavailable": "Spiacente, questa app deve essere installata su un proprio dominio, ma altre applicazioni sono state installate sul dominio '{domain}'. Dovresti invece usare un sotto-dominio dedicato per questa app."
|
||||||
}
|
}
|
||||||
|
|
|
@ -472,7 +472,7 @@
|
||||||
"migrations_not_pending_cant_skip": "Aquestas migracions son pas en espèra, las podètz pas doncas ignorar : {ids}",
|
"migrations_not_pending_cant_skip": "Aquestas migracions son pas en espèra, las podètz pas doncas ignorar : {ids}",
|
||||||
"app_action_broke_system": "Aquesta accion sembla aver copat de servicis importants : {services}",
|
"app_action_broke_system": "Aquesta accion sembla aver copat de servicis importants : {services}",
|
||||||
"diagnosis_display_tip_web": "Podètz anar a la seccion Diagnostic (dins l’ecran d’acuèlh) per veire los problèmas trobats.",
|
"diagnosis_display_tip_web": "Podètz anar a la seccion Diagnostic (dins l’ecran d’acuèlh) per veire los problèmas trobats.",
|
||||||
"diagnosis_ip_no_ipv6": "Lo servidor a pas d’adreça IPv5 activa.",
|
"diagnosis_ip_no_ipv6": "Lo servidor a pas d’adreça IPv6 activa.",
|
||||||
"diagnosis_ip_not_connected_at_all": "Lo servidor sembla pas connectat a Internet ?!",
|
"diagnosis_ip_not_connected_at_all": "Lo servidor sembla pas connectat a Internet ?!",
|
||||||
"diagnosis_security_all_good": "Cap de vulnerabilitat de seguretat critica pas trobada.",
|
"diagnosis_security_all_good": "Cap de vulnerabilitat de seguretat critica pas trobada.",
|
||||||
"diagnosis_description_regenconf": "Configuracion sistèma",
|
"diagnosis_description_regenconf": "Configuracion sistèma",
|
||||||
|
@ -537,7 +537,7 @@
|
||||||
"group_cannot_be_deleted": "Lo grop « {group} » pòt pas èsser suprimit manualament.",
|
"group_cannot_be_deleted": "Lo grop « {group} » pòt pas èsser suprimit manualament.",
|
||||||
"diagnosis_found_warnings": "Trobat {warnings} element(s) que se poirián melhorar per {category}.",
|
"diagnosis_found_warnings": "Trobat {warnings} element(s) que se poirián melhorar per {category}.",
|
||||||
"diagnosis_dns_missing_record": "Segon la configuracion DNS recomandada, vos calriá ajustar un enregistrament DNS\ntipe: {type}\nnom: {name}\nvalor: {value}",
|
"diagnosis_dns_missing_record": "Segon la configuracion DNS recomandada, vos calriá ajustar un enregistrament DNS\ntipe: {type}\nnom: {name}\nvalor: {value}",
|
||||||
"diagnosis_dns_discrepancy": "Segon la configuracion DNS recomandada, la valor per l’enregistrament DNS\ntipe: {type}\nnom: {name}\ndeuriá èsser: {current}\nallòc de: {value}",
|
"diagnosis_dns_discrepancy": "La configuracion DNS seguenta sembla pas la configuracion recomandada : <br>Tipe : <code>{type}</code><br>Nom : <code>{name}</code><br>Valors actualas :<code> {current]</code><br>Valor esperada : <code>{value}</code>",
|
||||||
"diagnosis_regenconf_manually_modified_debian_details": "Es pas problematic, mas car téner d’agacher...",
|
"diagnosis_regenconf_manually_modified_debian_details": "Es pas problematic, mas car téner d’agacher...",
|
||||||
"diagnosis_ports_could_not_diagnose": "Impossible de diagnosticar se los pòrts son accessibles de l’exterior.",
|
"diagnosis_ports_could_not_diagnose": "Impossible de diagnosticar se los pòrts son accessibles de l’exterior.",
|
||||||
"diagnosis_ports_could_not_diagnose_details": "Error : {error}",
|
"diagnosis_ports_could_not_diagnose_details": "Error : {error}",
|
||||||
|
|
|
@ -346,6 +346,11 @@ def _save_regenconf_infos(infos):
|
||||||
Keyword argument:
|
Keyword argument:
|
||||||
categories -- A dict containing the regenconf infos
|
categories -- A dict containing the regenconf infos
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Ugly hack to get rid of legacy glances stuff
|
||||||
|
if "glances" in infos:
|
||||||
|
del infos["glances"]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(REGEN_CONF_FILE, 'w') as f:
|
with open(REGEN_CONF_FILE, 'w') as f:
|
||||||
yaml.safe_dump(infos, f, default_flow_style=False)
|
yaml.safe_dump(infos, f, default_flow_style=False)
|
||||||
|
|
|
@ -416,7 +416,7 @@ def tools_update(apps=False, system=False):
|
||||||
|
|
||||||
# Update APT cache
|
# Update APT cache
|
||||||
# LC_ALL=C is here to make sure the results are in english
|
# LC_ALL=C is here to make sure the results are in english
|
||||||
command = "LC_ALL=C apt update"
|
command = "LC_ALL=C apt-get update -o Acquire::Retries=3"
|
||||||
|
|
||||||
# Filter boring message about "apt not having a stable CLI interface"
|
# Filter boring message about "apt not having a stable CLI interface"
|
||||||
# Also keep track of wether or not we encountered a warning...
|
# Also keep track of wether or not we encountered a warning...
|
||||||
|
|
Loading…
Add table
Reference in a new issue