Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCODOC_R6A06
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Milleville
SCODOC_R6A06
Commits
8c256fe7
Commit
8c256fe7
authored
10 months ago
by
Emmanuel Viennet
Browse files
Options
Downloads
Patches
Plain Diff
Fix upgrade script
parent
91af5704
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sco_version.py
+1
-1
1 addition, 1 deletion
sco_version.py
tools/upgrade.sh
+6
-8
6 additions, 8 deletions
tools/upgrade.sh
with
7 additions
and
9 deletions
sco_version.py
+
1
−
1
View file @
8c256fe7
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION
=
"
9.7.1
0
"
SCOVERSION
=
"
9.7.1
1
"
SCONAME
=
"
ScoDoc
"
...
...
This diff is collapsed.
Click to expand it.
tools/upgrade.sh
+
6
−
8
View file @
8c256fe7
...
...
@@ -24,14 +24,12 @@ export DEBIAN_FRONTEND=noninteractive
check_uid_root
"
$0
"
if
[
-z
"
$SCODOC_UPGRADE_RUNNING
"
]
then
apt-get update
&&
apt-get
-y
dist-upgrade
apt-get update
&&
apt-get
-y
dist-upgrade
||
alarm_admin
"apt-get dist-upgrade failed"
# install spécifiquement scodoc9, utile si les dépendances Debian de scodoc9
# ont été changées, ce qui peut provoquer un
# "packages have been kept back"
apt
install
scodoc9
||
alarm_admin
"apt install scodoc9 failed"
fi
systemctl restart redis
systemctl restart nginx
systemctl restart scodoc9
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