Installing an i-doit update
i-doit should always be running the latest version. Major releases are published every six months, minor releases approximately every four weeks. There are two update paths: via the web interface or via Console (CLI).
Before updating
- Create a backup — fully back up the database and file system
- Check system requirements — verify PHP, MariaDB, and Apache versions against the target version
- Check add-on compatibility — minimum add-on versions for the target version must be met
- Ensure write permissions — the web server user needs write access to the i-doit directory
Skipping versions
- From version 20 onwards, major versions can be skipped
- Update to v38 requires at least v35 as the starting point
- Versions below v30 must first be updated to v29
Update via web interface
- Navigate to Administration > [Tenant] Management > i-doit Update (or via the Quicklaunch widget on the Dashboard)
- The system check verifies the environment — all items should be green/OK
- Click "Check for a new version" — requires internet connection
- The update package is downloaded and extracted
- Select databases — system database and tenants are usually pre-selected
- Confirm backup and start the update with "Yes, I did a backup! - Start the update"
- File update — files are updated (if errors occur: check write permissions, see below)
- Migration — database changes are applied
- Property Migration — attribute migrations are executed
- Completion — click "Run i-doit" to return to the application
Update via Console (CLI)
For servers without internet access or for automated updates.
Preparation
Download the update ZIP from the customer portal and transfer it to the server:
mv /path/to/idoit-38-update.zip /var/www/html/i-doit/
cd /var/www/html/i-doit/
unzip idoit-38-update.zip
Confirm overwriting with A (All) when prompted.
Set permissions
Debian/Ubuntu:
cd /var/www/html/i-doit/
sudo chown www-data:www-data -R .
sudo find . -type d -exec chmod 775 {} \;
sudo find . -type f -exec chmod 664 {} \;
Run update
sudo -u www-data php console.php update \
-u admin -p admin \
-z /var/www/html/i-doit/idoit-38-update.zip \
--v 38
Alternatively, start without parameters — the Console will interactively ask for the missing information:
sudo -u www-data php console.php update
After the update
- Clear browser cache (Ctrl+Shift+R)
- Clear i-doit cache under Administration > System Tools > Cache
- Rebuild search index:
sudo -u www-data php console.php search-index -u admin -p admin
- Update reports under Administration > System Tools > Cache / Database
Common update issues
Known errors and their solutions are documented in a separate article:
Known issues when updating i-doit
Detailed documentation: Installing an update in the Knowledge Base
Comments
0 comments
Article is closed for comments.