-
Posts
67 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by rayzir
-
-
8 minutes ago, Jim M said:
Sounds to the degree, if this is taking longer than 90 seconds, it may not be possible to process this fully. I.e. if one image is exceeding that and it needs 91+ seconds to bring it down, your hosting provider will stop it from functioning.
So if it's trying to move a large file, that may be causing an issue? Looking at System>Files>Attachments and sorting by size, I see a few large files. Could I simply delete these? Do you think that would jiggle it loose?
Along with the Cron Job recommendation, I set up the cron job on the server. When I tried saving the task method on the Advanced Configuration, I got this:
I looked on my FTP to look at permissions (using Filezilla), I see these permissions:
-
I have a fair amount of traffic. About 40-80 users usually at a time. I figured the regular traffic would be sufficient. But I can try setting up a cron job if that will jiggle loose the stuck background tasks.
-
I got this from HostGator:
QuoteFrom the case details and your previous response, I understand that you are experiencing a "503 service available" error when attempting to manually run the background processes. I was able to replicate the issue on my end. We are sorry for the inconvenience you have experienced with this
I tried to test the CPU usage while performing the manual run option and saw that CPU Usage: 48.8% (warning) and MEM Usage: 8.3% (warning). The script in the path /public_html/hostedsites/ssv/1274/index.php is consuming high resource usage. It is the reason you are experiencing the 503 service available error.
HostGator allows a maximum of 25% CPU usage limit on our shared and reseller servers. If a hosting account exceeds this limit for longer than 90 seconds, resource restrictions will be placed on the account.
However, the CPU usage warning disappears once the process stops. It is possible to monitor the processes and CPU usage on your server with SSH. To learn how to access your server with SSH, please refer to our article on how to get and use SSH access. There are two tools that you may use to check for processes with high CPU usage on your server, the top command.
Here are some of the help articles you can refer to for more information on CPU resource usage:
https://www.hostgator.com/help/article/optimize-cpu-resource-usage
https://www.hostgator.com/help/article/cpu-resource-restriction
https://www.hostgator.com/help/article/503-service-unavailable-error-message
To resolve the issue you are facing, we recommend consulting with Invision Community or a professional web developer who can assist you in resolving the problem. They will be able to analyze the specific requirements of your website and suggest an appropriate solution for you. If your website needs more server load to run a particular task, a Dedicated Hosting plan may be your best option, as it would increase the availability of resources.I turned off all extensions, custom themes, and disabled all of the integrations. I have about 35 background processes that are still stuck. The Moving Attachment Files seemed to cause the whole issue. I turned off Submitting Data to IndexNow extension, but those are still in by BackgroundProcesses queue. The Reindexing comments on Hello, Beginner Here has also been stuck for several days. It will process other things every once in a while, but it's slow. The rest still seems to be stuck.
I'm not sure what to do. Is there a way to kill the background process? Or maybe see what Moving Attachment Files is stuck on? Or maybe I have some server environment settings in the Advanced Configuration area that aren't playing nice? Setting up a cron job help? I'm really grasping for straws. I really don't know what is going on or what to do next. I'm afraid this is going to crash my entire site. Can someone log in and see what's going on? 🙏
-
Here's what I got from HostGator:
QuoteFrom the case notes, I understand that you are facing an error while login into scrollsawvillage.com website. I tried accessing the dashboard with the provided password, and I was able to replicate the error.
I tried changing the PHP version for the website and the error continues to display. Upon further investigation, I could see that the error might be caused due to the plugins and themes. Upon checking the plugins section under the dashboard, it displays to “upload a new version’. Please confirm whether all the plugins and themes are updated to the latest version.
Please confirm and let us know the CMS used to create the website. Also, provide us the exact details on what task are you trying to run( provide us with the replication steps). Please confirm th recent change smade to the webisteI replied with the following:
QuoteI'm using Invision Community software (https://invisioncommunity.com/)I've turned off all 3rd party addons and themes. The problem still persists.Basically, I have forum software that is supposed to be moving files in the background to some S3 storage so I can free up space on the Hostgator server. I checked the error logs in the software, but there aren't any errors listed. I have used this process to move other files without issue. Now I'm trying to move forum attachments.This is located: System>Files>StorageSettingsFrom there, on the Storage Settings tab, it's called "Attachments". On the Configurations tab, the destination is called "Amazon S3: ssv-fileuploads"
Maybe it's stuck on moving a large file? Or maybe too many background processes? Or maybe something was flagged as unusual activity?And they responded with:
QuoteFrom the case details, I understand that you are experiencing an issue with the website scrollsawvillage.com. There no issue from server end and also permission are proper. I request you to contact Invision Community or a web developer to fix the issue.
Please check it once from your end too and let us know through the same email thread if you have any further queries regarding this issue. I’ll be happy to assist you further.I've noticed that new forum attachments are not going to S3....they're still in the uploads directory on my server. (example: https://www.scrollsawvillage.com/forums/topic/52624-standing-miniature-birdhouses/) So it seems like any new attachments are pointing to the right place.
However, when I moved the Gallery images to s3 (last Tues or Wed), that went without a hitch. New Gallery images are going to S3. So the connection to S3 seems OK. (example: https://www.scrollsawvillage.com/gallery/image/16987-maltese-puppyjpg/?context=new You must be logged in to view Gallery)
I currently have about 35 backlogged processes. Some of them seem to go through, but maybe not fast enough?
I don't know where to go from here.
-
-
I checked my server logs from my cpanel>metrics>errors
Here is the only reference to my website that runs IP board. (I have a few Wordpress sites under different domains, but on the same server) I can access admin area just fine, though, so maybe it was an isolated incident. Or maybe it threw that error when tried running the locked task and I got that 503 error.
[Wed Apr 17 20:57:04.423820 2024] [autoindex:error] [pid 855658:tid 22816006412032] [client 193.203.238.224:54209] AH01276: Cannot serve directory /home3/rayzir/public_html/hostedsites/ssv/admin/: No matching DirectoryIndex (index.html.var,index.htm,index.html,index.shtml,index.xhtml,index.wml,index.perl,index.pl,index.plx,index.ppl,index.cgi,index.jsp,index.js,index.jp,index.php4,index.php3,index.php,index.phtml,default.htm,default.html,home.htm,index.php5,Default.html,Default.htm,home.html) found, and server-generated directory index forbidden by Options directive
I've attached the full log if that's useful.
The website seems to be working fine for my users. So maybe I just sit tight through the weekend as @Randy Calvert suggested and see if something jiggles loose?
-
Hello. I'm having trouble with the background moving of files. My hosting company was getting cranky about how many & size of my files, so I set up an S3 storage. I moved one section at a time, starting with some small areas such as blogs images/attachments, downloads, etc. Once that worked fine, I moved onto a larger area (my Gallery), which also went well and was completed in a few hours. My last move was Attachments. it seemed to go well for awhile, then it stalled out at 73% and has been that way for over 12 hours. I think it's stuck. It seems like other background processes are going through, but seem a bit slow.
I tried clearing my cache and disabling plugins for a while, but that didn't seem to do anything. there's a locked Task, that I tried running, but that gives me an error: Sorry, that didn’t work. Please try again or come back later. 503 Error. Service Unavailable.
Thank you for your help!
-
Thank you. You've been very helpful. I really appreciate it!
-
On 7/16/2023 at 1:09 AM, Nathan Explosion said:
https://support.google.com/adsense/answer/161351?hl=en-GB
Change the following items to suit...
- "Restricted directory or URL" - provide the full URL of the area they can't access
- "Login URL" - change domain.com to your own site
- "auth" - change user@emailaddress.com to the username or email address (I'd advise email address) for the account they are to use
- "password" - change thepassword to the password for the account
- Click 'Add login'
Thank you. I'm following your instructions. A couple of questions, if you don't mind.
For the restricted directory or URL section, can I put just the root, and that will take care of any sections that the bot can't read? For instance, I have guests be able to read topic titles, but not the content unless they're logged in. Or do I have to supply the full path for each specific area that would require a login?
Lastly, for _processLogin, is the parameter value "usernamepassword", or is it the auth parameter followed by the password parameter? (so using your example "user@emailaddress.comthepassword"
Thanks for your help!
-
Thanks for the info.
Is the BOTS member group a default group with IP Board? Or do you suppose that come over when I migrated from my old board?
-
Here's a silly question that I'm trying to find the answer to, but seem to be coming up short. I'm revamping my Google Adsense and I get crawler errors from time to time. Usually, it's when they're trying to access stuff from behind a login account. The ads I'm getting don't seem to be all that targeted. So I'm thinking maybe they're just serving generic ads because they can't read the content? I'm wondering if I have to do something about adding permissions for these crawlers. I have a member group called BOTS. Is that a default group that IPBoard created for google bots and the like? Am I supposed to create accounts for them? I moved over to IP Board from PHPBB many years ago. So I'm not sure if this group name is a remnant from that old system and unrelated to IPBoard.
I guess the question is, do I need to do anything to allow these crawlers? Is the BOTS group something I need? Or is the ad serving more based on the user and what the user can see?
Thanks for your insight!
-
Oh no! I was looking forward to that. Will all new features only be available to Cloud subscribers? Or will it eventually be available to self-hosted?
-
Hello. I just upgraded to v4.7.10. I'm excited to try out the Courses feature, however, it isn't showing up in my Community tab. Do I need to turn it on somewhere?
(I renamed Clubs to Groups in the language file, so that's what that is)
-
Thank you. I found it. I overlooked the Add Note option. (banner blindness, I guess).
Thanks for the help.
-
-
On their website (https://invisioncommunity.com/features/gallery/), they show something different where it shows the lightbox with a sidebar that includes photo details, reactions, and comments. That's how it used to be and I noticed it's not working like that anymore on my website. I'm also not getting the Photo Notes feature, which I'm not sure if I have to turn on or if it's a cloud-only feature.
-
Hello. I'm running into an issue with the Gallery. When I click a thumbnail from either the gallery or widget, it takes me to the gallery page instead of launching LightBox. When I click the arrows on the carousel, it reloads the whole page instead of sliding the image.
If I click the image from the gallery, the LightBox finally opens, but it's missing the sidebar with information and comments.
I updated to the latest version yesterday, hoping that would fix it. The default light theme is brand new (4.7.9). I cleared the cache. I've also tried the basic theme (available to the admin as Vanilla 4.7.9). I've also tried disabling plugins. I've tried it on other computers and browsers. This affects all gallery images, not just the example above. I'm not sure what else it could be.
https://www.scrollsawvillage.com/gallery/image/16454-veggie-bunny2jpg/?context=new (This is You have to be logged in in order to view gallery images.)
Thanks for your help!
-
Thanks for looking into it.
I'm direct-connect and not using a hotspot or wifi. I've also tried it on a different network.
I've updated my info in the Access Information section. Let me know if you need anything else.
-
4 minutes ago, Jim M said:
Are you on a network which would cause your IP address to occasionally change or has your server recently started using a (reverse) proxy?
Nope. Not that I'm aware of.
-
Hello. I'm getting this error when I try to log into the Admin. This is a new issue, and I haven't had any trouble before today. I haven't installed anything new. I can log in, but after a few moments, it kicks me out. I've tried it on 2 different computers on two different networks.
I've tried switching the Trust IP addresses in the ACP, but when I log in to check again, it switches back to the default.
-
-
Hello.
I'm getting a large log table error. I have the prune settings set to 7 days. When I look at the logs, I only see 40 or so entries. I feel like it's not getting rid of the old logs, even though they are not visible. I don't know why it would be 9.7gigs otherwise.
Thanks for your help.
-
-
Hi. Some of my members are having trouble when they try to view their bookmarks from the bookmarks tab on their profile. When I log in as a regular member, I can see them OK. But if I log in as that member to look at their bookmarks, I get a PHP error.
I'm specifically having trouble on this member.
I repaired the databases. I tried creating a uncustomized theme. I cleared the cache.
- Invision Community v4.7.1
- Bookmarks 2.0.6
Here's what was in the system log:
Error: Call to a member function canView() on null (0)
#0 /home3/rayzir/public_html/hostedsites/ssv/system/Helpers/Table/Table.php(494): IPS\bookmark\Bookmark\_Table->getRows(Array)
#1 /home3/rayzir/public_html/hostedsites/ssv/applications/core/modules/front/members/profile.php(353): IPS\Helpers\Table\_Table->__toString()
#2 /home3/rayzir/public_html/hostedsites/ssv/init.php(927) : eval()'d code(17): IPS\core\modules\front\members\_profile->manage()
#3 /home3/rayzir/public_html/hostedsites/ssv/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\trophies_hook_profile->manage()
#4 /home3/rayzir/public_html/hostedsites/ssv/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute()
#5 /home3/rayzir/public_html/hostedsites/ssv/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute()
#6 /home3/rayzir/public_html/hostedsites/ssv/index.php(13): IPS\_Dispatcher->run()
#7 {main}Backtrace:
#0 /home3/rayzir/public_html/hostedsites/ssv/init.php(1029): IPS\_Log::log('Error: Call to ...', 'uncaught_except...')
#1 /home3/rayzir/public_html/hostedsites/ssv/system/Helpers/Table/Table.php(578): IPS\IPS::exceptionHandler(Object(Error))
#2 /home3/rayzir/public_html/hostedsites/ssv/applications/core/modules/front/members/profile.php(353): IPS\Helpers\Table\_Table->__toString()
#3 /home3/rayzir/public_html/hostedsites/ssv/init.php(927) : eval()'d code(17): IPS\core\modules\front\members\_profile->manage()
#4 /home3/rayzir/public_html/hostedsites/ssv/system/Dispatcher/Controller.php(118): IPS\core\modules\front\members\trophies_hook_profile->manage()
#5 /home3/rayzir/public_html/hostedsites/ssv/applications/core/modules/front/members/profile.php(81): IPS\Dispatcher\_Controller->execute()
#6 /home3/rayzir/public_html/hostedsites/ssv/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute()
#7 /home3/rayzir/public_html/hostedsites/ssv/index.php(13): IPS\_Dispatcher->run()
#8 {main}
Moving Attachments Files Stuck
in Classic self-hosted technical help
Posted
I think I got it working. I'm not sure what did it....changing it to run a cron job, changing the uploads directory to 0777, or deleting that one large file. At any rate, it started processing again. Once the processing was done, it finished up the rest of the backlogged tasks.