Closed (duplicate)
Project:
GovCMS
Version:
7.x-2.8
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2016 at 16:57 UTC
Updated:
6 Dec 2016 at 09:27 UTC
Jump to comment: Most recent
Comments
Comment #2
toby wild commented+1
When I go to the update page it tells me I shouldn't update, and that I should come here to the project page for further information.
At this point there is 30 modules awaiting updates (On a fresh install), three of which are Security updates.
Does it not get updated until we finally launch into the GovCMS SAAS platform?
Comment #3
therobyouknow commentedAnswering my own question, my guess is the steps are very similar to updating the Panopoly distribution ( https://www.drupal.org/node/2272177 ) and would be as follows:
1) Backup database, capture config overrides (see Panopoly page)
2)
Done at command line on server that runs the site, start by being in the site docroot folder (cd'ing into it)
Update
My previous approach (based on the Panopoly steps) did not work, here is what works:
- Download the distro as a .zip (or .tar.gz) from the drupal.org/project/govcms project page - either manually via the web or with wget or curl at the command line.
- Unpack/unzip the download and Replace your current distro files with the updated files from the downloaded distro
- Run drush updb
I found this new approach to work. Thanks to drupal.org user edb for the advice on the above.
Why did my previous approach not work?
When I issued drush dl govcms I got the error:
Source directory /tmp/drush_tmp_1472811109/govcms is not readable or does not exist. [error]
Project govcms (7.x-2.8) could not be downloaded to /var/www/site.dev/sites/all/modules/contrib/govcms.
I tried setting all the permissions, changing the tmp path in Media, File System in Config in Drupal Admin pages, but still got the same error.
Tip for the new working approach: Make sure you use the .zip/tag.gz from drupal.org/project/govcms and not the ones from the github project page for the distro. I would not suggest using the zip from github in these steps as not everything is included with that version, regarding dependencies. Package/dependency management is used to resolve that. But with the zip (or tar.gz from drupal.org/project/govcms everything regarding dependencies is included) so it's good to go straight out the box.
govCMS developers wish to comment (on revised approach)?
Thank you.
Comment #4
therobyouknow commentedI've also added a ticket in the govCMS github asking about a definitive guide: https://github.com/govCMS/govCMS/issues/344
In the meantime I expect to use my own steps defined above.
Comment #5
therobyouknow commentedComment #6
aleayr commentedHi therobyouknow and Toby,
Thanks for asking the question. I've updated this thread on Github, and I'll copy the response over here as well:
Hi @therobyouknow,
Your approach above is a good one. The issue with using the raw ZIP/TAR from Github is that it's actually a series of build scripts essentially, that build sources like Drupal.org will process and turn into something more usable as you've unfortunately discovered the hard way. So, yes, preferable to take the download directly from Drupal.org and apply that.
One of my focuses over the backend of this year is to really ramp up the amount of supporting documentation we have available for the distribution, both from a maintenance perspective for customers using it outside of our hosted platform, and for modules and functionality available to Site Builders and editors that might not be immediately obvious (especially for those new the Drupal).
I'll close this one off on here, so we have one thread of discussion, but thanks very much for your feedback and work on this.
Thanks
Adam.
Comment #7
therobyouknow commentedThank you aleayr for your follow up. I will follow the thread on Github.
Comment #8
thomasmurphy commentedThe thread on github seems to say that there is no documentation.
Comment #9
therobyouknow commentedthomasmurphy please use the steps on that thread you mention, I have provided further detail in this comment: https://github.com/govCMS/govCMS/issues/344#issuecomment-265100438