Large Scale Planes Posted June 18, 2021 Posted June 18, 2021 I've just manually migrated our community and associated website to a new server, and am discovering some annoying issues with missing graphics. Before describing the issues, I'll mention that I double-checked that all files were moved across from the original server, and I've cleared the forum caches several times on the new server. I also still have access to the old server, should I need to grab anything from it. The first issue is that a small portion of user profile photos (avatars) are now missing - including my own. I fixed my own by uploading a new one, so it's not the worst problem in the world, but what concerns me more is that the missing images are linked to a directory that not only doesn't exist on the new server(forums/uploads/profile/), but didn't exist on the old one either! So, how were they working before? And is there a way to restore them, or are they gone forever? The second and more concerning issue is that the 'reputation' icons ('like', etc) have also gone AWOL. The links are still there, and function properly, but the icons aren't loading. Any ideas? Submit a ticket? Kev
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 (edited) It appears that the second issue above is related to the first, in that the missing images appear to be located in a similarly missing directory called forums/uploads/reactions/. Do I need to rebuild something somewhere within ACP? Kev Edited June 18, 2021 by Large Scale Planes
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 Oddly, other members are not seeing any issues, though one did report some missing user photos. But for everyone else, the 'like' graphics appear to be showing, but not for me on multiple desktop browsers. Even more oddly, I don't have any issues at all with the mobile version. Kev
Nathan Explosion Posted June 18, 2021 Posted June 18, 2021 (edited) Likely browser cached. Help us out here - post a link to your site. Edited June 18, 2021 by Nathan Explosion
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 2 hours ago, Nathan Explosion said: Likely browser cached. Help us out here - post a link to your site. Cleared my browser cache and dumped its cookies - no difference. It's happening in multiple browsers anyway, so probably not that. Here's the site link: https://forum.largescaleplanes.com/ Kev
Nathan Explosion Posted June 18, 2021 Posted June 18, 2021 2 hours ago, Large Scale Planes said: other members are not seeing any issues, I'm responding to the post above mine, not your issue in general.
Nathan Explosion Posted June 18, 2021 Posted June 18, 2021 (edited) Assumptions made: URL for site hasn't changed File path on old and new server is exactly the same and no changes were needed to be performed If the above assumptions are correct, I hate to say it but I suspect that you may not have copied all your files over. Is the old server still available? With regard to the reaction icons - if the uploads/reactions folder is empty, then you will need to reupload your reaction icons via (don't delete the existing reactions - edit them, upload the file again): The default ones will be in that folder in a full download of the suite from the client area: Edited June 18, 2021 by Nathan Explosion
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 12 minutes ago, Nathan Explosion said: I'm responding to the post above mine, not your issue in general. Ah, gotcha. 6 minutes ago, Nathan Explosion said: Assumptions made: URL for site hasn't changed File path on old and new server is exactly the same and no changes were needed to be performed If the above assumptions are correct, I hate to say it but I suspect that you may not have copied all your files over. Is the old server still available? Yep, URLs and file paths are identical. The directories the seemingly missing files are supposedly being served from don't exist on either server - old or new. So I'm at a loss to explain how they were even working on the old server! I've checked and re-checked this multiple times so far. And unless IPB is storing files outside the document root somehow, I definitely grabbed all of them. I just don't understand why I seem to be the only one seeing an issue. My guess is that some of those images (the 'like' icons) are possibly inline SVGs, and I've got a problem with a CSS file somewhere. However, inspecting them tells me the browser is trying to load them from /uploads/reactions/, which doesn't exist on either server. Same with the missing user photos (/uploads/profile/). Kev
Sonya* Posted June 18, 2021 Posted June 18, 2021 (edited) Check your directory (path) settings: In ACP go to System -> Files Click on Storage Settings See what is set for Reactions and Profile Photos Change to the tab Configurations Click on the storage method in question (edit) See what is set under Directory. Is it a right path? Is Use a Custom URL? enabled? If yes, what is set under Custom URL? Is it a correct URL? Edited June 18, 2021 by Sonya*
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 (edited) 33 minutes ago, Nathan Explosion said: With regard to the reaction icons - if the uploads/reactions folder is empty, then you will need to reupload your reaction icons via (don't delete the existing reactions - edit them, upload the file again):a full download of the suite from the client area: It's not empty - it doesn't exist! Not on the old or new servers. The only interface graphics folder that exists in uploads/ is emoticons. There's some CSS and JavaScript folders, and a bunch of monthly_xxx ones, and the rest are just image files. Most of the existing user profile photos that still work seem to be stored in the monthly folders. I'll try re-uploading the reaction images and see if that fixes the problem. 7 minutes ago, Sonya* said: Check your directory (path) settings: In ACP go to System -> Files Click on Storage Settings See what is set for Reactions and Profile Photos Change to the tab Configurations Click on the storage method in question (edit) See what is set under Directory. Is it a right path? Is Use a Custom URL? enabled? If yes, what is set under Custom URL? Is it a correct URL? Yep, done all this. All options simply point to /uploads/ - no subdirectories. There are in fact no /reactions or /profile subdirectories to point them to on either server. And yet, that's where some of them were stored and working from on the old server, which is a complete mystery to me! Kev Edited June 18, 2021 by Large Scale Planes
Sonya* Posted June 18, 2021 Posted June 18, 2021 5 minutes ago, Large Scale Planes said: Is Use a Custom URL? enabled? If yes, what is set under Custom URL? Is it a correct URL? Is Custom URL enabled?
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 (edited) 6 minutes ago, Sonya* said: Is Custom URL enabled? I don't see an option for enabling a custom URL. I only have this: Ah, I missed the bit about choosing 'edit'. Here's the result: Kev Edited June 18, 2021 by Large Scale Planes
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 43 minutes ago, Nathan Explosion said: The default ones will be in that folder in a full download of the suite from the client area: Upon unzipping an earlier v4.4.4 download I already had on my hard drive, I find that the /uploads folder contains only an index.html file, and logs folder. Kev
Sonya* Posted June 18, 2021 Posted June 18, 2021 50 minutes ago, Nathan Explosion said: I hate to say it but I suspect that you may not have copied all your files over.
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 4 minutes ago, Sonya* said: Seriously? We're just going around in circles now. I'll screenshot the directory/file structure on the old server if you'd like, just to prove that those files don't exist. How could I have missed any files, when I copied the entire contents of public_html in a single session? Just one drag/drop FTP operation, copying over 224000 files, with only 25 failed transactions. And these were files with non-ASCII characters in their names, and legacy at that (not even forum-related). Are you guys even reading my posts? Kev
Sonya* Posted June 18, 2021 Posted June 18, 2021 12 minutes ago, Large Scale Planes said: Are you guys even reading my posts? Yes. I tried to help. You say the folders were never there and the images from the folders that never were there have been served on the old server without issues. This makes no sense. Either they were there and have been deleted or moved (occasionally?) Or there have been any settings on the server (.htaccess?) redirecting to other path. I have no other ideas.
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 (edited) 19 minutes ago, Sonya* said: Yes. I tried to help. You say the folders were never there and the images from the folders that never were there have been served on the old server without issues. This makes no sense. Either they were there and have been deleted or moved (occasionally?) Or there have been any settings on the server (.htaccess?) redirecting to other path. I have no other ideas. I know it makes no sense, and I do understand and appreciate that you're trying to help. I'm just incredibly frustrated by this issue right now, which is ironic, given how small it is, and how successful this rather major move has otherwise been. Given that no one else on the forums is actually seeing the issue with the reactions icons, I'm going to take an educated guess and say that they've been MIA for some time, and all we/they are seeing is some rather aggressive browser caching in action. I'm guessing that new members wouldn't even notice that they're missing. Simply re-uploading the reaction icons would indeed fix the problem, but they're not included in the downloadable release of the software; I just downloaded the full version of 4.6.1, and they're not there. I suppose I could swipe them from another Invision board, which isn't such a bad idea, actually. None of that helps with the avatars, however, but members can upload news ones I guess. Oddly, it appears at first glance to only affect a small handful so far. There's at least as many working ones that were never uploaded into the /profile subdirectory, so I'm assuming we're the victims of a mishmash of storage schemas going back over our 13+ years of using the product. Anyway, I've logged a support ticket, just so the guys can rule out any technical issues. Thanks again for your attempts to help, and my apologies for being grumpy. Kev Edited June 18, 2021 by Large Scale Planes
Nathan Explosion Posted June 18, 2021 Posted June 18, 2021 No worries. 59 minutes ago, Large Scale Planes said: Upon unzipping an earlier v4.4.4 download I already had on my hard drive, I find that the /uploads folder contains only an index.html file, and logs folder. Kev In that case they'll be in an installed local test site - hope you get sorted out.
Large Scale Planes Posted June 18, 2021 Author Posted June 18, 2021 1 minute ago, Nathan Explosion said: No worries. In that case they'll be in an installed local test site - hope you get sorted out. Thanks, Nathan. I've been able to download the icons for 'like', 'thanks', and 'aha' right from here. Unfortunately, 'sad' and 'confused' aren't used here, so I'll have to locate them elsewhere on the web. Kev
Nathan Explosion Posted June 18, 2021 Posted June 18, 2021 Just because they aren't used doesn't mean they aren't there 😉 https://dne4i5cb88590.cloudfront.net/invisionpower-com/reactions/react_sad.png https://dne4i5cb88590.cloudfront.net/invisionpower-com/reactions/react_confused.png Large Scale Planes 1
Davyc Posted June 18, 2021 Posted June 18, 2021 I had a similar, possibly unrelated issue this morning when images I uploaded yesterday into an article suddenly disappeared as though they never existed, yet they were uploaded and showing yesterday, today they were just showing that image not found icon and the name of the files. They were not anywhere to be seen on the server and nothing had changed from the previous day other than an upgrade to the latest version 4.6.1 I uploaded them again and checked the server, but they are not there, though they are still showing for now lol. I've had this happen in the past, and it generally happens when a new monthly folder is created, but the previous month (or part of it) was not being accessed. It's weird set up, either the images are on the server or they are not and if not, how come they show?
Large Scale Planes Posted June 19, 2021 Author Posted June 19, 2021 So, I've solved the issue with the missing 'reactions' icons by recreating the missing directory, and re-uploading a found set of the applicable icons. Check. I also decided that the only practical way to solve the missing avatars issue was to have affected members re-upload their own, which is not the worst thing in the world. However, in the case of at least one member, he's not able to do so, as the spot on his profile where he would normally do so is just a plain white disc now, with no image icon button to initiate the action: Any ideas about how to fix this? My guess is that it will apply to other members, too; they just haven't discovered it yet. Kevin
Recommended Posts