Server Manager2/fr

From SME Server
Jump to navigationJump to search



Warning.png Attention :
ce paquet est actuellement dans la version SME11 beta1, mais encore en cours de travaux (WIP). Noter que tout ce qui est ci-dessous n'est pas entièrement exact.



Mainteneur

Michel Begue

Version

smeupdates-testing 11:
smedev 10:
smeserver-manager
The latest version of smeserver-manager is available in the SME repository, click on the version number(s) for more information.


Description

smeserver-manager est une nouvelle version du gestionnaire du serveur KOOZALI SME (e-smith-manager). Il est construit sur Mojolicious, un framework web en temps réel et fournit au moins les fonctions du gestionnaire d'origine dans une présentation analogue avec cependant une interface utilisateur différente. Il a l'avantage d'être plus évolutif.

Cette nouvelle vesion est dénommée en anglais Server Manager 2 ou SM2.


Installation

yum --enablerepo=[smetest,]smedev install smeserver-manager [smeserver-manager-locale-xx] [smeserver-manager-AdminLTE] 

Options

smeserver-manager-locale-xx pour un langage supplémentaire (encore incomplet),
smeserver-manager-AdminLTE pour un theme plus sophistiqué.

Vous souhaiterez peut-être installer « jquery » pour une meilleure réactivité (dans ce cas, placez-le avant),

yum --enablerepo=epel install js-jquery

Si vous installez « jquery » après smeserver-manager, vous devrez ajouter manuallement le lien vers « jquery » comme ceci :

ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js

ainsi que :

expand-template /usr/share/smanager/conf/srvmngr.conf 
signal-event smanager-modify


puis connectez-vous à votre nouveau gestionnaire du serveur : https://hostname/smanager et utilisez-le comme le précédent.

Configuration

Configuration des valeurs de la base db

config show smanager
smanager=service
   Secrets=generated_value
   Theme=default
   status=enabled
   Timeout=300

Configuration de Mojolicious (extraits)

{
# configuration file for Mojolicious Server-Manager2 application
#
   secrets => ['generated_value'],
   theme => 'default',
   timeout => '300',
   hypnotoad => {
   ## adresses and ports listened
       listen => ['http://127.0.0.1:982'],
        pid_file => '/var/run/smanager.pid',
   },
   hasJquery => 1,
   mode => 'production',
   debug => 0,
}

Service systemctl

smanager est le service hypnotoad géré par systemctl. La phase d'initialisation de smanager definit les paramètres pris dans le compte. Après chaque modification, un rechargement est nécessaire.

systemctl reload smanager

Ajustements et vérifications

Les deux paramètres 'mode' et 'debug' peuvent être modifiés manuellement pour voir le process et en cas d'accident. Ils sont dans le fichier : /usr/share/smanager/conf/srvmngr.conf. Changer la valeur de 'mode' en 'development' et/ou celle de 'debug' en 1.

Redémarrer le service.

Les informations du journal sont dans /usr/share/smanager/log/{production|development}.log, fonction du mode en cours. D'autres informations peuvent classiquement se trouver dans /var/log/httpd ou en utilisant :

systemctl status -l smanager

Contributions

Quelques contributions sont déjà adaptées à cette nouvelle version et seront automatiquement integrées au moment de leur installation. Leur nombre devrait conntinuer à augmenter.

Il y a un document wiki ici qui décrit le processus que vous pourriez utiliser pour convertir une contribution existante en une qui s'intégrerait dans le nouveau gestionnaire (Server manager 2 - SM2). Ce document présente la contribution DHCPManager en exemple.

Désinstallation

yum remove smeserver-manager js-jquery

Notes

sme-server est le composant et smeserver-manager est le paquet.

Bogues

Veuillez émettre les bogues dans la section SME-Server dans bugzilla et sélectionner le composant smeserver-manager ou utiliser ce lien.

Un aperçu des problèmes actuels de ce paquet figure ci-dessous :

