[OSGeoLive] #2391: Update QGIS plugins

OSGeoLive trac_osgeolive at osgeo.org
Sun Aug 7 10:12:55 PDT 2022

#2391: Update QGIS plugins
 Reporter:  kalxas     |       Owner:  osgeolive@…
     Type:  task       |      Status:  new
 Priority:  critical   |   Milestone:  OSGeoLive15.0
Component:  OSGeoLive  |  Resolution:
 Keywords:  QGIS       |
Comment (by sanak):

 This work was a bit harder than I expected.
 1. When I upgrade all upgradable plugins, new plugin versions went to {{{
 /home/user/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ }}}
 (From QGIS Settings/User Profiles/Open Active Profile Folder menu).
 2. I deleted upgraded old plugins from {{{ /usr/share/qgis/python/plugins/
 }}}, then moved above user folder's plugins to there.
 3. To generate python cache, I changed {{{ /usr/share/qgis/python/plugins
 }}} folder's owner by executing as follows.
 $ cd /usr/share/qgis/python
 $ sudo chown -R user:users plugins
 4. Check on/off each plugin from QGIS Plugin Manager.
 5. Only "Semi-Automatic Classification Plugin" failed when checking on the
 plugin from QGIS Plugin Manager, and it seems to support only from user
 profile folder, so I deleted it.
 6. Close QGIS, then archive the plugins folder by executing as follows.
 $ cd /
 $ sudo zip -r qgis3-osgeolive15-plugins.zip usr/share/qgis/python/plugins
 7. Deleted current plugins folder once, then extracted it from zipped
 archive from same folder in {{{ /bin/install_qgis.sh }}}
 $ sudo rm -rf /usr/share/qgis/python/plugins
 $ sudo mkdir -p /tmp/build_qgis
 $ cd /tmp/build_qgis
 $ sudo mv /qgis3-osgeolive15-plugins.zip ./
 $ sudo unzip -q qgis3-osgeolive15-plugins.zip -d /
 8. Launch QGIS and check on/off each plugin from QGIS Plugin Manager.

 The unzipped size increases from 49.2MB to 92.1MB (almost double), so
 please take care to fit in ISO size.

 The zip file can be downloaded from here.
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2391#comment:4>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.

More information about the osgeolive mailing list