Jump to content

"install" directory is recreated automatically each day


Recommended Posts

Hi guys

 

tried to figure out via search query but didnt got any result. I am running version 1.7.0.4. Each day an empty "install" folder is automatically created in my prestashop root directory. I have to remove it manually otherwise i get a security warning message and cant login to the back office. Does anybody know a reason for getting this folder again and again? 

 

Thanks and cheers

Bjoern

Link to comment
Share on other sites

  • 2 weeks later...

As per our knowledge, there is no functionality in PrestaShop to create the /install directory through code. Are you sure it is being generated automatically? 

 
It might be possible that you have some script that is doing that, it is also possible that some third party module is having such script, please try disabling recently enabled plugins.
 
Also you can refer the following file:
 
/config/config.inc.php
 
This code in this file checks if install directory exist and redirect the control to installation panel if PrestaShop is not installed. It might be something in the code is going wrong.
Link to comment
Share on other sites

Thanks for your feedback. I reinstalled it again several times for testing and didnt went again in this trouble. But it was really strange. The folder has been reinstalled while i was sleeping.... maybe a 3rd party issue but for now its solved. 

 

Cheers

Bjoern

Link to comment
Share on other sites

  • 4 years later...
  • 1 month later...
3 minutes ago, RikMK said:

Same here.
I had a seperate thread running since google didn't show me this one earlier.
Sorry no solution yet but here's a link:

What host do you guys use? I'm running VPS Plesk ubuntu.

Hello!

I am still having the problem but I created a script which is running every day and cleans the install dir... (I know, it is not the best but..).

And yes, I am having also VPS Plesk ubuntu...

Link to comment
Share on other sites

I have found the solution. I had first tried the suggestion of @El Patron to no avail. Somehow the whole folder was recreated again over night.

Then since @diphone mentioned he used Plesk as well, I sought a way to work around this. PLESK has an application that lets you install, manage and update Prestashop. 

However updating also did not work as mentioned before. So I came across this guide to manually upgrage Prestashop:
https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/upgrade/

Followed the simple steps and it worked! Next day no new install folder. Also favicon is now no longer overwritten. Hope this helps! I will mention this in the plesk forum as well since something is obviously wrong with how the application handles updates.

 

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...