Skip Navigation

[Résolu] Can't Update Types or Views through WordPress

This support ticket is created Il y a 7 années et 7 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

This topic contains 9 réponses, has 3 voix.

Last updated by bryanC-2 Il y a 7 années et 6 mois.

Assisted by: Beda.

Auteur
Publications
#429897

Hey guys,

I recently transferred to a new server and now I am unable to update Types or View on either of my two websites (christophermartone.com) or (starcresc.com) on this server. On both of them under WordPress Updates, if I click to update Types or Views it just spins and spins eternally. When I do the update for one or the other under "plugins" I get an error but it just seems to me some sort of 404 error, not the actual error message. Included at bottom regardless.

The new server is running PHP 7. This server is (fortunately AND unfortunately) one that I have more control over, so as I compiled PHP through WHM myself, I may not have the needed dependencies installed.
Standard WordPress plugin and core updates are working fine which is what made me think it may be some dependency your plugin needs to reach out and query the update server. If you could, please explainlikeimfive as I'm not a server admin in any way.

I wanted to confirm my update key, but I could not find anywhere to do so in the version I have. My sites are within subfolders, but they were working fine before. Also, Types and Views are functioning from the front-end and back-end without issue. Just will not update.

Thank you for your help. Diagnostics follow.

GENERATED ERROR:
Update Failed: <!DOCTYPE HTML> 404 - Page not found <!-- This site is optimized with the Yoast SEO plugin v3.4.2 - hidden link --> <!-- / Yoast SEO plugin. --> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/2\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/-SNIP-/wp-includes\/js\/wp-emoji-release.min.js?ver=4.6"}}; !function(a,b,c){function d(a){var c,d,e,f,g,h=b.createElement("canvas"),i=h.getContext&&h.getContext("2d"),j=String.fromCharCode;if(!i||!i.fillText)return!1;switch(i.textBaseline="top",i.font="600 32px Arial",a){case"flag":return i.fillText(j(55356,56806,55356,56826),0,0),!(h.toDataURL().length<3e3)&&(i.clearRect(0,0,h.width,h.height),i.fillText(j(55356,57331,65039,8205,55356,57096),0,0),c=h.toDataURL(),i.clearRect(0,0,h.width,h.height),i.fillText(j(55356,57331,55356,57096),0,0),d=h.toDataURL(),c!==d);case"diversity":return i.fillText(j(55356,57221),0,0),e=i.getImageData(16,16,1,1).data,f=e[0]+","+e[1]+","+e[2]+","+e[3],i.fillText(j(55356,57221,55356,57343),0,0),e=i.getImageData(16,16,1,1).data,g=e[0]+","+e[1]+","+e[2]+","+e[3],f!==g;case"simple":return i.fillText(j(55357,56835),0,0),0!==i.getImageData(16,16,1,1).data[0];case"unicode8":return i.fillText(j(55356,57135),0,0),0!==i.getImageData(16,16,1,1).data[0];case"unicode9":return i.fillText(j(55358,56631),0,0),0!==i.getImageData(16,16,1,1).data[0]}return!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g,h,i;for(i=Array("simple","flag","unicode8","diversity","unicode9"),c.supports={everything:!0,everythingExceptFlag:!0},h=0;h<i.length;h++)c.supports[i[h]]=d(i[h]),c.supports.everything=c.supports.everything&&c.supports[i[h]],"flag"!==i[h]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[i[h]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings); img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } #wpadminbar { display:none; } html { margin-top: 32px !important; } * html body { margin-top: 32px !important; } @media screen and ( max-width: 782px ) { html { margin-top: 46px !important; } * html body { margin-top: 46px !important; } } 404 Page not found The Page you are looking for doesn't exist or an other error occurred. Go back, or head over to -SNIP- to choose a new direction.

#429929

Seems like alot of people are having this issue. I know of 4 other people with Views update problems.

Bryan

#430049

We have some users they can not update, mostly it's due to Server Settings which we can not debug or assist with.
https://toolset.com/toolset-support-policy/

Your error, I see that the very first time.

It seems not even releated to Toolset.

I suggest to contact a Server Specialist if you struggle with it's setup, as we can not help with this.

I can provide you with the IPs to whitelist, in case you block incoming requests

I can grant that PHP7 is not the propblem, I use it myself.

The main issue is write premits on your Folders/System.

If you configure your server to not write to folders or files it will not update the Plugins.

For the rest, ti should work fine, as it does for many other users.

The issues reported are mainly related to Server Issues.

Please let me know if you need to IP's to whitelist.

As for now, please delete the Plugins in the FTP and upload them as ZIP (If your server supports SSH) or as decompressed Folders again, after downloading them from your Toolset Account.

This will allow you to use the latest Toolset without any delay.

#430808

Hi Beda,

Unfortunately, I am the server specialist. That is the fun of moving from a shared hostgator server to one of your own! Haha!

I can understand not getting assistance with the server, but I should think you would be able to tell me what technologies/php plugins, etc. that Types/Views utilizes from the server to perform its updating?

As I mentioned, the normal WordPress and WordPress Plugin/Theme updates work fine, so it is an issue with Types/Views plugin and its dependencies for performing an update.

I should like to start with the IP addresses. Please provide those and I can whitelist them before we go any further. Thank you.

#430809

I should also like to add that the permissions on all files within the site are 644 and the permissions on folders are 755 so it is not an issue of permissions. Thanks!

#430826

If I may chime in, several people in Skype and Slack groups have mentioned this update quirk. I haven't had issues updating before this either.

For now, I am going "old-school" and just replace the plugin manually to see if it happens next time. Quicker than troubleshooting.

#430832

Ahh! It is an early morning... I did not even really think of that. If there is a possibility that I just have to manually update the plugin one time, then heck, that's not a problem at all.

I was thinking it was "broken forever" because of the new server, but if it is a one-time issue some people are having then it certainly isn't something to waste time troubleshooting on.

I will try this when I get back home and see if the update works properly when a new version comes out and let you know the results then!

#431097

@bryanc-2 " several people in Skype and Slack groups have mentioned this update quirk"
can you elaborate to what Slack and Skype channels you refer?

We do not have Toolset Channels for that.

It is true that some poeple reported this, but we can not replicate it.

It seems due to specific server settings and permissions.

As example on one internal Server we have, with a very specifc setup that I can not elaborate, we needed to flush the permissions.

It should not be broken forever, but in your case, @chris, I would pay attention on the next update.

Since you use a Custom Server, it can very well be it's wrongly set up or unallows the IP.

Here we go:

These are the URLs that we access for auto-updates:

1) To see if there are any updates available:
hidden link

2) To check if the subscription is valid
hidden link

3) The actual downloads come from:
https://toolset.com/

The cloudfront URL can have several different IPs and we cannot provide a fixed one.

For the other two: 74.50.59.42

#431362

The groups were a couple private ones. Genesis Slack and Skype Wp-network.
There wasn't alot of chatter, just a few people inquired.

I was able to update Views on my local machine (laptop) with MAMP. I had a staging sight that didn't update and I got this error. Update Failed: Download failed. cURL error 28: Operation timed out after 300000 milliseconds with 6653064 out of 6663840 bytes received

I haven't tried the live site. It could be a server config issue. Both servers I know had problems were Liquid Web servers.

I don't have time to follow up further now but I will try later.

Bryan

#431467

Hi Beda,

Here is a little more info.

When trying to update, I got this error message on my WordPress plugin page.
Update Failed: Download failed. cURL error 28: Operation timed out after 300000 milliseconds with 6653064 out of 6663840 bytes received

Also I talked to an individual today that also had this issue on HostGator.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.