Your software
My Mautic version is: 5.1.x
My PHP version is: 8.1.30
My Database type and version is: ?
Your problem
On my webhoster npm is not available. Everything else is. Due to npm no being available I can’t install by mautic by composer. So i’ve installed it on my local linux workstation and rsynced it. Now I upgraded on my workstation to 5.1.1.
Then I’m using this rsync command to send the changes to the hosting:
rsync -ruv \
--links \
--checksum \
--perms \
--exclude /config/ \
--exclude /var/ \
--exclude /.git/ \
--exclude /.htaccess \
--exclude /docroot/translations/ \
--exclude /docroot/media/images/ \
--exclude /docroot/media/libraries/ckeditor/translations/ \
./ \
user@webhosting:vhost/mautic/ \
--delete \
afterwards I did run the clear-cache/update commands as documented (How to update Mautic — Mautic Documentation 0.1 documentation).
Now everything seems to run fine. Nice!
Are there other folders to exclude in rsync? Or do I have excluded too much already?