<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Update on Michael’s Domain</title><link>https://jeltsch.org/en/tags/update/</link><description>Recent content in Update on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/update/index.xml" rel="self" type="application/rss+xml"/><item><title>Updating drupal</title><link>https://jeltsch.org/en/updating_drupal/</link><pubDate>Tue, 19 Feb 2013 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/updating_drupal/</guid><description>&lt;p&gt;Here&amp;rsquo;s what I need to to to update 
 &lt;a href="https://jeltsch.org/en/tags/drupal/"&gt;drupal&lt;/a&gt;
 (minor updates, e.g. from 7.18 to 7.19) on my Ubuntu server. I have installed drupal from the drupal source itself and not from the Ubuntu repository (because the Ubuntu repository is usually quite old and not updated as frequently). Actually the update is quite painless; I am sure somebody automated that already somewhere…&lt;code&gt;cd /var/wwwsuwget http://ftp.drupal.org/files/projects/drupal-7.19.tar.gztar -xvzf drupal-7.19.tar.gz chown -R jeltsch:www-data drupal-7.19rm drupal-7.19.tar.gz cp -a drupal-7.18/sites/ drupal-7.19/&lt;/code&gt;The above cp command makes a copy of the complete site, which can take a long time and use lots of disk space. Instead, you can delete the &amp;ldquo;sites&amp;rdquo; subdirectory in the new drupal folder and make a link to the old &amp;ldquo;sites&amp;rdquo; subdirectory:&lt;code&gt;cd drupal-7.19rm -rf sitesln -s ../drupal-sites/ sites&lt;/code&gt;Here you should log into your site and put it into maintenance mode! &lt;code&gt;mysqldump -u root -p --databases drupal7_jeltsch_org drupal7_claudia_jeltsch_org drupal7_lammertlab_org &amp;gt; drupal7_all.sqlrm drupal7ln -s drupal-7.19/ drupal7&lt;/code&gt;Here you should click the link to the update script. After the updates were successfully performed you can put your site online again.** ****Drupal 9**Updating Drupal 9 is most easily done using composer:&lt;code&gt;composer update &amp;quot;drupal/core-*&amp;quot; --with-all-dependencies&lt;/code&gt;Also the modules can be updated. However, in my case the update was not always targeting the module that was actually in use but a module that was lower in the priority list in some other directory. For minor version updates:&lt;code&gt;composer update drupal/modulename --with-dependencies&lt;/code&gt;For major version updates:&lt;code&gt;composer require drupal/modulename:^2.0&lt;/code&gt;After this, don&amp;rsquo;t forget to visit 
 &lt;a href="https://yoursite.com/update.php" target="_blank" rel="noopener noreferrer nofollow"&gt;https://yoursite.com/update.php&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
!&lt;/p&gt;</description></item><item><title>Updating Suse Linux 9.0 to 9.1</title><link>https://jeltsch.org/en/updating_suse_linux_9_0_to_9_1/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/updating_suse_linux_9_0_to_9_1/</guid><description>&lt;p&gt;The .0 to .1 update suggests, that it&amp;rsquo;s not a big deal. In fact, it is. Many things do brake and most people advise to do a clean install of 9.1. Because of extensive third party installations and customization I wanted to upgrade. In case the upgrade appeared unusable, I wanted to have the possibility to go back to 9.0. This appeared easily possible because we had a free 8.6 GB partition (hdb3) on the harddisk. Actually it was not free, but it was the root partition of our RedHat 9 installation. I did the following things: I wanted to preserve all the user-specific configurations. Thus I backed up all the hidden files and directories from the main user&amp;rsquo;s home directory:
tar -cvf configuration_files.tar .[a-zA-Z0-9]* Then I reformatted hdb3 (it was ext3) into reiserfs via Yast Then went into runlevel 1 with
sudo /sbin/telinit 1
and mounted the newly formatted partition
mount /dev/hdb3 /redhat Then I duplicated the current root partition (/dev/hdb2)
cd redhat
cp -ax / . Then I edited /redhat/etc/fstab: I changed the entry for the root partition from /dev/hdb2 to /dev/hdb3. The current root partition (/dev/hdb2) uses already reiserfs, so no other changes are needed here. However, you have to uncomment all &amp;ldquo;special&amp;rdquo; file systems. Otherwise the Suse Installer will try to mount these and fail and then give you some bogus error messages. I had e.g. two entries for colinux (/dev/cob2 /) and got the following error message: &amp;quot; The root partition in /etc/fstab has a wrong root device. See 
 &lt;a href="http://portal.suse.com/sdb7en/2004/01/sata.html%22" target="_blank" rel="noopener noreferrer nofollow"&gt;http://portal.suse.com/sdb7en/2004/01/sata.html"&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Also special file systems create similar trouble. I first left the proc, usbfs, etc. entries and got again an error: &amp;ldquo;Partitions could not be mounted.&amp;rdquo; Then I edited the fstab and left only /, /boot, swap, /home and then the Suse installer managed. Then I edited /boot/grub/menu.lst and added an entry for the new system (I just duplicated the existing, renamed it and changed the root partition from to hda3; additionally I specified vmlinuz and initrd directly and not via symbolic links as the links will point to thefiles of the new kernel after the upgrade). Before I started the actual installation I checked that I can select in grub both installations and successfully boot During installation the installer complained about 1200 conflicts. Most of them I ignored as many packages of the old system had been manually added and were too new for the 9.1 installer CD. But since I was going to update online immediately after the install, this shouldn&amp;rsquo;t be much of a problem. I also chose to keep installed packages that are not any longer maintained.&lt;/p&gt;</description></item><item><title>Updating gallery via CVS</title><link>https://jeltsch.org/en/updating_gallery_via_cvs/</link><pubDate>Tue, 06 Mar 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/updating_gallery_via_cvs/</guid><description>&lt;ol&gt;
&lt;li&gt;Run as root cvs update -Pd in the gallery2 directory&lt;/li&gt;
&lt;li&gt;Once your files have been updated, open up your Gallery 2 in your web browser and it will take you right to the upgrader automatically&lt;/li&gt;
&lt;li&gt;More info if needed on 
 &lt;a href="http://codex.gallery2.org/index.php/Gallery2:Upgrading_from_2.0_to_2.0.1Option_4._Updating_via_CVS" target="_blank" rel="noopener noreferrer nofollow"&gt;the Gallery site&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Updating gallery</title><link>https://jeltsch.org/en/updating_gallery/</link><pubDate>Mon, 14 Aug 2006 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/updating_gallery/</guid><description>&lt;ol&gt;
&lt;li&gt;Backup the albums, the working gallery code and dump the databases&lt;/li&gt;
&lt;li&gt;Put all the Gallery sites into the maintanance mode&lt;/li&gt;
&lt;li&gt;Get the newest full version of Gallery&lt;/li&gt;
&lt;li&gt;Unzip the file over the existing version of the Gallery&lt;/li&gt;
&lt;li&gt;Navigate as an admin to the main page&lt;/li&gt;
&lt;li&gt;Run the updater&lt;/li&gt;
&lt;li&gt;Run the cleanup script if necessary&lt;/li&gt;
&lt;li&gt;Check whether everything works fine&lt;/li&gt;
&lt;li&gt;Change the sites mode to active&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>