IDProductVersionStatusSummary (221 tasks)
13590SME Server 11.X11.rc1CONFIRMEDRoundcube about screen is missing
13586SME Server 11.X11.rc1VERIFIEDViewlogfiles horizontal scroll bar is only visible at the bottom
13578SME Server 11.X11.rc1CONFIRMEDPassword change panel: Lex id incorrect
13574SME Server 11.X11.rc1CONFIRMEDNutUPS - Misssing entry in lex file
13570SME Server 11.X11.rc1RESOLVEDRemove old Software install panel from SM2
13569SME Server 11.X11.rc1RESOLVEDMissing entry in lex file for bug report panel
13552SME Server 11.X11.beta1CONFIRMEDUser Password for email sending display password far from the input box
13548SME Server 11.X11.beta1VERIFIEDfix RPM-GPG-KEY-MariaDB2 always readded and add zabbix keys
13538SME Server 11.X11.beta1CONFIRMEDpartial panel looses the highlight (bold) for any non front panel
13537SME Server 11.X11.beta1VERIFIEDcertificate rpm upgrade disable all domains
13526SME Server 11.X11.beta1RESOLVEDDomain panel: Error on deleting domain
13523SME Server 11.X11.beta1RESOLVEDAdd extra smarts to domain/host list according to letsencrypt status
13514SME Server 11.X11.beta1RESOLVEDUpdate favicon so that it shows correctly proportioned
13508SME Server 11.X11.beta1CONFIRMEDRemote manager panel should allow /CIDR format for network mask
13504SME Server 11.X11.beta1RESOLVEDRefactor menu so that it shows hover and current selected menu
13502SME Server 11.X11.beta1RESOLVEDSoftware installer (dnf) Configure: changing to automatically install updates gives error
13501SME Server 11.X11.beta1CONFIRMEDviewlogs panel: Add button to clear log
13500SME Server 11.X11.beta1VERIFIEDRefreshing viewed log file will display messages.log
13497SME Server 11.X11.beta1RESOLVEDRemove CSP hashes for window.onload in partial files
13496SME Server 11.X11.beta1RESOLVEDAdd lang="lang code" in html tag
13495SME Server 11.X11.beta1RESOLVEDAdd in favicon file
13492SME Server 11.X11.beta1VERIFIEDShutdown or reboot panel, selection control not properly aligned and font for second page not consistent with the rest of the system.
13487SME Server 11.X11.beta1VERIFIEDDomains panel showing dom_localhost in drop down for Domain DNS Servers.
13486SME Server 11.X11.beta1RESOLVEDSome observations on the format/alignment of the main screen and panels
13485SME Server 11.X11.beta1CONFIRMEDUse of uninitialized value in gmtime at /usr/share/perl5/vendor_perl/Mojo/Date.pm line 64
13484SME Server 11.X11.beta1RESOLVEDError on update - Can't exec "db"
13483SME Server 11.X11.beta1RESOLVEDAdd autocomplete to form in LDAP directory settings panel
13472SME Server 11.X11.beta1RESOLVEDCan't locate object method "theme_list" via package "SrvMngr::Controller::Dnf"
13466SME Server 11.X11.beta1RESOLVEDVarious alignment problems with fields and mojo logo.
13465SME Server 11.X11.beta1IN_PROGRESSFurther work on dnf panel (to replace yum panel)
13462SME Server 11.X11.beta1VERIFIEDsmanager add port forward rule, fields misaligned
13458SME Server 11.X11.beta1RESOLVEDRecast yum panel as dnf panel
13450SME Server 11.X11.beta1RESOLVEDuser password panel - after an error password description reverts to lex string
13449SME Server 11.X11.beta1RESOLVEDa CSS change has made the fields in a form extend to the right - Looks better if they are only 50%
13446SME Server 11.X11.beta1VERIFIEDviewlogfiles does not expand compressed files
13445SME Server 11.X11.beta1CONFIRMEDAdd live mode to viewlogfiles and add autoscroll to end as the file is displayed
13438SME Server 11.X11.beta1VERIFIEDUse of uninitialized value in bitwise
13424SME Server 11.X11.beta1RESOLVEDWe've lost the "please wait" on the submit buttons
13416SME Server 11.X11.beta1CONFIRMEDNeed to bring all the other languages lex files in line with the re-factored english lex file
13413SME Server 11.X11.beta1RESOLVEDPull the inline button css into the main css file
13400SME Server 11.X11.rc1RESOLVED[error] [xRIETbdv56wO] Can't use "0-9" as a method name in bracket group
13398SME Server 11.X11.beta1CONFIRMEDMove all short lexical phrases which are shared between panels into the general category
13396SME Server 11.X11.beta1RESOLVEDCheck lex files and controller and templates to make sure that all strings required are in both, english only at this point
13394SME Server 11.X11.rc1RESOLVEDDec 26 12:01:20 sme11.thereadclan.me.uk smanager[319091]: Use of uninitialized value in string eq at /usr/share/smanager/script/../lib/SrvMngr/Controller/Useraccounts.pm line 801.
13388SME Server 11.X11.beta1VERIFIEDvertical-align top instead of default to bottom
13378SME Server 11.X11.beta1CONFIRMEDSoftware Install panel (yum and dnf) still shows update as needed for a period after the update is run
13377SME Server 11.X11.rc1RESOLVEDErrors in system log relating to lex files for dk, ja and il
13374SME Server 11.X11.rc1RESOLVED"Locale lexicon missing for" shown in logs for some JS and util routes.
13373SME Server 11.X11.rc1VERIFIEDSoftware Install panel "Use of uninitialized value in concatenation"
13370SME Server 11.X11.rc1RESOLVEDdnf plugin temp event does not include restart of smanager.
13368SME Server 11.X11.rc1RESOLVEDJapanese lex file missing menu entries as well as most other lex files - needs audit and re-generation og the general lex files for each language
13366SME Server 11.X11.rc1RESOLVED"Legacy" and "Current User" section headings are not localised.
13361SME Server 11.X11.rc1RESOLVEDSome (new?) menu entries do not have translations in the lex files.
13330SME Server 11.X11.rc1RESOLVEDEmail setting panel - delivery will clear the password in the DB if the delegate server password is blank when save is clicked
13328SME Server 11.X11.beta1RESOLVEDviewlogfiles tries to display VERY long files and hangs -> proxy error
13321SME Server 11.X11.beta1RESOLVEDcontrib CSP failures on SM2 panel
13319SME Server 11.X11.rc1RESOLVEDLetsencrypt panel shows CSP failure
13317SME Server 11.X11.rc1RESOLVEDJavascript failures on console log for status panel
13316SME Server 11.X11.rc1RESOLVEDMany of the lex files for the initial panel have SM1 link to image
13314SME Server 11.X11.beta1CONFIRMEDIf there is no lex file for a specific language and that language is the browser choice, then the menu is also displayed in english.
13313SME Server 11.X11.rc1RESOLVEDswt_THEME is missing from lex files for danish and probably from most other non en files
13304SME Server 11.X11.rc1RESOLVEDLocale flag not always shown successfully on the top panel
13303SME Server 11.X11.beta1CONFIRMEDUnder firefox the intial legacy panel click is shown new browser tab, instead of re-using the original.
13283SME Server 11.X11.rc1RESOLVEDRemove "yum" and Replace by "dnf" in al lex files
13266SME Server 11.X11.beta1CONFIRMEDNeed individual group membership panel for SM2 in User mode
13265SME Server 11.X11.beta1CONFIRMEDNeed individual backup panel for SM2 in User mode.
13253SME Server 11.X11.rc1VERIFIEDUpdate jquery datatable to version 2.3.4
13247SME Server 11.X11.rc1VERIFIEDLogout button looks strange
13246SME Server 11.X11.beta1VERIFIEDSmanager debug mode
13243SME Server 11.X11.rc1VERIFIEDdebugging portforwarding template error
13238SME Server 11.X11.rc1VERIFIEDMenu section headings should not be links
13210SME Server 11.X11.rc1RESOLVEDAdd password strength indication to password reset/set panel
13207SME Server 11.X11.beta1VERIFIEDHostnames and addresses panel must blank MAC address and IP address(es) when Host type set to "Self"
13185SME Server 11.X11.beta1VERIFIEDAdd CSS to position multiple submit buttons on panel
13184SME Server 11.X11.beta1VERIFIEDChange how the "Please Wait" is displayed on Submit pressed.
13176SME Server 11.X11.beta1VERIFIEDunsafe inline in login page
13175SME Server 11.X11.beta1VERIFIEDtkt login page redirected as 307 and proto http
13130SME Server 11.X11.beta1RESOLVEDpppoe fails to recconect after update: interface or tty missing
13113SME Server 11.X11.beta1VERIFIEDSM2 login and logout buttons do not work on text based browser
13112SME Server 11.X11.beta1VERIFIEDreconfigure state is displayed without being logged in
13110SME Server 11.X11.beta1RESOLVEDServer Manager Software Updates runs updates, then still tells that there are updates
13106SME Server 11.X11.beta1RESOLVEDSoftware Update panel: Arrange for result of the dnf run to be streamed to panel
13105SME Server 11.X11.beta1VERIFIEDnew server manager LTE - window for port number in network menu is not large enough for 5 wide digits
13103SME Server 11.X11.beta1VERIFIEDRe-Format Template files for default theme to make them more readable.
13101SME Server 11.X11.beta1RESOLVEDAfter running a Backup to Desktop and saving the backup, button stays at Please wait and cursor stays spinning
13100SME Server 11.X11.beta1RESOLVEDSummary of potential sizes on Backup screen is well wrong
13099SME Server 11.X11.rc1VERIFIEDMissing argument in sprintf Viewlogfiles.pm line 213
13097SME Server 11.X11.beta1VERIFIEDRestart or shutdown function fails with theme AdminLTE
13095SME Server 11.X11.beta1VERIFIEDUpdate from AdminLTE theme fail with blank page
13090SME Server 11.X11.beta1VERIFIEDAdd text to explain rules for password (which have changed for SME11)
13082SME Server 11.X11.alpha1VERIFIEDLogin to SM2 with non admin, shows all menu entries but does not let you obey them
13080SME Server 11.X11.alpha1RESOLVEDEmail Settings panel: Some Lex strings without prefix and with very long id
13078SME Server 11.X11.alpha1RESOLVEDTypos in Error Message (lex) Ids in Datetime, UserAccounts, groups and Userpassword panels
13076SME Server 11.X11.alpha1RESOLVEDNutUPS menu item, no UPS attached, change Nut Status to enabled and save, Proxy error
13073SME Server 11.X11.alpha1VERIFIEDGroup panel: Error message in logs on entry
13064SME Server 11.X11.alpha1RESOLVEDBusy Cursor no longer shows on Submit for all SM2 panels
13062SME Server 11.X11.alpha1RESOLVEDAdd code in top level theme template to pull in panel specific css and js files.
13061SME Server 11.X11.alpha1RESOLVEDUpgrading smeserver-manager package after install does not always update Lex -> <lang>.pm files
13060SME Server 11.X11.alpha1CONFIRMEDRemoteAccess and Proxy Settings panels needs refactoring for Success and Error notification
13058SME Server 11.X11.alpha1CONFIRMEDRe-factor Samba Workgroup panel to return to main screen with success or error messge
Warnings were generated during the execution of function
  1. Report truncated - count greater than max allowed 101 > 100

Journal des modifications

Seules les versions publiées dans smecontrib sont listées ici.