HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-remote-storage/etc/di.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <virtualType name="remoteWriteFactory" type="Magento\Framework\Filesystem\Directory\WriteFactory">
        <arguments>
            <argument name="driverPool" xsi:type="object">Magento\RemoteStorage\Driver\DriverPool</argument>
        </arguments>
    </virtualType>
    <virtualType name="remoteReadFactory" type="Magento\Framework\Filesystem\Directory\ReadFactory">
        <arguments>
            <argument name="driverPool" xsi:type="object">Magento\RemoteStorage\Driver\DriverPool</argument>
        </arguments>
    </virtualType>
    <type name="Magento\RemoteStorage\Filesystem">
        <arguments>
            <argument name="writeFactory" xsi:type="object">remoteWriteFactory</argument>
            <argument name="readFactory" xsi:type="object">remoteReadFactory</argument>
        </arguments>
    </type>
    <virtualType name="customRemoteFilesystem" type="Magento\RemoteStorage\Filesystem">
        <arguments>
            <argument name="directoryCodes" xsi:type="array">
                <item name="media" xsi:type="const">Magento\Framework\App\Filesystem\DirectoryList::MEDIA</item>
                <item name="var_import_export" xsi:type="const">Magento\Framework\App\Filesystem\DirectoryList::VAR_IMPORT_EXPORT</item>
            </argument>
        </arguments>
    </virtualType>
    <virtualType name="fullRemoteFilesystem" type="Magento\RemoteStorage\Filesystem" />
    <virtualType name="stdFilesystem" type="Magento\Framework\Filesystem" />
    <preference for="Magento\Framework\Filesystem" type="customRemoteFilesystem"/>
    <type name="Magento\RemoteStorage\Driver\Cache\CacheFactory">
        <arguments>
            <argument name="filesystem" xsi:type="object">stdFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\Filesystem\Directory\TargetDirectory">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
            <argument name="driverCode" xsi:type="const">Magento\RemoteStorage\Driver\DriverPool::REMOTE</argument>
        </arguments>
    </type>
    <type name="Magento\Sitemap\Model\Sitemap">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Sitemap\Controller\Adminhtml\Sitemap\Save">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Sitemap\Block\Adminhtml\Grid\Renderer\Link">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Sitemap\Controller\Adminhtml\Sitemap\Delete">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\Console\CommandListInterface">
        <arguments>
            <argument name="commands" xsi:type="array">
                <item name="remoteStorageSync" xsi:type="object">Magento\RemoteStorage\Console\Command\RemoteStorageSynchronizeCommand</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\Framework\App\MaintenanceMode">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\MediaStorage\Model\File\Storage\Synchronization">
        <plugin name="remoteMedia" type="Magento\RemoteStorage\Plugin\MediaStorage" />
    </type>
    <type name="Magento\Framework\Data\Collection\Filesystem">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Cms\Model\Wysiwyg\Images\Storage">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\File\Mime">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\Framework\Image\Adapter\AbstractAdapter">
        <plugin name="remoteImageFile" type="Magento\RemoteStorage\Plugin\Image" sortOrder="10"/>
    </type>
    <type name="Magento\Catalog\Model\Category\FileInfo">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\ImportExport\Model\Import">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\ImportExport\Model\Import\ImageDirectoryBaseProvider">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\ImportExport\Helper\Report">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\CatalogImportExport\Model\Import\Product">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\CatalogImportExport\Model\Import\Uploader">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\DownloadableImportExport\Helper\Uploader">
        <arguments>
            <argument name="filesystem" xsi:type="object">fullRemoteFilesystem</argument>
        </arguments>
    </type>
    <type name="Magento\RemoteStorage\Model\Synchronizer">
        <arguments>
            <argument name="filesystem" xsi:type="object">customRemoteFilesystem</argument>
        </arguments>
    </type>
</config>