Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-wp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai
noblogs-wp
Commits
bb11a7bc
Commit
bb11a7bc
authored
10 years ago
by
ale
Committed by
agata
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add some upgrade instructions
parent
ff593d02
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
Noblogs 5.4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+43
-0
43 additions, 0 deletions
README.md
with
43 additions
and
0 deletions
README.md
+
43
−
0
View file @
bb11a7bc
...
...
@@ -244,6 +244,49 @@ cluster if you add or remove one backend, moving databases and blogs
around.
Upgrades
--------
The upgrade procedure involves upgrading the source repository on all
your servers, and running database upgrades for each blog. In order to
upgrade your installation, you will need the
`noblogs`
tool from the
`noblogs-cli`
repository.
### Upgrading the source code
We rebase our patch set on top of the Wordpress upstream on every
release, creating a new versioned branch of our repository. So the
first step is to figure out the most recent version is (our versioning
does not necessarily follow the Wordpress versioning scheme): you can
check the available branches in the git web interface for this
repository. At the time of this writing, the current version is
`noblogs-2.1.10`
, which we will use in the example below.
The following commands should upgrade your installation in place:
$ git remote update
$ git fetch noblogs-2.1.10
### Running database upgrades
The Network Upgrade option from the Wordpress admin panel does not
really work reliably, especially on large installations (due to request
timeouts and memory issues), so it is advised to use the
`noblogs`
command-line tool to perform post-upgrade maintenance tasks.
Assuming you have installed
`noblogs-cli`
in
`/opt/noblogs`
, the
following commands will upgrade the database schema for all blogs:
$ /opt/noblogs/bin/on-all-blogs upgrade
Note that this requires passwordless SSH access to the backend
servers. Otherwise you can always run
$ /opt/noblogs/bin/on-local-blogs upgrade
manually on each backend.
Contributing to the project
---------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment