Stargate Logo  Secured by phpPhobos

Shadow Family   
  Login  - No Account?  Create One   
Tuesday, 27 July 2021  -
News FeedRSS Feed
rss rdf  
    Site Documentation 
    About me 
  Legal Notice 
    Web Links 
    RC Models 
    RC Batteries 
    Build blogs 
    DNS Blacklist 
 Registered Bloggers 
  Blog de Maiwenn 
  Blog de Morgane 
  Joerg's Blog 
 Gallery [Listing]
  > Diving 
  > Martinique 
  > Steampunk 
  > RC Planes 
  > FPV Drones 
  > Indy travels 
  > Budapest 
 FAQ  [ Topics  ]
 Common Linux problem... 
 Routerboard RBxxxAH 
 Apple Mac-mini 
 PHP Phobos 
 Stargate's Backup sc... 
 eBook Reader / PRS-5... 
 RC Models 
 Server in SolLan 
 System Stats [ Index ]
  > Gateway 
  > Stargate 
  > Halley 
  > RemPi 
 Weather Station
  > WeatherPI 
->  Stargate daily news 
Server upgrade Disks and OS release  
Posted by smurphy on Friday, 19 April 2019 - 19:42  GMT
spacer line
Stargate Icon

 The mail, web and DNS server has received new disks. The old 5400RPM 320Gbytes HDDs have been replaced by 1Tb SSD disks. This will allow to use larger quotas on the mail-server side, and will be specially faster for all requests that are ran on the server.

The day after the OS has been upgraded from Ubuntu 14.04 LTS to Ubuntu 18.04 LTS getting through Ubuntu LTS 16.04 LTS.
The main issues have been the passage from upstart to systemd, where some applications (mysql)_ could not be upgraded correctly as the upgraded needed to run mysql_upgrade, but the upgrader did shut down mysql for the process. Hence - stopping the upgrader just after he stopped the mysql-server, in another terminal, starting the mysqld, and then sending the CONT signal to the ugprader made the trick.
The second issue was apparmor and some applications not working correctly (bind9), had to be fixed by adding some special paths for bind9 to gather its data.
The mysql DB 5.7 is crap. Most application stopped working with it. Luckily I noticed that my dev environment using Mariadb 10.1 worked, so I tried upgrading the DB to mariadb 10.3 (10.2+ is required, as previous versions would not be compatible with mysql 5.7). That upgraded, all apps worked as before.
Luyckily dovecot, postfix, opendkim and the greylisting stuff were not impacted by the upgrade. Apparently admins of these installations don't like upgrades to mess with all this.
Lessons learned: Next developments will make sure the applications are running inside docker containers. This way - an OS Update will not impact any of the settings.  

View DetailsView details
Print ViewPrint view
Comments below
Database not dockerized by admin @ 2019-09-11 17:03:38
 Because some functions can't access the MySQL DB inside docker, and user ACL was becoming a nightmare. The strategy was changed to leave the DB running on the host system. So far the Web-Server including dynamic blacklisting is working as required. Scripts had to be adapted for the new locations etc.

Why the change? by smurphy @ 2019-09-11 17:04:26
 Why not connect all containers together to run it inside the docker environment alltogether?

Running system jobs by admin @ 2019-09-11 17:06:33
 Regular system jobs are running on the local host and require access to the DB. Interfacing with Docker call in front made some bail out. When using a local IP Address as host to connect mysql, most apps try to use the socket to connect to the DB and the communication fails.
When I figure this part out, I'll change it.

  Back Back  
[  Current weather  ]

Weather @ 23:03 on Tue, Jul 27 2021 UTC
Location: Clermont de l'Oise
  > Temperature: 16.4 °C
  > Atmospheric Pressure: 1,003.09 hPa
  > Humidity: 98.60 %
  > Precipitation: 20.96 mm
  > Wind speed: 0.00 Kph
  > Wind Gust: 0.00 Kph
  > Wind Direction: 45° NE
  > Air Quality: 500 µg/m³
  > Lightning counter: 61
  > Light: 0Lux
 Recent links [ Index ]
  > Digital Attack Map 
  > Password Meter 
  > Mini Case 
  > ArduPilot Planes 
  > INAV 
  > Shortcut 
  > Lakemont Editions 
  > What Kind of Etherne... 
  > PitLab 
 > Site Hits: 11.688.042
   - Linux: 37,78%
   - Windows: 44,23%
   - Macintosh: 5,07%
   - Other: 12,92%
 Download [ Index ]
  > lircd file for OSMC/... 
  > goscan 
  > pcap analysis script 
  > WinSCP 
  > Backuper 
  > Applesmc fan control... 
  > cryptsetup wrapper s... 
  > Cryptsetup Static Bi... 
  > Atmel at76c503 rfmd ... 
  > Atmel at76c503 rfmd ... 
 [ Past announcements 

 Sunday, 24 April 2016 
 > Blacklisting reaction

 Monday, 21 March 2016 
 > PasteBin released 

 Saturday, 09 January 2016 
 > How to stop Windows 10
 upgrade on Win7/8 

 Sunday, 11 October 2015 
 > ISP instability 

 Wednesday, 26 August 2015 
 > Win 10 and total

 Tuesday, 16 June 2015 
 > New NAS installed 

 Tuesday, 21 April 2015 
 > Firewall updated 

 Thursday, 12 February 2015 
 > Harvester trap rewritten 

 Thursday, 29 January 2015 
 > MX Tools interface

 Sunday, 11 January 2015 
 > Localization added to
Problems to  root(-AT-)solsys(-DOT-)org  - best viewed @ 1920bpp
This site is powered by phpPhobos v2.0b446
© J. Mertin smurphy(-AT-)solsys(-DOT-)org 
Icons - Copyright Breeze artists GPL 2+