@extends('control-panel::layout/layout') @section('content')

Required PHP modules {{ ($count = collect($modules)->filter(function ($extension) { return $extension['status'] != 'Installed'; })->count()) ? "($count missing)" : '' }}


@foreach ($modules as $module) @if ($module['status'] != 'Installed') @else @endif @endforeach

Server configs

Taken from php.ini

@foreach ($serverConfigs as $config) @endforeach
Config Value Recommended
{{ $config['config'] }} {{ $config['value'] }} -

Crontab

Heads up!
Crontabs should be executed by the user www-data. If added by any other user, the application is likely to fail.
@forelse ($crontabs as $crontab) @empty @endforelse
Frequency Command Status
{{ $crontab['frequency'] }}
{{ $crontab['command'] }} 
@if ($crontab['status']) @else @endif
Warning: Crontabs not added in this server!

Queue services


@if ($queueServices['error'])

{{ $queueServices['error'] }}

@endif
{{ trim(implode("\n", $queueServices['data'])) }}

File permissions

They are main folders; not the entire list.

@forelse ($paths as $path) @if ($path['error']) @else @endif @empty @endforelse
Directory Owner Permission Write access
{{ $path['path'] }} {{ $path['error'] }}
{{ $path['path'] }} {{ $path['owner'] }}:{{ $path['group'] }} {{ $path['permissions'] }} {{ $path['writable'] }}
Main files not found. Please check read access!

Wrong owners {{ $wrongOwners ? '(' . min(count($wrongOwners), 50) . (count($wrongOwners) > 50 ? '+' : '') . ' mismatches)' : '' }}

Scan existing files for wrong owners based on storage. Taking top 50 items

@foreach (array_slice($wrongOwners, 0, 50) as $wrongOwner) @if ($wrongOwner['error']) @else @endif @endforeach
Path Owner
{{ $wrongOwner['error'] }}
{{ $wrongOwner['path'] }} {{ $wrongOwner['owner'] }}:{{ $wrongOwner['group'] }}

Wrong chmod {{ $wrongPermissions ? '(' . min(count($wrongPermissions), 50) . (count($wrongPermissions) > 50 ? '+' : '') . ' mismatches)' : '' }}

Scan existing storage files missing any of read/write/execute

@foreach (array_slice($wrongPermissions, 0, 50) as $wrongPermission) @if ($wrongPermission['error']) @else @endif @endforeach
  Path Owner Permission
{{ $wrongPermission['error'] }}
{!! $wrongPermission['type'] == 'd' ? '' : '' !!} {{ $wrongPermission['path'] }} {{ $wrongPermission['owner'] }}:{{ $wrongPermission['group'] }} {{ $wrongPermission['permissions'] }}
@endsection