@extends('backend.partials.master') @section('title',___('admin.system_update_c3c698')) @section('maincontent')

{{ ___('admin.system_update_c3c698') }}

{{ ___('admin.current_version_3b58d4') }} {{ $version }}

@if($pendingVersion)
The files for {{ $pendingVersion }} are installed, but the database is still on {{ $version }}. Open Manual update below and click Finalize manual update to finish. Updating from any earlier version (including v1.0.0) is a single step.
@endif @php $reportLines = $updateReport ?: null; @endphp @if($reportLines || $latestLog)
{{ $reportLines ? 'What this update applied' : 'Last update ('.$latestLog['name'].')' }}
    @foreach($reportLines ?: array_slice($latestLog['lines'], 1) as $line)
  • {{ $line }}
  • @endforeach
@endif @php $checkFails = collect($serverChecks)->where('status', 'fail'); $checkWarns = collect($serverChecks)->where('status', 'warn'); $uploadLimitText = \App\Services\Upgrade\ServerCheck::human($uploadLimit); @endphp @if(request('upload') === 'too_large')
{{ ___('admin.su_upload_too_large', ['limit' => $uploadLimitText]) }}
@endif {{-- Server check: what the automatic update needs from this host. --}}
{{ ___('admin.su_check_title') }}
@if($checkFails->isNotEmpty())

{{ ___('admin.su_blocked') }}

@elseif($checkWarns->isNotEmpty())

{{ ___('admin.su_warn_note') }}

@else

{{ ___('admin.su_ready') }}

@endif
    @foreach($serverChecks as $check) @php $icon = ['ok' => 'fa-circle-check text-success', 'warn' => 'fa-triangle-exclamation text-warning', 'fail' => 'fa-circle-xmark text-danger'][$check['status']]; @endphp
  • {{ $check['label'] }}{{ $check['value'] }}
    @if($check['hint']){{ $check['hint'] }}@endif
  • @endforeach
{{ ___('admin.automatic_update_7d3e7d') }}

{{ ___('admin.upload_the_latest_official_c9ce6a') }} WebSourceCode {{ ___('admin.zip_and_click_install_update_the_zip_may_contain_the_pr_97c07d') }} WebSourceCode/ {{ ___('admin.folder_customer_uploads_708fdb') }} .env, storage {{ ___('admin.and_cffa50') }} vendor {{ ___('admin.remain_untouched_6bccc2') }}

@csrf
@error('update_zip'){{ $message }}@enderror

{{ ___('admin.su_upload_limit_note', ['limit' => $uploadLimitText]) }}

@if($checkFails->isNotEmpty())

{{ ___('admin.su_fix_first') }}

@endif
{{ ___('admin.su_uploading') }}
{{ ___('admin.manual_update_cpanel_76e0ca') }}

{{ ___('admin.if_zip_upload_is_blocked_take_a_backup_then_copy_paste__55bd09') }} {{ ___('admin.contents_4a756c') }} {{ ___('admin.of_the_latest_383ec4') }} WebSourceCode/ {{ ___('admin.folder_not_the_folder_itself_including_d540a6') }} travelio-update.json{{ ___('admin.into_the_project_root_and_choose_a5a7b2') }} {{ ___('admin.replace_all_606bf0') }}{{ ___('admin.do_not_replace_58e347') }} .env, storage, vendor, public/uploads {{ ___('admin.or_175835') }} public/storage{{ ___('admin.then_refresh_this_page_once_the_new_version_is_auto_det_8040cb') }}

{{ ___('admin.prefer_ssh_the_same_copy_done_as_one_command_instead_of_b273b9') }} WebSourceCode/ {{ ___('admin.was_extracted_99c7ff') }}

rsync -avz --exclude='/.env' --exclude='/storage' --exclude='/vendor' --exclude='/public/uploads' --exclude='/public/storage' WebSourceCode/ user@your-server:/path/to/project/

{{ ___('admin.already_unzipped_it_on_the_server_itself_e_g_inside_cpa_d4a511') }} {{ ___('admin.file_manager_0f58d7') }} {{ ___('admin.extract_run_the_same_command_locally_on_the_server_inst_c81f9f') }}

rsync -avz --exclude='/.env' --exclude='/storage' --exclude='/vendor' --exclude='/public/uploads' --exclude='/public/storage' /path/to/WebSourceCode/ /path/to/project/
@csrf
@endsection @push('scripts') @endpush