Jump to content
thirty bees forum

obsolete files


beetea

Recommended Posts

I've just installed TB on localhost for testing and in the Advanced Parameters / Configuration Information  section I see obsolete files:

Obsolete files (3)

  • vendor/bin/generate-defuse-key
  • vendor/bin/semver
  • vendor/bin/update-versions

But when I remove them, the updater reports these three files as missing.

Are these files obsolete or required?

TIA

Link to comment
Share on other sites

There is a slight difference in how Configuration Information and CoreUpdater calculates changes. In this particular case, I believe Configuration Information is more correct -- the scripts in /vendor/bin/ directory should not be part of the installation pack.

Link to comment
Share on other sites

On 12/16/2021 at 7:29 AM, nickz said:

rename files to be replaced or deleted to file-replace.php_ and see if the renamed file causes any issues.

Thanks, but that doesn't work. Core updater:


Your installation is broken!

We have detected some problems with your installation. You should fix them by updating your store.

Note that it is safe to update your store because there are no local changes

Missing files

    vendor/bin/generate-defuse-key
    vendor/bin/semver
    vendor/bin/update-versions

Extra files

    vendor/bin/generate-defuse-key-replace.php_
    vendor/bin/semver-replace.php_
    vendor/bin/update-versions-replace.php_

Configuration Information:

Changed/missing/obsolete files have been detected.
Obsolete files (3)

    vendor/bin/generate-defuse-key-replace.php_
    vendor/bin/semver-replace.php_
    vendor/bin/update-versions-replace.php_

I won't worry about it - just leave them in place.

Link to comment
Share on other sites

On 12/17/2021 at 6:14 PM, beetea said:

Thanks, but that doesn't work. Core updater

That is not what I meant.

Before you delete something you better rename them and see what happens. That way you are able to restore to original by just re-re-naming the files.

Link to comment
Share on other sites

2 hours ago, nickz said:

That is not what I meant.

Before you delete something you better rename them and see what happens. That way you are able to restore to original by just re-re-naming the files.

Thanks - I'm always careful to move files rather than delete them. I don't think this is a serious issue so I'll just ignore it for now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...