This commit is contained in:
Roger Rutishauser 2024-10-14 17:52:56 +02:00
parent 14060239fa
commit 8f555f2b70
2 changed files with 7 additions and 7 deletions

View File

@ -5,7 +5,7 @@ include_toc: true
# AtoM SQL Queries
See also here: [https://www.accesstomemory.org/en/docs/2.6/admin-manual/maintenance/common-atom-queries/](Common AtoM database queries)
See also here: [Common AtoM database queries](https://www.accesstomemory.org/en/docs/2.6/admin-manual/maintenance/common-atom-queries/))
## recreate DB
@ -16,7 +16,7 @@ DROP database atom25dbtest;
CREATE DATABASE `my-db` CHARACTER SET utf8 COLLATE utf8_unicode_ci;
```
dann webinstaller machen. evtl. noch config/config.php löschen.
dann webinstaller machen. evtl. noch `config/config.php` löschen.
## delete all archival descriptions
@ -31,8 +31,8 @@ select a.id, a.parent_id, a.repository_id, b.title
from information_object a
left join information_object_i18n b on a.id = b.id
where a.id = (
select object_id from slug
where slug = 'historische-glasdias-2'
select object_id from slug
where slug = 'historische-glasdias-2'
);
```

View File

@ -5,13 +5,13 @@ include_toc: true
# AtoM Upgrade
Siehe auch https://www.accesstomemory.org/de/docs/2.7/admin-manual/installation/upgrading/#installation-upgrading
Siehe auch [hier](https://www.accesstomemory.org/de/docs/2.7/admin-manual/installation/upgrading/#installation-upgrading)
- backup Data and DB
- get new AtoM-Version and save to `/usr/share/nginx/atom[version number]` [https://www.accesstomemory.org/de/docs/2.6/admin-manual/installation/linux/ubuntu-bionic/#option-1-download-the-tarball|link](download tarball)
- get new AtoM-Version and save to `/usr/share/nginx/atom[version number]` [download tarball](https://www.accesstomemory.org/de/docs/2.6/admin-manual/installation/linux/ubuntu-bionic/#option-1-download-the-tarball)
- create new DB named `atom[version number]`
- grant access to the DB for the already existing mysql user `atomuser`
- run Webinstaller. in case of 504 error, increase timeout. see https://groups.google.com/g/ica-atom-users/c/LKVkkvT1DkY/m/nVuzUQKJCwAJ
- run Webinstaller. in case of 504 error, increase timeout. See [here](https://groups.google.com/g/ica-atom-users/c/LKVkkvT1DkY/m/nVuzUQKJCwAJ)
- import old DB (only tables, not DB itself)
- run upgrade task: `php -d memory_limit=-1 symfony tools:upgrade-sql`
- regenerate digiteal object reference and thumbnail: `php symfony digitalobject:regen-derivatives`