LSTU - Let's shorten that URL : questions sur l'installation

Serveur : Distant (Kimsufi)
Hardware : x86 (Atom N2800), 2 GB de RAM
OS : Debian 10 (Buster) acceuillant Yuno 4.0.x (à jour)

Salut,

Avant toute chose désolé s’il existe un topic consacré à cette app, je ne l’ai pas trouvé :confused:
N’hésitez pas à déplacer mon post dans le topic idoine s’il le faut.

Je viens d’installer (avec succès) LSTU, mais j’ai quelques questions sur l’installation :

  • Tout d’abord on me demande de créer un password, pour quelle raison ? S’il s’agit d’un mot de passe à destination de l’administration de l’app, ne serait-il pas plus judicieux de demander à la place de nommer Administrateur un des users existants ?

  • Il y a un bon paquet de warnings lors de l’installation (voir log ci-dessous), notamment des lignes indiquant que certaines pratiques sont obsolètes. L’app doit-elle être MaJ en ce sens ?

  • Enfin, concernant l’utilisation de l’app, elle demande de se reloguer quand on vient du portail yunohost, serait-il possible que l’app demande le log uniquement si on n’est pas déjà loggué sur le portail ?

Merci d’avance :slight_smile:

Log de l’installation :

root@monbeauserveur:~# yunohost app install lstu
Available domains:

  • monbeauserveur.noho.st
    Choose a domain for Lstu (default: monbeauserveur.noho.st):
    Choose a path for Lstu (default: /lstu):
    Is it a public application? [yes | no] (default: no):
    Choose a theme [default | milligram] (default: milligram): default
    You are now about to define a new user password. The password should be at least 8 characters long—though it is good practice to use a longer password (i.e. a passphrase) and/or to a variation of characters (uppercase, lowercase, digits and special characters).
    Choose a password:
    Info: Installing lstu…
    Info: [+…] > Validating installation parameters…
    Info: [#+…] > Storing installation settings…
    Info: [##+…] > Configuring firewall…
    Info: [###+…] > Installing dependencies…
    Warning: Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.
    Warning: Adding user postgres to group ssl-cert
    Warning:
    Warning: Creating config file /etc/postgresql-common/createcluster.conf with new version
    Warning: Building PostgreSQL dictionaries from installed myspell/hunspell packages…
    Warning: Removing obsolete dictionary files:
    Warning: Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /lib/systemd/system/postgresql.service.
    Warning: Creating new PostgreSQL cluster 11/main …
    Warning: /usr/lib/postgresql/11/bin/initdb -D /var/lib/postgresql/11/main --auth-local peer --auth-host md5
    Warning: The files belonging to this database system will be owned by user “postgres”.
    Warning: This user must also own the server process.
    Warning:
    Warning: The database cluster will be initialized with locale “en_US.UTF-8”.
    Warning: The default database encoding has accordingly been set to “UTF8”.
    Warning: The default text search configuration will be set to “english”.
    Warning:
    Warning: Data page checksums are disabled.
    Warning:
    Warning: fixing permissions on existing directory /var/lib/postgresql/11/main … ok
    Warning: creating subdirectories … ok
    Warning: 100
    Warning: 128MB
    Warning: selecting default timezone … Etc/UTC
    Warning: selecting dynamic shared memory implementation … posix
    Warning: creating configuration files … ok
    Warning: running bootstrap script … sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
    Warning: ok
    Warning: performing post-bootstrap initialization … sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
    Warning: ok
    Warning: syncing data to disk … ok
    Warning:
    Warning: Success. You can now start the database server using:
    Warning:
    Warning: pg_ctlcluster 11 main start
    Warning:
    Warning: Ver Cluster Port Status Owner Data directory Log file
    Warning: 11 main 5432 down postgres /var/lib/postgresql/11/main /var/log/postgresql/postgresql-11-main.log
    Warning: update-alternatives: using /usr/share/postgresql/11/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode
    Info: [####+…] > Creating a PostgreSQL database…
    Warning: /!\ Packagers! Please provide a --test_status when adding oneshot-type services in Yunohost, such that it has a reliable way to check if the service is running or not.
    Info: [#####+…] > Setting up source files…
    Info: [######+…] > Configuring nginx web server…
    Info: [#######+…] > Configuring system user…
    Info: [########++…] > Configuring lstu…
    Info: [##########+…] > Installing lstu…
    Warning: ! Couldn’t find module or a distribution B::Debug
    Warning: ! Couldn’t find module or a distribution XML::SAX::Base
    Warning: ! Couldn’t find module or a distribution IO::Socket::INET6
    Warning: ! Couldn’t find module or a distribution GSSAPI
    Info: [###########+…] > Configuring a systemd service…
    Info: [############+…] > Securing files and directories…
    Info: [#############+…] > Configuring log rotation…
    Info: [##############+…] > Integrating service in YunoHost…
    Info: [###############+…] > Starting a systemd service…
    Warning: Please wait, the service lstu is starting…
    Info: The service lstu has correctly executed the action start.
    Info: [################+…] > Configuring SSOwat…
    Warning: /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of Users groups and permissions | Yunohost Documentation to learn how to use the new permission mechanism.
    Warning: /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated… Instead, you should use the new helpers ‘ynh_permission_{create,urls,update,delete}’ and the ‘visitors’ group to initialize the public/private access. Check out the documentation at the bottom of Users groups and permissions | Yunohost Documentation to learn how to use the new permission mechanism.
    Info: [#################+…] > Reloading nginx web server…
    Info: [##################++] > Installation of lstu completed
    Success! Installation completed
1 Like

Le mot de passe créé est uniquement interne à lstu. Il sert à visualiser et gérer les liens stockés par lstu. C’est un fonctionnement propre à lstu.
Chaque application a sa propre spécificité.
Concernant la nécessité de mise à jour, il ne s’agit que de recommandations pour la les commandes utilisées lors de la procédure de déploiement, pas de l’application elle-même qui est bien à jour.
Donc c’est cette procédure qui pourrait être améliorée et plus respectueuse des nouveaux standards. Ca ne pose pas de problème lors de l’installation.

J’inclus @frju365 dans la conversation vu qu’il est noté comme mainteneur du package yuno.

A la fois @framasky serait d une grand compétence pour te répondre également,si le temps le lui permet. :wink:

J’ai pas vraiment grand chose à répondre ¯\_(ツ)_/¯

Les warnings Couldn’t find module or a distribution arrivent des fois mais j’ai jamais compris ce qui fait que certaines dépendances ne veulent pas s’installer. Mais bof, ça a pas l’air d’empêcher lstu de fonctionner.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.