From a9c6d64c52b7619c0a27728fdbff8e234c6b08f3 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Feb 2025 22:49:49 -0700 Subject: [PATCH] Fix #5632 --- .../views/admin/diagnostics/home.blade.php | 1787 +++++++++-------- 1 file changed, 911 insertions(+), 876 deletions(-) diff --git a/resources/views/admin/diagnostics/home.blade.php b/resources/views/admin/diagnostics/home.blade.php index b23652b51..0bc6cc07a 100644 --- a/resources/views/admin/diagnostics/home.blade.php +++ b/resources/views/admin/diagnostics/home.blade.php @@ -1,887 +1,922 @@ @extends('admin.partial.template-full') @section('section') -
-

Diagnostics

+
+
+
+
+
+

Diagnostics

+
+
+ + +
-
-

- Information - Copy -

- -
- - -
    -

    - Troubleshooting -

    - -
  • - Bootstrap: - {{is_writable(base_path('bootstrap/')) ? 'Writable ✅' : 'Not writable ❌'}} -
  • -
  • - Storage: - {{is_writable(base_path('storage/')) ? 'Writable ✅' : 'Not writable ❌'}} -
  • - - @foreach([ - 'bcmath', - 'gd', - 'imagick', - 'ctype', - 'curl', - 'intl', - 'json', - 'mbstring', - 'openssl', - 'redis' - ] as $ext) - @if(!extension_loaded($ext)) -
  • - PHP Module {{$ext}}: - Not installed/Not loaded ❌ -
  • - @endif - @endforeach - -
  • - DATABASE Ping: - {{ \DB::connection()->getPDO() ? 'Pong! Connected to DB "' . \DB::connection()->getDatabaseName() . '" ✅' : 'DB Not Responding ❌' }} -
  • -
  • - REDIS Ping: - {{ \Illuminate\Support\Facades\Redis::command('ping') ? 'Pong! Connected to Redis ✅' : 'Redis Not Responding ❌' }} -
  • -
  • - ACTIVITYPUB instance actor created: - {{ \App\Models\InstanceActor::count() ? '✅ true' : '❌ false' }} -
  • -
  • - ACTIVITYPUB instance actor cached: - {{ Cache::get(\App\Models\InstanceActor::PROFILE_KEY) ? '✅ true' : '❌ false' }} -
  • -
  • - OAUTH enabled: - {{ (bool) config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }} -
  • -
  • - OAUTH token_expiration - {{ config_cache('instance.oauth.token_expiration') }} days -
  • -
  • - OAUTH public key exists: - {{ file_exists(storage_path('oauth-public.key')) || config_cache('passport.public_key') ? '✅ true' : '❌ false' }} -
  • -
  • - OAUTH private key exists: - {{ file_exists(storage_path('oauth-private.key')) || config_cache('passport.private_key') ? '✅ true' : '❌ false' }} -
  • - -
    -

    - Important Information -

    - - - @if(function_exists('shell_exec')) -
  • - Version: - {{config('pixelfed.version')}}-{{ @shell_exec('git log --pretty="%h" -n1 HEAD') ?? 'unknown git commit' }} -
  • - @else -
  • - Version: - {{config('pixelfed.version')}} -
  • - @endif - -
  • - Database: - @php($v = explode(' ', DB::select('select version() as version')[0]->version)) - {{config('database.default')}} ({{count($v) == 1 ? $v[0] : $v[1]}}) -
  • -
  • - APP_URL: - {{config_cache('app.url')}} -
  • -
  • - APP_DOMAIN: - {{config_cache('pixelfed.domain.app')}} -
  • -
  • - ADMIN_DOMAIN: - {{config_cache('pixelfed.domain.admin')}} -
  • -
  • - SESSION_DOMAIN: - {{config_cache('session.domain')}} -
  • - -
    -

    - PHP Variables -

    -
  • - PHP: - {{phpversion()}} -
  • -
  • - PHP INI memory_limit: - {{ ini_get('memory_limit') }} -
  • -
  • - PHP INI post_max_size: - {{ ini_get('post_max_size') }} -
  • -
  • - PHP INI upload_max_filesize: - {{ ini_get('upload_max_filesize') }} -
  • -
  • - PHP INI max_file_uploads: - {{ ini_get('max_file_uploads') }} -
  • -
  • - PHP INI max_execution_time: - {{ ini_get('max_execution_time') }} -
  • -
  • - PHP INI max_input_time: - {{ ini_get('max_input_time') }} -
  • - -
  • - PHP INI file_uploads (On): - {{ ini_get('file_uploads') }} -
  • -
  • - PHP INI - Security allow_url_fopen (true): - {{ ini_get('allow_url_fopen') }} -
  • -
  • - PHP INI - Security allow_url_include (false): - {{ ini_get('allow_url_include') }} -
  • -
  • - PHP INI - Security expose_php (false): - {{ ini_get('expose_php') }} -
  • -
  • - PHP INI - Security display_errors (false): - {{ ini_get('display_errors') }} -
  • -
  • - PHP INI - Security display_startup_errors (false): - {{ ini_get('display_startup_errors') }} -
  • -
  • - PHP INI - Security log_errors (true): - {{ ini_get('log_errors') }} -
  • -
  • - PHP INI - Security ignore_repeated_errors (false): - {{ ini_get('ignore_repeated_errors') }} -
  • -
  • - PHP INI - Security disable_functions: - {{ ini_get('disable_functions') }} -
  • - -
    -

    - Pixelfed Variables (No Secrets) -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    CONFIGVariable NameDetails
    APPAPP_NAME"{{config_cache('app.name')}}"
    APPAPP_ENV"{{config_cache('app.env')}}"
    APPAPP_DEBUG{{config_cache('app.debug') ? '✅ true' : '❌ false' }}
    APPAPP_URL"{{config_cache('app.url')}}"
    APPAPP_LOCALE"{{config_cache('app.locale')}}"
    APPAPP_FALLBACK_LOCALE"{{config_cache('app.fallback_locale')}}"
    BROADCASTINGBROADCAST_DRIVER"{{config_cache('broadcasting.default')}}"
    CACHECACHE_DRIVER"{{config_cache('cache.default')}}"
    CAPTCHACAPTCHA_ENABLED{{ config_cache('captcha.enabled') ? '✅ true' : '❌ false' }}
    DATABASEDB_CONNECTION"{{config_cache('database.default')}}"
    DATABASEREDIS_CLIENT"{{config_cache('database.redis.client')}}"
    EXPEXP_LC{{config_cache('exp.lc') ? '✅ true' : '❌ false' }}
    EXPEXP_TOP{{config_cache('exp.top') ? '✅ true' : '❌ false' }}
    EXPEXP_POLLS{{config_cache('exp.polls') ? '✅ true' : '❌ false' }}
    EXPEXP_CPT{{config_cache('exp.cached_public_timeline') ? '✅ true' : '❌ false' }}
    EXPEXP_GPS{{config_cache('exp.gps') ? '✅ true' : '❌ false' }}
    EXPEXP_EMC{{config_cache('exp.emc') ? '✅ true' : '❌ false' }}
    FEDERATIONACTIVITY_PUB{{(bool) config_cache('federation.activitypub.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_OUTBOX{{config_cache('federation.activitypub.outbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_INBOX{{config_cache('federation.activitypub.inbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_SHAREDINBOX{{config_cache('federation.activitypub.sharedInbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_REMOTE_FOLLOW{{config_cache('federation.activitypub.remoteFollow') ? '✅ true' : '❌ false' }}
    FEDERATIONACTIVITYPUB_DELIVERY_TIMEOUT"{{config_cache('federation.activitypub.delivery.timeout')}}"
    FEDERATIONACTIVITYPUB_DELIVERY_CONCURRENCY"{{config_cache('federation.activitypub.delivery.concurrency')}}"
    FEDERATIONAP_LOGGER_ENABLED{{config_cache('federation.activitypub.delivery.logger.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONATOM_FEEDS{{config_cache('federation.atom.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONREMOTE_AVATARS{{config_cache('federation.avatars.store_local') ? '✅ true' : '❌ false' }}
    FEDERATIONNODEINFO{{config_cache('federation.nodeinfo.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONWEBFINGER{{config_cache('federation.webfinger.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONPF_NETWORK_TIMELINE{{(bool) config_cache('federation.network_timeline') ? '✅ true' : '❌ false' }}
    FEDERATIONPF_NETWORK_TIMELINE_DAYS_FALLOFF{{config('federation.network_timeline_days_falloff') }}
    FEDERATIONCUSTOM_EMOJI{{(bool) config_cache('federation.custom_emoji.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONCUSTOM_EMOJI_MAX_SIZE"{{config_cache('federation.custom_emoji.max_size')}}"
    FILESYSTEMSFILESYSTEM_DRIVER"{{config_cache('filesystems.default')}}"
    FILESYSTEMSFILESYSTEM_CLOUD"{{config_cache('filesystems.cloud')}}"
    HASHINGBCRYPT_COST"{{config_cache('hashing.bcrypt.rounds')}}"
    HORIZONHORIZON_PREFIX"{{config_cache('horizon.prefix')}}"
    HORIZONHORIZON_MEMORY_LIMIT"{{config_cache('horizon.memory_limit')}}"
    HORIZONHORIZON_BALANCE_STRATEGY"{{config_cache('horizon.environments.production.supervisor-1.balance')}}"
    HORIZONHORIZON_MIN_PROCESSES"{{config_cache('horizon.environments.production.supervisor-1.minProcesses')}}"
    HORIZONHORIZON_MAX_PROCESSES"{{config_cache('horizon.environments.production.supervisor-1.maxProcesses')}}"
    HORIZONHORIZON_SUPERVISOR_MEMORY"{{config_cache('horizon.environments.production.supervisor-1.memory')}}"
    HORIZONHORIZON_SUPERVISOR_TRIES"{{config_cache('horizon.environments.production.supervisor-1.tries')}}"
    HORIZONHORIZON_SUPERVISOR_NICE"{{config_cache('horizon.environments.production.supervisor-1.nice')}}"
    HORIZONHORIZON_SUPERVISOR_TIMEOUT"{{config_cache('horizon.environments.production.supervisor-1.timeout')}}"
    HORIZONHORIZON_DARKMODE{{config_cache('horizon.darkmode') ? '✅ true' : '❌ false' }}
    IMAGEIMAGE_DRIVER "{{config_cache('image.driver')}}"
    INSTANCEINSTANCE_DESCRIPTION"{{config_cache('instance.description')}}"
    INSTANCEINSTANCE_CONTACT_FORM{{config_cache('instance.contact.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_CONTACT_MAX_PER_DAY"{{config_cache('instance.contact.max_per_day')}}"
    INSTANCEINSTANCE_DISCOVER_PUBLIC{{config_cache('instance.discover.public') ? '✅ true' : '❌ false' }}
    INSTANCEEXP_LOOPS{{config_cache('instance.discover.loops.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_PUBLIC_HASHTAGS{{config_cache('instance.discover.tags.is_public') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_CONTACT_EMAIL"{{config_cache('instance.email')}}"
    INSTANCEINSTANCE_PUBLIC_LOCAL_TIMELINE{{config_cache('instance.timeline.local.is_public') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHED{{config('instance.timeline.network.cached') }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHE_DROPOFF{{config('instance.timeline.network.cache_dropoff') }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHE_MAX_HOUR_INGEST{{config('instance.timeline.network.max_hours_old') }}
    INSTANCEPAGE_404_HEADER"{{config_cache('instance.page.404.header')}}"
    INSTANCEPAGE_404_BODY"{{config_cache('instance.page.404.body')}}"
    INSTANCEPAGE_503_HEADER"{{config_cache('instance.page.503.header')}}"
    INSTANCEPAGE_503_BODY"{{config_cache('instance.page.503.body')}}"
    INSTANCEBANNED_USERNAMES"{{config_cache('instance.username.banned')}}"
    INSTANCEUSERNAME_REMOTE_FORMAT"{{config_cache('instance.username.remote.format')}}"
    INSTANCEUSERNAME_REMOTE_CUSTOM_TEXT"{{config_cache('instance.username.remote.custom')}}"
    INSTANCESTORIES_ENABLED{{(bool) config_cache('instance.stories.enabled') ? '✅ true' : '❌ false' }}
    INSTANCERESTRICTED_INSTANCE{{config_cache('instance.restricted.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEOAUTH_TOKEN_DAYS"{{config_cache('instance.oauth.token_expiration')}}"
    INSTANCEOAUTH_REFRESH_DAYS"{{config_cache('instance.oauth.refresh_expiration')}}"
    INSTANCEOAUTH_PAT_ENABLED{{config_cache('instance.oauth.pat.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEOAUTH_PAT_ID"{{config_cache('instance.oauth.pat.id')}}"
    INSTANCEENABLE_COVID_LABEL{{config_cache('instance.label.covid.enabled') ? '✅ true' : '❌ false' }}
    INSTANCECOVID_LABEL_URL"{{config_cache('instance.label.covid.url')}}"
    INSTANCECOVID_LABEL_ORG"{{config_cache('instance.label.covid.org')}}"
    INSTANCEENABLE_CONFIG_CACHE{{config_cache('instance.enable_cc') ? '✅ true' : '❌ false' }}
    LDAPLDAP_CONNECTION"{{config_cache('ldap.default')}}"
    LDAPLDAP_LOGGING{{config_cache('ldap.logging') ? '✅ true' : '❌ false' }}
    LDAPLDAP_CACHE{{config_cache('ldap.cache.enabled') ? '✅ true' : '❌ false' }}
    LOGGINGLOG_CHANNEL"{{config_cache('logging.default')}}"
    LOGGINGLOG_LEVEL (stack)"{{config_cache('logging.channels.single.level')}}"
    MAILMAIL_DRIVER"{{config_cache('mail.driver')}}"
    MAILMAIL_HOST"{{config_cache('mail.host')}}"
    MAILMAIL_PORT"{{config_cache('mail.port')}}"
    MAILMAIL_FROM_ADDRESS"{{config_cache('mail.from.address')}}"
    MAILMAIL_FROM_NAME"{{config_cache('mail.from.name')}}"
    MAILMAIL_ENCRYPTION"{{config_cache('mail.encryption')}}"
    MEDIAMEDIA_EXIF_DATABASE{{config_cache('media.exif.database') ? '✅ true' : '❌ false' }}
    PIXELFEDADMIN_DOMAIN"{{config_cache('pixelfed.domain.admin')}}"
    PIXELFEDAPP_DOMAIN"{{config_cache('pixelfed.domain.app')}}"
    PIXELFEDMEMORY_LIMIT"{{config_cache('pixelfed.memory_limit')}}"
    PIXELFEDOPEN_REGISTRATION{{config_cache('pixelfed.open_registration') ? '✅ true' : '❌ false' }}
    PIXELFEDMAX_ACCOUNT_SIZE (KB)"{{config_cache('pixelfed.max_account_size')}}"
    PIXELFEDMAX_PHOTO_SIZE (KB)"{{config_cache('pixelfed.max_photo_size')}}"
    PIXELFEDMAX_AVATAR_SIZE (KB)"{{config_cache('pixelfed.max_avatar_size')}}"
    PIXELFEDMAX_CAPTION_LENGTH"{{config_cache('pixelfed.max_caption_length')}}"
    PIXELFEDMAX_BIO_LENGTH"{{config_cache('pixelfed.max_bio_length')}}"
    PIXELFEDMAX_NAME_LENGTH"{{config_cache('pixelfed.max_name_length')}}"
    PIXELFEDMIN_PASSWORD_LENGTH"{{config_cache('pixelfed.min_password_length')}}"
    PIXELFEDMAX_ALBUM_LENGTH"{{config_cache('pixelfed.max_album_length')}}"
    PIXELFEDENFORCE_EMAIL_VERIFICATION{{config_cache('pixelfed.enforce_email_verification') ? '✅ true' : '❌ false' }}
    PIXELFEDIMAGE_QUALITY (1-100)"{{config_cache('pixelfed.image_quality')}}"
    PIXELFEDACCOUNT_DELETION{{config_cache('pixelfed.account_deletion') ? '✅ true' : '❌ false' }}
    PIXELFEDACCOUNT_DELETE_AFTER{{config_cache('pixelfed.account_delete_after') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_ENABLE_CLOUD{{(bool) config_cache('pixelfed.cloud_storage') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MAX_USERS{{config_cache('pixelfed.max_users') ? config('pixelfed.max_users') : '❌ false'}}
    PIXELFEDPF_OPTIMIZE_IMAGES{{(bool) config_cache('pixelfed.optimize_image') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_OPTIMIZE_VIDEOS{{(bool) config_cache('pixelfed.optimize_video') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_USER_INVITES{{config_cache('pixelfed.user_invites.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_USER_INVITES_TOTAL_LIMIT"{{config_cache('pixelfed.user_invites.limit.total')}}"
    PIXELFEDPF_USER_INVITES_DAILY_LIMIT"{{config_cache('pixelfed.user_invites.limit.daily')}}"
    PIXELFEDPF_USER_INVITES_MONTHLY_LIMIT"{{config_cache('pixelfed.user_invites.limit.monthly')}}"
    PIXELFEDPF_MAX_COLLECTION_LENGTH"{{config_cache('pixelfed.max_collection_length')}}"
    PIXELFEDMEDIA_TYPES"{{config_cache('pixelfed.media_types')}}"
    PIXELFEDLIMIT_ACCOUNT_SIZE{{config_cache('pixelfed.enforce_account_limit') ? '✅ true' : '❌ false' }}
    PIXELFEDIMPORT_INSTAGRAM{{config_cache('pixelfed.import.instagram.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDIMPORT_INSTAGRAM_POST_LIMIT"{{config_cache('pixelfed.import.instagram.limits.posts')}}"
    PIXELFEDIMPORT_INSTAGRAM_SIZE_LIMIT"{{config_cache('pixelfed.import.instagram.limits.size')}}"
    PIXELFEDOAUTH_ENABLED{{ (bool) config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_BOUNCER_ENABLED{{(bool) config_cache('pixelfed.bouncer.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MEDIA_FAST_PROCESS{{config_cache('pixelfed.media_fast_process') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MEDIA_MAX_ALTTEXT_LENGTH"{{config_cache('pixelfed.max_altext_length')}}"
    PURIFYRESTRICT_HTML_TYPESBROKEN
    QUEUEQUEUE_DRIVER"{{config_cache('queue.default')}}"
    SESSIONSESSION_DRIVER"{{config_cache('session.driver')}}"
    SESSIONSESSION_LIFETIME"{{config_cache('session.lifetime')}}"
    SESSIONSESSION_DOMAIN"{{config_cache('session.domain')}}"
    TRUSTEDPROXYTRUST_PROXIES"{{config_cache('trustedproxy.proxies')}}"
    -
- - + + + Mobile App Test + +
+
+
+
+
-
-
-
- - -

The payload is from the "Something went wrong" page, anyone can copy the payload for you to decrypt.
Contents are encrypted due to potential sensitive information.

-
-
+
+
+
+
+
+
    +

    + Troubleshooting +

    + +
  • + Bootstrap: + {{is_writable(base_path('bootstrap/')) ? 'Writable ✅' : 'Not writable ❌'}} +
  • +
  • + Storage: + {{is_writable(base_path('storage/')) ? 'Writable ✅' : 'Not writable ❌'}} +
  • + + @foreach([ + 'bcmath', + 'gd', + 'imagick', + 'ctype', + 'curl', + 'intl', + 'json', + 'mbstring', + 'openssl', + 'redis' + ] as $ext) + @if(!extension_loaded($ext)) +
  • + PHP Module {{$ext}}: + Not installed/Not loaded ❌ +
  • + @endif + @endforeach + +
  • + DATABASE Ping: + {{ \DB::connection()->getPDO() ? 'Pong! Connected to DB "' . \DB::connection()->getDatabaseName() . '" ✅' : 'DB Not Responding ❌' }} +
  • +
  • + REDIS Ping: + {{ \Illuminate\Support\Facades\Redis::command('ping') ? 'Pong! Connected to Redis ✅' : 'Redis Not Responding ❌' }} +
  • +
  • + ACTIVITYPUB instance actor created: + {{ \App\Models\InstanceActor::count() ? '✅ true' : '❌ false' }} +
  • +
  • + ACTIVITYPUB instance actor cached: + {{ Cache::get(\App\Models\InstanceActor::PROFILE_KEY) ? '✅ true' : '❌ false' }} +
  • +
  • + OAUTH enabled: + {{ (bool) config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }} +
  • +
  • + OAUTH token_expiration + {{ config_cache('instance.oauth.token_expiration') }} days +
  • +
  • + OAUTH public key exists: + {{ file_exists(storage_path('oauth-public.key')) || config_cache('passport.public_key') ? '✅ true' : '❌ false' }} +
  • +
  • + OAUTH private key exists: + {{ file_exists(storage_path('oauth-private.key')) || config_cache('passport.private_key') ? '✅ true' : '❌ false' }} +
  • + +
    +

    + Important Information +

    -
    -
    - -
    -
    + @if(function_exists('shell_exec')) +
  • + Version: + {{config('pixelfed.version')}}-{{ @shell_exec('git log --pretty="%h" -n1 HEAD') ?? 'unknown git commit' }} +
  • + @else +
  • + Version: + {{config('pixelfed.version')}} +
  • + @endif + +
  • + Database: + @php($v = explode(' ', DB::select('select version() as version')[0]->version)) + {{config('database.default')}} ({{count($v) == 1 ? $v[0] : $v[1]}}) +
  • +
  • + APP_URL: + {{config_cache('app.url')}} +
  • +
  • + APP_DOMAIN: + {{config_cache('pixelfed.domain.app')}} +
  • +
  • + ADMIN_DOMAIN: + {{config_cache('pixelfed.domain.admin')}} +
  • +
  • + SESSION_DOMAIN: + {{config_cache('session.domain')}} +
  • + +
    +

    + PHP Variables +

    +
  • + PHP: + {{phpversion()}} +
  • +
  • + PHP INI memory_limit: + {{ ini_get('memory_limit') }} +
  • +
  • + PHP INI post_max_size: + {{ ini_get('post_max_size') }} +
  • +
  • + PHP INI upload_max_filesize: + {{ ini_get('upload_max_filesize') }} +
  • +
  • + PHP INI max_file_uploads: + {{ ini_get('max_file_uploads') }} +
  • +
  • + PHP INI max_execution_time: + {{ ini_get('max_execution_time') }} +
  • +
  • + PHP INI max_input_time: + {{ ini_get('max_input_time') }} +
  • + +
  • + PHP INI file_uploads (On): + {{ ini_get('file_uploads') }} +
  • +
  • + PHP INI - Security allow_url_fopen (true): + {{ ini_get('allow_url_fopen') }} +
  • +
  • + PHP INI - Security allow_url_include (false): + {{ ini_get('allow_url_include') }} +
  • +
  • + PHP INI - Security expose_php (false): + {{ ini_get('expose_php') }} +
  • +
  • + PHP INI - Security display_errors (false): + {{ ini_get('display_errors') }} +
  • +
  • + PHP INI - Security display_startup_errors (false): + {{ ini_get('display_startup_errors') }} +
  • +
  • + PHP INI - Security log_errors (true): + {{ ini_get('log_errors') }} +
  • +
  • + PHP INI - Security ignore_repeated_errors (false): + {{ ini_get('ignore_repeated_errors') }} +
  • +
  • + PHP INI - Security disable_functions: + {{ ini_get('disable_functions') }} +
  • + +
    +

    + Pixelfed Variables (No Secrets) +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    CONFIGVariable NameDetails
    APPAPP_NAME"{{config_cache('app.name')}}"
    APPAPP_ENV"{{config_cache('app.env')}}"
    APPAPP_DEBUG{{config_cache('app.debug') ? '✅ true' : '❌ false' }}
    APPAPP_URL"{{config_cache('app.url')}}"
    APPAPP_LOCALE"{{config_cache('app.locale')}}"
    APPAPP_FALLBACK_LOCALE"{{config_cache('app.fallback_locale')}}"
    BROADCASTINGBROADCAST_DRIVER"{{config_cache('broadcasting.default')}}"
    CACHECACHE_DRIVER"{{config_cache('cache.default')}}"
    CAPTCHACAPTCHA_ENABLED{{ config_cache('captcha.enabled') ? '✅ true' : '❌ false' }}
    DATABASEDB_CONNECTION"{{config_cache('database.default')}}"
    DATABASEREDIS_CLIENT"{{config_cache('database.redis.client')}}"
    EXPEXP_LC{{config_cache('exp.lc') ? '✅ true' : '❌ false' }}
    EXPEXP_TOP{{config_cache('exp.top') ? '✅ true' : '❌ false' }}
    EXPEXP_POLLS{{config_cache('exp.polls') ? '✅ true' : '❌ false' }}
    EXPEXP_CPT{{config_cache('exp.cached_public_timeline') ? '✅ true' : '❌ false' }}
    EXPEXP_GPS{{config_cache('exp.gps') ? '✅ true' : '❌ false' }}
    EXPEXP_EMC{{config_cache('exp.emc') ? '✅ true' : '❌ false' }}
    FEDERATIONACTIVITY_PUB{{(bool) config_cache('federation.activitypub.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_OUTBOX{{config_cache('federation.activitypub.outbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_INBOX{{config_cache('federation.activitypub.inbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_SHAREDINBOX{{config_cache('federation.activitypub.sharedInbox') ? '✅ true' : '❌ false' }}
    FEDERATIONAP_REMOTE_FOLLOW{{config_cache('federation.activitypub.remoteFollow') ? '✅ true' : '❌ false' }}
    FEDERATIONACTIVITYPUB_DELIVERY_TIMEOUT"{{config_cache('federation.activitypub.delivery.timeout')}}"
    FEDERATIONACTIVITYPUB_DELIVERY_CONCURRENCY"{{config_cache('federation.activitypub.delivery.concurrency')}}"
    FEDERATIONAP_LOGGER_ENABLED{{config_cache('federation.activitypub.delivery.logger.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONATOM_FEEDS{{config_cache('federation.atom.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONREMOTE_AVATARS{{config_cache('federation.avatars.store_local') ? '✅ true' : '❌ false' }}
    FEDERATIONNODEINFO{{config_cache('federation.nodeinfo.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONWEBFINGER{{config_cache('federation.webfinger.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONPF_NETWORK_TIMELINE{{(bool) config_cache('federation.network_timeline') ? '✅ true' : '❌ false' }}
    FEDERATIONPF_NETWORK_TIMELINE_DAYS_FALLOFF{{config('federation.network_timeline_days_falloff') }}
    FEDERATIONCUSTOM_EMOJI{{(bool) config_cache('federation.custom_emoji.enabled') ? '✅ true' : '❌ false' }}
    FEDERATIONCUSTOM_EMOJI_MAX_SIZE"{{config_cache('federation.custom_emoji.max_size')}}"
    FILESYSTEMSFILESYSTEM_DRIVER"{{config_cache('filesystems.default')}}"
    FILESYSTEMSFILESYSTEM_CLOUD"{{config_cache('filesystems.cloud')}}"
    HASHINGBCRYPT_COST"{{config_cache('hashing.bcrypt.rounds')}}"
    HORIZONHORIZON_PREFIX"{{config_cache('horizon.prefix')}}"
    HORIZONHORIZON_MEMORY_LIMIT"{{config_cache('horizon.memory_limit')}}"
    HORIZONHORIZON_BALANCE_STRATEGY"{{config_cache('horizon.environments.production.supervisor-1.balance')}}"
    HORIZONHORIZON_MIN_PROCESSES"{{config_cache('horizon.environments.production.supervisor-1.minProcesses')}}"
    HORIZONHORIZON_MAX_PROCESSES"{{config_cache('horizon.environments.production.supervisor-1.maxProcesses')}}"
    HORIZONHORIZON_SUPERVISOR_MEMORY"{{config_cache('horizon.environments.production.supervisor-1.memory')}}"
    HORIZONHORIZON_SUPERVISOR_TRIES"{{config_cache('horizon.environments.production.supervisor-1.tries')}}"
    HORIZONHORIZON_SUPERVISOR_NICE"{{config_cache('horizon.environments.production.supervisor-1.nice')}}"
    HORIZONHORIZON_SUPERVISOR_TIMEOUT"{{config_cache('horizon.environments.production.supervisor-1.timeout')}}"
    HORIZONHORIZON_DARKMODE{{config_cache('horizon.darkmode') ? '✅ true' : '❌ false' }}
    IMAGEIMAGE_DRIVER "{{config_cache('image.driver')}}"
    INSTANCEINSTANCE_DESCRIPTION"{{config_cache('instance.description')}}"
    INSTANCEINSTANCE_CONTACT_FORM{{config_cache('instance.contact.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_CONTACT_MAX_PER_DAY"{{config_cache('instance.contact.max_per_day')}}"
    INSTANCEINSTANCE_DISCOVER_PUBLIC{{config_cache('instance.discover.public') ? '✅ true' : '❌ false' }}
    INSTANCEEXP_LOOPS{{config_cache('instance.discover.loops.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_PUBLIC_HASHTAGS{{config_cache('instance.discover.tags.is_public') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_CONTACT_EMAIL"{{config_cache('instance.email')}}"
    INSTANCEINSTANCE_PUBLIC_LOCAL_TIMELINE{{config_cache('instance.timeline.local.is_public') ? '✅ true' : '❌ false' }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHED{{config('instance.timeline.network.cached') }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHE_DROPOFF{{config('instance.timeline.network.cache_dropoff') }}
    INSTANCEINSTANCE_NETWORK_TIMELINE_CACHE_MAX_HOUR_INGEST{{config('instance.timeline.network.max_hours_old') }}
    INSTANCEPAGE_404_HEADER"{{config_cache('instance.page.404.header')}}"
    INSTANCEPAGE_404_BODY"{{config_cache('instance.page.404.body')}}"
    INSTANCEPAGE_503_HEADER"{{config_cache('instance.page.503.header')}}"
    INSTANCEPAGE_503_BODY"{{config_cache('instance.page.503.body')}}"
    INSTANCEBANNED_USERNAMES"{{config_cache('instance.username.banned')}}"
    INSTANCEUSERNAME_REMOTE_FORMAT"{{config_cache('instance.username.remote.format')}}"
    INSTANCEUSERNAME_REMOTE_CUSTOM_TEXT"{{config_cache('instance.username.remote.custom')}}"
    INSTANCESTORIES_ENABLED{{(bool) config_cache('instance.stories.enabled') ? '✅ true' : '❌ false' }}
    INSTANCERESTRICTED_INSTANCE{{config_cache('instance.restricted.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEOAUTH_TOKEN_DAYS"{{config_cache('instance.oauth.token_expiration')}}"
    INSTANCEOAUTH_REFRESH_DAYS"{{config_cache('instance.oauth.refresh_expiration')}}"
    INSTANCEOAUTH_PAT_ENABLED{{config_cache('instance.oauth.pat.enabled') ? '✅ true' : '❌ false' }}
    INSTANCEOAUTH_PAT_ID"{{config_cache('instance.oauth.pat.id')}}"
    INSTANCEENABLE_COVID_LABEL{{config_cache('instance.label.covid.enabled') ? '✅ true' : '❌ false' }}
    INSTANCECOVID_LABEL_URL"{{config_cache('instance.label.covid.url')}}"
    INSTANCECOVID_LABEL_ORG"{{config_cache('instance.label.covid.org')}}"
    INSTANCEENABLE_CONFIG_CACHE{{config_cache('instance.enable_cc') ? '✅ true' : '❌ false' }}
    LDAPLDAP_CONNECTION"{{config_cache('ldap.default')}}"
    LDAPLDAP_LOGGING{{config_cache('ldap.logging') ? '✅ true' : '❌ false' }}
    LDAPLDAP_CACHE{{config_cache('ldap.cache.enabled') ? '✅ true' : '❌ false' }}
    LOGGINGLOG_CHANNEL"{{config_cache('logging.default')}}"
    LOGGINGLOG_LEVEL (stack)"{{config_cache('logging.channels.single.level')}}"
    MAILMAIL_DRIVER"{{config_cache('mail.default')}}"
    MAILMAIL_HOST"{{config_cache('mail.mailers.smtp.host')}}"
    MAILMAIL_PORT"{{config_cache('mail.mailers.smtp.port')}}"
    MAILMAIL_FROM_ADDRESS"{{config_cache('mail.from.address')}}"
    MAILMAIL_FROM_NAME"{{config_cache('mail.from.name')}}"
    MAILMAIL_ENCRYPTION"{{config_cache('mail.mailers.smtp.encryption')}}"
    MEDIAMEDIA_EXIF_DATABASE{{config_cache('media.exif.database') ? '✅ true' : '❌ false' }}
    PIXELFEDADMIN_DOMAIN"{{config_cache('pixelfed.domain.admin')}}"
    PIXELFEDAPP_DOMAIN"{{config_cache('pixelfed.domain.app')}}"
    PIXELFEDMEMORY_LIMIT"{{config_cache('pixelfed.memory_limit')}}"
    PIXELFEDOPEN_REGISTRATION{{config_cache('pixelfed.open_registration') ? '✅ true' : '❌ false' }}
    PIXELFEDMAX_ACCOUNT_SIZE (KB)"{{config_cache('pixelfed.max_account_size')}}"
    PIXELFEDMAX_PHOTO_SIZE (KB)"{{config_cache('pixelfed.max_photo_size')}}"
    PIXELFEDMAX_AVATAR_SIZE (KB)"{{config_cache('pixelfed.max_avatar_size')}}"
    PIXELFEDMAX_CAPTION_LENGTH"{{config_cache('pixelfed.max_caption_length')}}"
    PIXELFEDMAX_BIO_LENGTH"{{config_cache('pixelfed.max_bio_length')}}"
    PIXELFEDMAX_NAME_LENGTH"{{config_cache('pixelfed.max_name_length')}}"
    PIXELFEDMIN_PASSWORD_LENGTH"{{config_cache('pixelfed.min_password_length')}}"
    PIXELFEDMAX_ALBUM_LENGTH"{{config_cache('pixelfed.max_album_length')}}"
    PIXELFEDENFORCE_EMAIL_VERIFICATION{{config_cache('pixelfed.enforce_email_verification') ? '✅ true' : '❌ false' }}
    PIXELFEDIMAGE_QUALITY (1-100)"{{config_cache('pixelfed.image_quality')}}"
    PIXELFEDACCOUNT_DELETION{{config_cache('pixelfed.account_deletion') ? '✅ true' : '❌ false' }}
    PIXELFEDACCOUNT_DELETE_AFTER{{config_cache('pixelfed.account_delete_after') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_ENABLE_CLOUD{{(bool) config_cache('pixelfed.cloud_storage') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MAX_USERS{{config_cache('pixelfed.max_users') ? config('pixelfed.max_users') : '❌ false'}}
    PIXELFEDPF_OPTIMIZE_IMAGES{{(bool) config_cache('pixelfed.optimize_image') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_OPTIMIZE_VIDEOS{{(bool) config_cache('pixelfed.optimize_video') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_USER_INVITES{{config_cache('pixelfed.user_invites.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_USER_INVITES_TOTAL_LIMIT"{{config_cache('pixelfed.user_invites.limit.total')}}"
    PIXELFEDPF_USER_INVITES_DAILY_LIMIT"{{config_cache('pixelfed.user_invites.limit.daily')}}"
    PIXELFEDPF_USER_INVITES_MONTHLY_LIMIT"{{config_cache('pixelfed.user_invites.limit.monthly')}}"
    PIXELFEDPF_MAX_COLLECTION_LENGTH"{{config_cache('pixelfed.max_collection_length')}}"
    PIXELFEDMEDIA_TYPES"{{config_cache('pixelfed.media_types')}}"
    PIXELFEDLIMIT_ACCOUNT_SIZE{{config_cache('pixelfed.enforce_account_limit') ? '✅ true' : '❌ false' }}
    PIXELFEDIMPORT_INSTAGRAM{{config_cache('pixelfed.import.instagram.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDIMPORT_INSTAGRAM_POST_LIMIT"{{config_cache('pixelfed.import.instagram.limits.posts')}}"
    PIXELFEDIMPORT_INSTAGRAM_SIZE_LIMIT"{{config_cache('pixelfed.import.instagram.limits.size')}}"
    PIXELFEDOAUTH_ENABLED{{ (bool) config_cache('pixelfed.oauth_enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_BOUNCER_ENABLED{{(bool) config_cache('pixelfed.bouncer.enabled') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MEDIA_FAST_PROCESS{{config_cache('pixelfed.media_fast_process') ? '✅ true' : '❌ false' }}
    PIXELFEDPF_MEDIA_MAX_ALTTEXT_LENGTH"{{config_cache('pixelfed.max_altext_length')}}"
    PURIFYRESTRICT_HTML_TYPESBROKEN
    QUEUEQUEUE_DRIVER"{{config_cache('queue.default')}}"
    SESSIONSESSION_DRIVER"{{config_cache('session.driver')}}"
    SESSIONSESSION_LIFETIME"{{config_cache('session.lifetime')}}"
    SESSIONSESSION_DOMAIN"{{config_cache('session.domain')}}"
    TRUSTEDPROXYTRUST_PROXIES"{{config_cache('trustedproxy.proxies')}}"
    +
    +
+
+
+
+
+
+ + +

The payload is from the "Something went wrong" page, anyone can copy the payload for you to decrypt.
Contents are encrypted due to potential sensitive information.

+
+
+ + +
+
+ +
+
+
+
+
@endsection