From 8f555f2b703d087257e04fbf43db555aa0b9d329 Mon Sep 17 00:00:00 2001 From: Roger Rutishauser Date: Mon, 14 Oct 2024 17:52:56 +0200 Subject: [PATCH] atom --- atom/atom-sql-queries.md | 8 ++++---- atom/atom-upgrade.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/atom/atom-sql-queries.md b/atom/atom-sql-queries.md index d68e5e8..adce56e 100755 --- a/atom/atom-sql-queries.md +++ b/atom/atom-sql-queries.md @@ -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' ); ``` diff --git a/atom/atom-upgrade.md b/atom/atom-upgrade.md index d6a17f2..9dd08dd 100755 --- a/atom/atom-upgrade.md +++ b/atom/atom-upgrade.md @@ -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`