Jump to content

Archived

This topic is now archived and is closed to further replies.

Rob Thomas

Problem with Updates/Account on Digital Ocean

Recommended Posts

Rob Thomas

I seem to be having some problems with a multisite I have hosted on DO. I was unable to upgrade any of the plugins or add any new sections, etc. This has been going on for several months now. I get an error "The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature"

There is only one site that is using Platform 5 on this Multisite, but, of course, you have to have the primary hosting site activated, as well, in order to perform the updates. I tried refreshing my account and that did not work. When that did not work, I tried deactivating (removing) my account on the primary site on the Multisite (and then was planning to reactivate it to see if that would fix the problem). When I attempt to reactivate the site with my account, the following error is returned: 

{"success":false,"data":"Too many redirects"}

so, yay, I seem to have just made things worse. 

is it possible Wordfence is causing the first error? I have since deactivated it, but since I can no longer link my account in PL, I cannot test that out. 

I have two other sites on other servers and I am not having this issue. It is only on my DO server. 

Share this post


Link to post
Share on other sites
Simon

The dir record error gets a number of results on google, most relating to memory and disk size.

  • Do you have enough disk space to extract?
  • Is there a tmp partition? Is it big enough?
  • Has PHP got enough memory to extract the file?

We use native WP functions to install/update and addons within PL5 and updates are handled natively by WordPress.

I seem to remember some ticket or post mentioning reverse proxies or something? 

Share this post


Link to post
Share on other sites
Rob Thomas

There's tons of disc space. 

I'll have to check on PHP memory. 

Share this post


Link to post
Share on other sites
Simon

Yes but where does PHP extract the zip? Is php setup to use a tmp dir? does the path exist? Is it a real dir or mounted memory? does it have enough space? rw permissions?

 

Share this post


Link to post
Share on other sites
jrobgood

I'm experiencing the exact same problem, only on Linode, not DigitalOcean.

Share this post


Link to post
Share on other sites
Rob Thomas

I have not been able to resolve this problem. 

I am able to update all other software and plugins but not Pagelines. There is plenty of memory allocated. I have had this account on D.O. for several years and it has never been a problem before now. 

Share this post


Link to post
Share on other sites
Simon

you have php5-curl installed?

Share this post


Link to post
Share on other sites
Rob Thomas

Hi Simon,

It appears to me that D.O. has upgraded past Php5. I have run various commands to install php5-curl and it is unable to locate the package. I am assuming this means D.O. has everything on Php 7 now. Any ideas? I've tried sudo apt-get install php5-curl and sudo apt-get install php5.6-curl ... no dice. 

Share this post


Link to post
Share on other sites
Simon

DO are vps suppliers you can install ANY linux distribution and ANY package.

What linux do you have on your droplet?

Share this post


Link to post
Share on other sites
Rob Thomas

Sorry I didn't put that in my note above. I upgraded the entire system to Ubuntu 16.041X64. 

Share this post


Link to post
Share on other sites
Simon

apt-cache search curl

see if there are any packages there u need to install

Share this post


Link to post
Share on other sites
Rob Thomas

I was able to reinstall PhP 5 with the following: 

$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:ondrej/php
$ sudo apt-get update

$ sudo apt-get install -y php5.6

However, it has not fixed the problem. I will send a help request to [email protected] 

Share this post


Link to post
Share on other sites
Simon

why are you adding repos? php is a base package surely?

Share this post


Link to post
Share on other sites
Simon

Hi Rob, replied to your ticket now.

Share this post


Link to post
Share on other sites
Simon

In case anyone stumbles across this this thread, the underlying issue was Rob had not installed Curl.

WordPress will fallback to php streams if curl is not available but it can lead to issues with installing and checking for updates.

Share this post


Link to post
Share on other sites
Rob Thomas

Thank you, Simon. I really appreciate the help. The command is: 

apt-get install php7.0-curl

for anyone else who is also looking for that snippet of info. 

I can confirm that a one-click install for Ubuntu 16 on Digital Ocean requires you to add this command AFTER the one-click install. I just created a new droplet using the WP one-click option and ... same thing as happened on my other droplet happened with this new one. Hopefully this saves someone else the hassle I just went through. 

Thank you again Simon for helping me with this.  

Share this post


Link to post
Share on other sites

  • Similar Content

    • Jessica McCabe Lawson
      By Jessica McCabe Lawson+
      I created a new account for business purposes but I have lost the password, and the password reset link does nothing. This is urgent, as we're close to launch and I'm experiencing issues with platform 5. I'm trying to reconnect my account to see if that helps, but so far, nothing is working.
      How can I reset my password for the account associated with [email protected]?
    • gstrahle
      By gstrahle+
      I have a client of whom has taken un-authorized copy of my pagelines installations, configs, and licenses and placed on new server un-accesable to me.  I do not want this client using any part of my page lines membership and products.
       
      Please help me figure out how to de-activate the membership connection and license usage for their site.
       
      Thanks,
      Gary
    • ppotent
      By ppotent+
      All of a sudden, my account is on hold, and my order from jul 2016 says that it's failed. What's the best way to contact the pagelines account folks?
    • TourKick (Clifford P)
      By TourKick (Clifford P)
      What's the latest version of DMS2, and is it the last version to ever be expected?
      I ask because v2.2.4 is available but the fix for Google Maps to always load HTTPS instead of HTTP isn't in v2.2.4 -- https://github.com/PageLines-Team/dms/blob/2.2.4/dms/includes/library.pagelines.php#L202 -- but I thought I submitted this pull request in the past (although I can't find it now)
      Also, 
      states v2.2.3 is the latest and not v2.2.4
      Finally, what does this mean:
      ?
       
      Thank you.
    • abuzzelli
      By abuzzelli+
      Is there any way Pagelines themes and plugins can be modified so I can updated them with ithemes sync? I have quite a few sites and I use ithemes sync extensively. This would be much appreciated!
×