Move the system maintenance settings from variable to config.
function system_update_8016() { update_variables_to_config('system.maintenance', array( 'maintenance_mode' => 'enabled', 'maintenance_mode_message' => 'message', )); }