115 | | |
116 | | |
117 | | |
118 | | |
119 | | |
120 | | |
121 | | |
122 | | |
123 | | |
124 | | |
125 | | |
126 | | |
127 | | |
128 | | |
129 | | |
130 | | |
131 | | |
132 | | |
133 | | |
134 | | |
135 | | |
136 | | |
137 | | |
138 | | |
139 | | |
140 | | {{{sudo docker build -t lcbruit/redcap_upgrade:v6.16.8 .}}} |
141 | | |
142 | | {{{sudo docker run -v /share:/share -itd -p 80:80 lcbruit/redcap_upgrade:v6.16.8}}} |
143 | | |
144 | | {{{sudo docker exec -i -t cbd3b580bd1b /bin/bash}}} |
145 | | |
146 | | |
147 | | http://uhlbriccsext02.xuhl-tr.nhs.uk:81/redcap/redcap_v6.16.8/upgrade.php |
| 120 | Add entries for the database. |
| 121 | |
| 122 | 7. Build Docker container |
| 123 | |
| 124 | {{{sudo docker build -t lcbruit/redcap_upgrade:v6.16.8 .}}} |
| 125 | |
| 126 | 8. Run container |
| 127 | |
| 128 | {{{sudo docker run -v /share:/share -itd -p 80:80 lcbruit/redcap_upgrade:v6.16.8}}} |
| 129 | |
| 130 | 9. Open URL |
| 131 | |
| 132 | {{{http://<HOST>.xuhl-tr.nhs.uk:81/redcap/redcap_v6.16.8/upgrade.php}}} |
| 133 | |
| 134 | 10. This url will give you a sql script that you run against the database. Download the sql file and place it on the mysql host. Run as follows : |
| 135 | |
| 136 | {{{mysql -u root -p redcap6168 < redcap_upgrade_61608.sql}}} |
| 137 | |
| 138 | |
| 139 | |
| 140 | |
| 141 | |
| 142 | |
| 143 | |
| 144 | |
| 145 | |
| 146 | |
| 147 | |
| 148 | |
| 149 | |
| 150 | |
| 151 | |
| 152 | |
| 153 | |
| 154 | |
| 155 | |
| 156 | |
| 157 | |
| 158 | |
| 159 | |
| 160 | |
| 161 | |
| 162 | |
| 163 | |
| 164 | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 | |