@extends('backend.layouts.main') @section('title') {{ __('Maintenance') }} @endsection @section('content')
{{ __('System info') }}{{ $system_info }}
{{ __('Application version') }}
@if(version_compare($releases->app->version, config('app.version'), '>')) {{ __('New version :v is available.', ['v' => $releases->app->version]) }} @else {{ __('The latest application release is installed.') }} @endif
{{ __('Add-ons') }}
@if(!empty($outdated_addons))
{{ __('The following add-ons can be upgraded: :list.', ['list' => implode(', ', array_column($outdated_addons, 'name'))]) }}
@else {{ __('All add-ons are up-to-date.') }} @endif
{{ __('Maintenance mode') }}

{{ __('Enable maintenance mode when you are upgrading the application, installing add-ons or doing other service tasks. All users except for administrators will not be able to use the website.') }}

@if(!app()->isDownForMaintenance())

{{ __('Maintenance mode is currently disabled.') }}

@csrf
@else

{{ __('Maintenance mode is currently enabled.') }}

@csrf
@endif
{{ __('Cache') }}

{{ __('Application templates, config files, translation strings are cached. It is necessary to clear cache when making any changes to the source code or installing upgrades.') }}

@csrf
{{ __('Database updates') }}

{{ __('When upgrading to a new version of the application it is essentially to run database updates.') }}

@csrf
{{ __('Tasks') }}

{{ __('The app provides a number of commands, which can be executed to perform certain actions.') }}

@csrf
{{ __('Cron') }}

{{ __('Certain tasks should run on a regular basis. In order for the application to execute them automatically you should add the following system cron job:') }}

* * * * * {{ PHP_BINDIR . DIRECTORY_SEPARATOR }}php -d register_argc_argv=On {{ base_path() }}/artisan schedule:run >> /dev/null 2>&1

{{ __('Please note that the command-line PHP version on your server should also meet the PHP version requirements, otherwise the cron job will fail to execute.') }} {{ __('On some servers with multi-PHP versions support you might need to explicitly specify the path to the proper version of PHP.') }}

@csrf
{{ __('Logs') }}
@if($log_size)

{{ __('Application log file size is :n MB.', ['n' => sprintf('%.2f', $log_size)]) }}

{{ __('View') }} {{ __('Download') }} @else

{{ __('No application log file found.') }}

@endif
@endsection