Sonya* Posted February 21 Share Posted February 21 (edited) I know, it is weird 👻 As I have mentioned in this topic, our default photo has been reset to the previous one after update from 4.5 to 4.7. I had to upload the photo again into theme resources. Some days later, the default photo has been reset again to the previous one. Not the default photo, but the one we have used before the update. I have thought, well, 👻 and uploaded it again. Then some days later I have noticed that our pattern image had been reset to the previous one. Again, not the default, but the one we have used before the update. I have uploaded it again. Today I have applied the latest IPS patch and the pattern image has been reset another time. I cannot even understand where it could be saved all the time. I am replacing the image in the resources. There should not be an old file anymore. I am the only person with access to the themes in ACP. (Well, except for IPS support, but I guess they do not play with the default photos and pattern image on my site. 😄). So, the questions are: why does it happen? And where the old files are stored so that they can be used again? We use Cloudflare and Reddit if it matters. Additionally, we have "lost" our default photo in ACP after the update. ACP now uses the default IPS photo in the list of users: Note, this is not the photo, that is used as default on our site. Before the update to 4.7 we have seen here the default photo, that is set as user photo in our default theme. It's cosmetic, but probably related. Any thoughts? Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) I've forgotten to mention that newly uploaded my custom fonts uploaded as woff2 in the theme resources have also been reset. In this case, the resource entries were there, but the font files were not attached anymore. As if someone would delete the files on the disc. I had to upload them again to get them working. Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) It has happened again with fonts right now. This is it how looks like in ACP: The entries are there. But no files are attached anymore. I have to upload them again. 😞 Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Jim M Posted February 21 Share Posted February 21 Are you sure it is actually appearing and not some form of cache from the browser, server, or CloudFlare? Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 1 minute ago, Jim M said: Are you sure it is actually appearing and not some form of cache from the browser, server, or CloudFlare? I am pretty sure. Currently, the fonts do not have the files attached in ACP: Link to comment Share on other sites More sharing options...
Jim M Posted February 21 Share Posted February 21 Would test with a simple resource like the image, would ignore a more complex one like a font for the time being. Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 Just now, Jim M said: Would test with a simple resource like the image, would ignore a more complex one like a font. It has happened with the default photo and pattern as well. I had to upload them twice so far. The update was 1,5 weeks ago. I had to re-upload the pattern today. And now I am re-uploading the fonts. Link to comment Share on other sites More sharing options...
Jim M Posted February 21 Share Posted February 21 1 minute ago, Sonya* said: It has happened with the default photo and pattern as well. I had to upload them twice so far. The update was 1,5 weeks ago. I had to re-upload the pattern today. And now I am re-uploading the fonts. Are these items getting squared away on your server's storage? The fact that they disappearing and nothing is being actioned against them is odd. Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) This is what it should look like if the files were there. The first and the last are re-uploaded by me right now. Those without preview are just missing. Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) 32 minutes ago, Jim M said: Are these items getting squared away on your server's storage? The fact that they disappearing and nothing is being actioned against them is odd. They are indeed removed from the disc. I suppose it is somehow related to this bug. And no, I am not IN_DEV. It is a live server. And it has never been IN_DEV. There is no /dev/ folder. So, it is not related to IN_DEV. But probably with the default theme? Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Jim M Posted February 21 Share Posted February 21 I do not see that they are currently missing. Please let us know next time they go missing so we can review. Sonya* 1 Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 11 minutes ago, Jim M said: I do not see that they are currently missing. Please let us know next time they go missing so we can review. I have re-uploaded them all again. I hope they stay where they are now. I will report if it happens again. Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) I have tried to reproduce it on my test server and found out, that set_resources_X folders with resources are indeed deleted by IPS, when you click on clear system cache. I have 4 themes on my test server. This is how my upload folder looks like before I clear the system cache: Then I click on clear system cache in my ACP: This is how my upload folder looks right after I click the button: Note, the folders for the themes with ID 1, 13, 14 and 18 have disappeared from disk. When I go to the site and choose a theme in the styles' menu, the folders for theme are immediately recreated in upload. I assume that recreation is made from core_theme_resources.resource_data found in database and attached to the theme. Can this be an issue? The recreation of the files in this folder fails in some cases. If the recreation of the resources fails, then I am missing the files. Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) This would also explain, how I sometimes get my “old” files instead of newly uploaded. If I upload the file via theme resources and the file itself is uploaded, but the BLOB creation for core_theme_resources.resource_data fails, then I have a newly uploaded file on my disc. All good. But next time I click on clear system cache, the file on disc is deleted, and the old one is recreated from BLOB. So it looks reset for me. Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Jim M Posted February 21 Share Posted February 21 While I am seeing the folder get rebuilt myself, my modified and created items do not get destroyed permanently like yourself. They get properly rebuilt. By chance, is there a write issue on specific files in that folder? Link to comment Share on other sites More sharing options...
Sonya* Posted February 21 Author Share Posted February 21 (edited) I tend to think it is a database issue, however. Because of “reset”. The old files are generated from BLOBs, hence the BLOBs could not been created properly while uploading. The files are OK, that's why I have no issues till the cache is cleared. The second issue: the BLOBs cannot be read/get from the database to be recreated on the disc. In this case, I am missing the files. I will contact my admin however to see if there is any issue with writing the files. But this would not explain, how my files are reset. 🤨 Additionally, we have an active site with daily attachments upload, gallery images, media uploads in Pages. We have no issues with writing these files. The issue is only with set_resources_X folders and some files inside them. Edited February 21 by Sonya* Link to comment Share on other sites More sharing options...
Marc Posted February 22 Share Posted February 22 Before we continue here, could I please clarify. You are not manually uploading them at all are you? Link to comment Share on other sites More sharing options...
Sonya* Posted February 22 Author Share Posted February 22 (edited) 41 minutes ago, Marc Stridgen said: You are not manually uploading them at all are you? No. As you can see on the screens above, I am using only theme resources to upload the files in IPS. My administrator confirms there is no writing issues in the upload folder. He checked the permissions. As I have stated above, we have no upload or writing issues in any other area of the site. No other folder inside uploads is affected. The issue persists only when re-creating some files in set_resources_X folders. It happens after the button Clear system caches in ACP is clicked. Or if system caches are cleared automatically, e.g., during the update started from ACP. Edited February 22 by Sonya* Link to comment Share on other sites More sharing options...
Sonya* Posted February 22 Author Share Posted February 22 Just to illustrate, what I see in the database after I clear the system caches. Some files miss the resouce_ filename. Those files are wiped out from the disc during clearing cache and not re-created. Even if resource_data contains the BLOB data for the files. When I re-upload the files via theme resources in IPS, then the column resource_filename is set and everything is good. Until I clear the cache next time. Another files like default_photo or pattern are re-created, but in their previous version. It looks like the BLOB column resource_data has not been updated while uploading the files via theme resources. Link to comment Share on other sites More sharing options...
Marc Posted February 22 Share Posted February 22 Ive created a ticket on this for you, and someone will be in contact as soon as possible Sonya* 1 Link to comment Share on other sites More sharing options...
Sonya* Posted February 26 Author Share Posted February 26 (edited) Follow-up. I do not know if it is related, but recently, I have noticed this warning in ACP: Note: You do not see this warning unless you try to change something in the Advanced Settings. I have (and had) no issues with tasks. They are all run without issues. This warning was shown, once I have tried to change some options in ACP on the page “Advanced settings”. The permissions are set now as required. The warning is not shown anymore. As said above, I doubt this can be related to my issue. But in case, it is, I suggest this permission to be checked in Support section as well. Edited February 26 by Sonya* Link to comment Share on other sites More sharing options...
Marc Posted February 26 Share Posted February 26 Please add anything further into the ticket created for you, rather than in here 🙂 Sonya* 1 Link to comment Share on other sites More sharing options...
Sonya* Posted February 26 Author Share Posted February 26 4 minutes ago, Marc Stridgen said: Please add anything further into the ticket created for you, rather than in here 🙂 I do not know where to find the tickets. Link to comment Share on other sites More sharing options...
Daniel F Posted February 26 Share Posted February 26 You should have gotten an email after it was created and once staff replied Link to comment Share on other sites More sharing options...
Sonya* Posted February 26 Author Share Posted February 26 5 minutes ago, Daniel F said: You should have gotten an email after it was created and once staff replied No. I have to investigate further: Do you use my email saved in my account? What is the sender email for the ticket? Link to comment Share on other sites More sharing options...
Recommended Posts