Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
MisterQuestions Posted February 18, 2022 Posted February 18, 2022 (edited) Hey there, I'm facing issues with my community showing the following when trying to enter admincp. For the main page only shows a 500 error, however I can't really figure out how to fix this since there's no actual log files inside upload/logs, even the folder has 0777 permissions. To add more context this seem to happen when I clicked save in the Files advanced config when selecting AWS (sync seemed to be dead and just clicked save to try to refresh the process). Edited February 18, 2022 by MisterQuestions
IveLeft... Posted February 18, 2022 Posted February 18, 2022 (edited) The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request. This error is usually returned by the server when no other error code is suitable. You need to check the server logs, or get your host to check them. Edited February 18, 2022 by Muddy Boots
MisterQuestions Posted February 18, 2022 Author Posted February 18, 2022 (edited) Tried reinstalling my board. Went immediatly to adding a File storage with AWS S3, and selected all the files to be migrated. The system seem to break all the templates immediatly and can't really fix it myself. Tried navigating into the "Support tool and clicking clear cache", seems to do nothing btw. Edited February 18, 2022 by MisterQuestions
IveLeft... Posted February 18, 2022 Posted February 18, 2022 Have you got AWS set up correctly, the guide was outdated re ACL Not sure if its been fixed yet...
MisterQuestions Posted February 18, 2022 Author Posted February 18, 2022 Yep, connection worked fine, but when I went into the list of dropdowns to select the backend for file store and switched to S3, then clicked save. The templates broke with no possible action.
IveLeft... Posted February 18, 2022 Posted February 18, 2022 Could be a cache issue, clear cache and / or try a fresh browser
MisterQuestions Posted February 18, 2022 Author Posted February 18, 2022 This is the traceback when trying to run the clear cache. InvalidArgumentException: (0) #0 /var/www/layux.io/public/system/File/File.php(326): IPS\_Image::create() #1 /var/www/layux.io/public/system/Theme/Theme.php(709): IPS\_File::create() #2 /var/www/layux.io/public/system/Theme/Theme.php(4495) : eval()'d code(3399): IPS\_Theme->resource() #3 /var/www/layux.io/public/system/Theme/Theme.php(5348): IPS\Theme\css_core_global___framework_css() #4 /var/www/layux.io/public/system/Theme/Theme.php(2556): IPS\_Theme::writeCss() #5 /var/www/layux.io/public/system/Theme/Theme.php(621): IPS\_Theme->compileCss() #6 /var/www/layux.io/public/system/Dispatcher/Standard.php(54): IPS\_Theme->css() #7 /var/www/layux.io/public/system/Dispatcher/Admin.php(89): IPS\Dispatcher\_Standard::baseCss() #8 /var/www/layux.io/public/system/Dispatcher/Dispatcher.php(110): IPS\Dispatcher\_Admin->init() #9 /var/www/layux.io/public/admin/index.php(13): IPS\_Dispatcher::i() #10 {main}
Marc Posted February 18, 2022 Posted February 18, 2022 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
MisterQuestions Posted February 18, 2022 Author Posted February 18, 2022 I really needed to get that fixed, so I reinstalled the software, wont attempt to use S3 since it seems kind of unstable (had 3 errors like yesterday when enabling it)
Marc Posted February 18, 2022 Posted February 18, 2022 49 minutes ago, MisterQuestions said: I really needed to get that fixed, so I reinstalled the software, wont attempt to use S3 since it seems kind of unstable (had 3 errors like yesterday when enabling it) The majority of our customers have S3 as the primary storage, so its actually very stable. There was clearly some issue there which related to your specific site. If you decide to use it again and have an issue, please ensure access is up to date and let us know if you hit the issue
Randy Calvert Posted February 18, 2022 Posted February 18, 2022 As a tip, one thing that helped me when I first moved from local storage to S3 was to do only 1 or 2 conversions at a time and I started with the less impactful things. For example, the first thing I moved was club images.... then store products, etc. As I gained confidence, I moved onto the more important things. I did JS and CSS second to last since they're fast moving and could happen without a lot of impact to the user after switching. Then finally the uploads/attachments since there was a lot of those and it took the most time. (By then I was very confident it would work.) MisterQuestions 1
Marc Posted February 21, 2022 Posted February 21, 2022 Its also worth noting, if you have a large amount of data you may be best to move the data manually MisterQuestions 1
Recommended Posts