Overview

This is a personal note on updating Omeka S. Please also refer to the following official documentation.

https://omeka.org/s/docs/user-manual/install/#updating

Preparation: Backup

Before performing update operations, be sure to create backups of the database and all files in case of unforeseen circumstances.

1. Database Backup Create a database dump file using the mysqldump command or similar.

#mymsyqslqdludmupmp-u-udb[_DuBseurse-rpnaommee]ka-_ps_[dDbB>naommee]ka>_s[_obuatcpkuutp.fsiqllename]

2. File Backup Back up (duplicate) the entire Omeka S installation directory.

c#c##dpWOt/h-raher,ronmow-ecmhc/oeeznpknvayafki-cansoomgmmuopertmrkaheea/eks-wasswe-i_wnsnbt_gaibcraakecnukdpdu_ips2r_a0e2v2c0i4t2n0o4g8r00y8w10i.(1ttahadrdt.iagnrzgoamedkaat-esisconvenient)

Maintenance Mode

Before updating, switch to maintenance mode.

Install the following EasyAdmin module.

https://omeka.org/s/modules/EasyAdmin/

Then, access the settings page from the “Settings” button.

/admin/setting

For the “Maintenance” item, check “Public front-end” for example and save.

As a result, the maintenance page will be displayed.

Updating the Core and Default Theme

Navigate to the directory where Omeka S is installed and execute the following.

cd/home/nakamura/www/omeka-s

Below is an example of updating to v4.1.1.

vwurrrmmmmmmrmregnmmmvvvvvvmvmrezsti---oooooo-o-iprrrmmmmmmrmrohfffeeeeeefefntokkkkkkk=tmavaaaaaaao4pe.pe------/-m.skzpnsssssstse1:aild////h/k./-piacLRveta1/scrp.oIEemh-g-appmCAneesi$tlhpEDdsmtviipoNMo/eheocsSErdsurna.eE.e/bstrm.fd.ii..daecoo*ufonn.lam.tuz.loitmpek/at/hoemmeeksa/-s/releases/download/v$version/omeka-s-$version.zip

When you access /admin, you will be redirected to /migrate and the following screen will be displayed. Press the “Update Database” button.

If you navigate to the admin screen and see “Migrated”, the update was successful.

Updating Modules

Update modules as well.

Modules that can be updated will be displayed as shown. Additionally, when updating from Omeka S v3 to v4, there may be cases where modules cannot be run without updating due to version incompatibilities.

First, navigate to the modules directory.

cd/home/nakamura/www/omeka-s/modules

Then, create a file with the following content. Change the target modules as appropriate.

##d#fd!eoo/ScLrnbtloeioa"""""""""""om#re#r#w#Z#urnrrCBCLBFIIIREpoecmgInm/eeoulouaimieadSahDDeGPUzbmleglciaifstupdoe-ote_ni"am-mkakefgfeyhlllrwtFzp$soaoEnhItSeVrArei-"efn"IiZhdnxUtmeeSiedotrPtl$tLp"Iumprtpdreenmuire"oMhE$PloholpoBvrwcignmMo$aOe=tZ_edtrsrreveenhoOceMdD$hIFutth:torer"dDexOUz(ePInlpt/wrshhe$uUsiDtLib_Laesht/hshtta{lLssUhEpafFEms:tpgtethhttcmeEitLe_siI"e=/tsittttppho_niEUfelL(/p:tphpttssdnNgn_mRineEags/hstspp::euaAgNoLla"ni:u:t:ss/llmM$Ad"emadtgbp/::/eeeEMmMuenh/i./s//ggmsOoElndUugtcg:g/iie[aMDd"ea"Rbihoi/iggttn@nOUum$tL.tumt/tiihht]dDLlzeMhchbhghttuu}UEeiOepou.Duiuhhbbo"UL_pDnambcabtbuu..f;RENdUi/.on.h.bbccL_AifLdrDcmicuc..ootdUMriEesao/eoboccmmhoREel_lnmDlm.mo//eLceUeii/a-cmmDDftRtneDnKDD//aaaroLelaiMamaDnnnror"a-ne/n/naaiirmy)tnKilOioinkeeahMe-memeially"$ea/lKelelem--$MrO-Mk-k-luKKmOzrmK/aKaK-rMMoDiaeMO-M-MKa//dUpyk/mS/s/M1OOuLaOe-O-O/9mmlE-mkmmmmO6eee_Seaoeoem/kk"U-k-dkdkeOaaRmaSuauakm--Lo--l-l-aeSS"dSmeSeS-k--u-o--s-SammlmdLmm--ooeouoFomSdd-dlgdado-uuCue/ucudmllol-rleluoeemeCeeteld--m-ll-e-euREoBeeBdI-leanuaauBiIefs/lnslrim-eyrkUekofaIrAeErsIwSgiedlxlmseeinmepdperSfciaroo/veVensrewrreri//etlntererrsell/eweerarerrelldesaeae/reeoledlslrsaaweseeee/ssna3asalreelsd.s/seessoeo4edeal//asw.sssedddn2w/eaoodl4dndssww3oo/olo/enn.waLwowdsll4ndnano/oo.lgldlwdaa63-o/onodd1a.3avalw///d1.d1dn33C74.al..3..353d44m.72...a..m444163d42o.C../../90n3lz5F261/-4ei6a1..RE3ap/c12ea.Bn"BeI8.fs4uUuti5ey.lrleiI/rA6klkdfmIed1E-IBSainm.x3mregicizp.porefenio1owvSV--pr7rseei33"t.terre..-7---vw443.313ee...z...rr424i456-s90.p...3-..3"512.1zz46.16.ii..z..2ppzziz1.""iipi85pp"p.."""zziipp""

Then, execute the following.

bashupgrade.sh

As a result, an “Upgrade” button will be displayed for updated modules, so press the button. Note that recent modules often require the “Common” module to be installed beforehand, so it is recommended to install it first.

Summary

Finally, disable maintenance mode to complete the update process.

Since errors may occur during the update process, it may be helpful to change the settings in the .htaccess file as follows. Also, don’t forget to switch back to production mode after completing the update.

#SeSteEtnEvnvAPAPPLPILCIACTAITOINO_NE_NEVNV"d"epvreoldoupcmteinotn""

I hope this serves as a useful reference for operating Omeka S.

Update History

  • 2026/02/06: Added backup procedure
  • 2024/08/01: Article published