Doubt about safety

for patching database, in folder : ```
updates/concrete-cms-8.5.11/concrete/bin/

i have copy concrete5 in concrete5.php

is it safe if i leave it there?
enrico

Whilst it’s a good practice to remove from any server outdated or unneeded code, it’s generally safe to leave older copies of Concrete’s core folder, because files are set up to not be able to run directly.

If you don’t have any need for old versions in your /updates folder, feel free to delete them - but it’s not really a security consideration as such.

maybe my question was not be formuled well, excuse me for my english
i’ll try to explaining me better .

i have upgrade concrete 8.3.5 in web folder were is present
web/application
web/concrete
web/new
web/pakages
web/updates
with 8.5.9 and 8.5.11
web/updates /cocnrete5-8.5.9
web/updates /cocnrete5-8.5.11
because i wasn’t able to installing add-ons , for sql errors
After upgrade i had the same errors for installing of add-ons ;
so for patch database, i have running the command:
“php ./concrete/bin/concrete5 orm:schema-tool:update --dump-sql”
with the following error in output

"[04-Nov-2022 14:00:51 UTC] PHP Warning: require(/home/maestro/public_html/updates/concrete-cms-8.5.11/concrete/bin/concrete5.php): failed to open stream: No such file or directory in /home/maestro/public_html/concrete/bin/concrete5 on line 80
[04-Nov-2022 14:00:51 UTC] PHP Fatal error: require(): Failed opening required ‘/home/maestro/public_html/updates/concrete-cms-8.5.11/concrete/bin/concrete5.php’ (include_path=’.:/opt/cpanel/ea-php74/root/usr/share/pear’) in /home/maestro/public_html/concrete/bin/concrete5 on line 80
"

the log notice me that isn’t present the file “concrete5.php” in the folder;

so in folder : ```
web/updates/concrete-cms-8.5.11/concrete/bin/
‘’’

i have copy concrete5 in concrete5.php

now in folder
web/updates/concrete-cms-8.5.11/concrete/bin/
i have the file :
concrete5 and concrete5.php

have problem about?

look the old post :