Troubles installing SG 1.2 on EC2

31 views
Skip to first unread message

Todd Freese

unread,
Feb 4, 2016, 1:10:37 PM2/4/16
to Couchbase Mobile
I'm trying to update my SG running on EC2 to the new 1.2 version.

However, when I try to install the rpm I'm getting:

perl(strict) is needed by couchbase-sync-gateway-1.2.0-79.x86_64


Is there a new dependency for SG 1.2?


Todd 

Todd Freese

unread,
Feb 4, 2016, 1:23:08 PM2/4/16
to Couchbase Mobile
OK, so I did a sudo yum install perl and it worked. 

Is there a list of SG required dependencies?

Also, I see there is a sync_gateway_service_upgrade.sh script now. Is there any documentation on this? How is this different that just re-running the sync_gateway_service_install.sh again?

Todd

Adam Fraser

unread,
Feb 4, 2016, 1:42:05 PM2/4/16
to Couchbase Mobile
Glad you were able to workaround the problem, but there shouldn't have been a perl dependency in the first place.  We'll take a look and try to sort out where that was coming from.


zgra...@gmail.com

unread,
Feb 4, 2016, 1:43:19 PM2/4/16
to mobile-c...@googlegroups.com
This is a real head-scratcher. We don't have any known direct or indirect dependencies on Perl.

Are you using a public AMI? If so, can you share the AMI number so we can try to reproduce?
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/ee055e2f-474e-4d71-a1fd-1d03cf3cdae4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ajres

unread,
Feb 4, 2016, 1:50:23 PM2/4/16
to Couchbase Mobile
When upgrading via a package manager e.g. rpm -U, the sync_gateway_service_upgrade.sh just sops a starts the Sync Gateway service to use the new binary distribution. Other installation setup steps are skipped.

Todd Freese

unread,
Feb 4, 2016, 1:59:12 PM2/4/16
to Couchbase Mobile
I'm not using a public AMI. Just Red Hat Enterprise Linux 7.0 (HVM).

What's even weirder is that I have 2 EC2 nodes. The first one worked fine, and the second one had the perl issue. We are very careful to make sure both nodes are exactly the same. (Will most likely move to docker down the road)

I did uninstall using rpm -e the previous sg version and reinstalled using rpm -i.

Todd
Reply all
Reply to author
Forward
0 new messages