Server Manager2

From SME Server
Jump to navigationJump to search



Warning.png Warning:
This package is still in development (alpha 10). Do Not install on production server. Only for TESTING purposes.



Maintainer

Michel Begue

Version

Alpha 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 is a new version of SME administration manager (e-smith-manager). It is built on Mojolicious, a real-time web framework and provides at least the functions of the original manager in an analogous presentation with however a different user interface. It has the advantage of being much more evolutionary.


Installation

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

Optionally

smeserver-manager-locale-xx for an additionnal language (still incomplete),
smeserver-manager-AdminLTE for a more sophisticated theme.

you may want to install jquery for better responsiveness (in this case put it before),

yum --enablerepo=epel install js-jquery

If you install jquery after smeserver-manager, you will have to manually add the link to jquery like this:

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

then log to your new server-manager : https://hostname/smanager and use it as the other manager.

Configuration

configuration db values

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

Mojolicious configuration (extracts)

{
# 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,
}

Systemctl service

smanager is the hypnotoad service managed by systemctl. The initialization phase of smanager defines the parameters taken into account. With each modification a reload is necessary.

systemctl reload smanager

Adjustments and checks

the two 'mode' and 'debug' parameters can be manually modified to view the process and in case of a crash. They are in the file: /usr/share/smanager/conf/srvmngr.conf change 'mode' value to 'development' and/or 'debug' to 1.

reload the service the service

The log informations are in /usr/share/smanager/log/{production|development}.log depending on current mode. Other informations are classically found in /var/log/httpd or using

systemctl status -l smanager

Contribs

Some contributions are already adapted to this new version and will be automatically integrated as soon as they are installed. Their numbers should continue to grow.

There is a wiki document here which describes the process you might go through to convert an existing contrib to one that integrates with Server manager 2. It uses the DHCPManager contrib as an example.

Uninstall

yum remove smeserver-manager js-jquery

Notes

sme-server is the component and smeserver-manager is the package.

Bugs

Please raise bugs under the SME-Server section in bugzilla

and select the smeserver-manager component or use this link


Below is an overview of the current issues for this package:

IDProductVersionStatusSummary (43 tasks)
12294SME Server 10.X10.1VERIFIEDCorrect Requires in systemd service file
12245SME Server 10.X10.1CONFIRMEDMenu formatting with Server Manager 2 and AdminLTE
12209SME Server 10.X10.0VERIFIEDOnly show Reconfigure button and message after an update if UnsavedChanges='yes'
12174SME Server 10.X10.0CONFIRMEDCGI time-out during yum update post-upgrade event in server-manager
12112SME Server 10.X10.0VERIFIEDupdate to httpd 2.4 syntax (SM2)
11989SME Server 10.X10.0RESOLVEDRollup changes including AdminLTE 3.1
11906SME Server 10.X10.0RESOLVEDSort out spacing in menu when small fonts selected
11881SME Server 10.X10.0RESOLVEDBrowser Error in js for AdminLTE version extraction
11880SME Server 10.X10.0RESOLVEDBrowser error on non login pages (smeserver-manager-AdminLTE)
11863SME Server 10.X10.0RESOLVEDUpdate css and checkbox for dark mode
11861SME Server 10.X10.0VERIFIEDUpdate to AdminLTE 3.2
11846SME Server 10.X10.0CONFIRMEDWarning from Browser when jquery loaded - unable to find .map file
11833SME Server 10.X10.0RESOLVEDMore formatting
11830SME Server 10.X10.0RESOLVEDUpdate Datetime and reboot ep files to help AdminLTE
11827SME Server 10.X10.0VERIFIEDFix format of datetime panel
11826SME Server 10.X10.0RESOLVEDMore format changes to make it compatible
11825SME Server 10.X10.0RESOLVEDReview configuration panel - In Server-Gateway, External IP and DHCP range not properly displayed
11824SME Server 10.X10.0RESOLVEDUser and Hostnames list does not act responsivly as window is made smaller
11823SME Server 10.X10.0RESOLVEDIn Review Configuration - IP address not show correctly for Server Gateway
11822SME Server 10.X10.0RESOLVEDIn Review Configuration virtual domains not aligned.
11821SME Server 10.X10.0CONFIRMEDMail log file analysis shows blank
11817SME Server 10.X10.0CONFIRMEDGet Breadcrumb trail working
11816SME Server 10.X10.0VERIFIEDAdd Forgotten Password link to login panel
11815SME Server 10.X10.0RESOLVEDBring Group add and update panels into line with others
11810SME Server 10.X10.0CONFIRMEDLicense panel is left truncated, does not flow.
11809SME Server 10.X10.0CONFIRMEDLack of a space after full stop and comma in English version of Server Manager2 panel descriptions in some places.
11785SME Server 10.X10.0RESOLVEDSort out alignment of descriptions and inputs on panels, and make work for mobile screens
11783SME Server 10.X10.0RESOLVEDBring update event into line with smanager update event
11782SME Server 10.X10.0RESOLVEDFix up Configuration Review panel
11781SME Server 10.X10.0RESOLVEDUpdate login screen and add password visibility
11780SME Server 10.X10.0RESOLVEDAdd in dummy classes to div in each ep file for future themes
11708SME Server 10.X10.0RESOLVEDCSRF security check should fully protect smeserver-manager
11670SME Server 10.X10.0CONFIRMEDTimeout on restore from workstation
11623SME Server 10.X10.0rc1RESOLVEDUpdate default.ep.html to new contribs-header and remove heading from status line
11572SME Server 10.X10.0rc1RESOLVEDUpdate to AdminLTE 3.1
11571SME Server 10.X10.0rc1RESOLVEDTheme switch no longer works.
11478SME Server 10.X10.0rc1CONFIRMEDConfiguration report (under Server Manager/Report a bug) Includes some parts of the standard install
11185SME Server 10.X10.0a5RESOLVEDNew version for smeserver-manager
10926SME Server 10.X10.0a4CONFIRMEDCSRF time-out during yum update in server-manager
10440SME Server 10.X10.0rc1CONFIRMEDemail to pseudonyms pointing to another pseudonym fails when they are another full email
9844SME Server 10.X10.0a4UNCONFIRMEDUser-password gives misleading error on entering same password
7463SME Server 10.X10.0a4CONFIRMEDHeadingWeight Wrong in Server Panel navigation scripts
5382SME Server 10.X10.0rc1CONFIRMEDHostnames/addresses panel doesn't reject same IP with different mac

Changelog

Only released version in smeserver are listed here.