Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scandir warnings during upgrade #38087

Open
2 tasks done
Hlavtox opened this issue Feb 20, 2025 · 1 comment · May be fixed by PrestaShop/autoupgrade#1180
Open
2 tasks done

scandir warnings during upgrade #38087

Hlavtox opened this issue Feb 20, 2025 · 1 comment · May be fixed by PrestaShop/autoupgrade#1180
Labels
Autoupgrade Module: autoupgrade Bug Type: Bug New New issue not yet processed by QA

Comments

@Hlavtox
Copy link
Contributor

Hlavtox commented Feb 20, 2025

Prerequisites

Describe the bug and add attachments

Upgrade from 8.1.7 to 9.0.0 nightly build using ZIP and XML.
Using following version of autoupgrade module - https://github.com/PrestaShop/autoupgrade/releases/tag/v7.0.0-dev.4

Got following warnings

/var/www/vhosts/trendo.cz/upgradetest.trendo.cz/modules/autoupgrade/classes/UpgradeTools/FilesystemAdapter.php line 248 - scandir(/var/www/vhosts/trendo.cz/upgradetest.trendo.cz/var/cache/CACHEDIR.TAG): Failed to open directory: Not a directory
[See warning](https://upgradetest.trendo.cz/admin258ytdyrs/index.php?controller=AdminSelfUpgrade&token=1532def48f4c662f91d26e0e841cb5ae&route=update-page-update#690336)

/var/www/vhosts/trendo.cz/upgradetest.trendo.cz/modules/autoupgrade/classes/UpgradeTools/FilesystemAdapter.php line 248 - scandir(): (errno 20): Not a directory
[See warning](https://upgradetest.trendo.cz/admin258ytdyrs/index.php?controller=AdminSelfUpgrade&token=1532def48f4c662f91d26e0e841cb5ae&route=update-page-update#690360)

/var/www/vhosts/trendo.cz/upgradetest.trendo.cz/modules/autoupgrade/classes/UpgradeTools/FilesystemAdapter.php line 248 - foreach() argument must be of type array|object, bool given
[See warning](https://upgradetest.trendo.cz/admin258ytdyrs/index.php?controller=AdminSelfUpgrade&token=1532def48f4c662f91d26e0e841cb5ae&route=update-page-update#690384)

/var/cache/CACHEDIR.TAG does not exist before upgrade.

Ping @Quetzacoalt91 @M0rgan01

PrestaShop version(s) where the bug happened

8.1.7 > 9.0.0

PHP version(s) where the bug happened

8.1

If your bug is related to a module, specify its name and its version

autoupgrade v7.0.0-dev.4

@Hlavtox Hlavtox added Bug Type: Bug New New issue not yet processed by QA labels Feb 20, 2025
@Quetzacoalt91 Quetzacoalt91 added the Autoupgrade Module: autoupgrade label Feb 20, 2025
@Quetzacoalt91
Copy link
Member

I appreciate the time you took to try the pre-release, thank you for that.

I've initiated a branch for this issue and make some test about it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Autoupgrade Module: autoupgrade Bug Type: Bug New New issue not yet processed by QA
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants