Skip to content

V5 clean-up #7

Description

@simongray

Directories which can likely be removed now that the v7 migration is done. The big wins are the assetstore (41 GB) and Docker dangling images (~18 GB), assuming the v5 assetstore data is fully covered by v7.


/opt — ~6.4 GB total

  • /opt/clarindk-dspace/ (3.0 GB) — v5 DSpace installation, scripts, configs, logs
  • /opt/clarin-dspace/ (2.8 GB) — v5 source code repository with build targets
  • /opt/tomcat/ (611 MB) — Tomcat server itself
  • /opt/themes/clarindk-dspace-common/ (3.2 MB) — v5 XMLUI theme
  • /opt/clarindk_piwik_reports/ (320 KB) — old Matomo/Piwik report scripts

/data — ~47 GB total

  • /data/clarindk-dspace/assetstore/ (41 GB) — v5 bitstream files (already migrated to v7)
  • /data/backup/clarindkucph/clarindk-dspace/ (5.6 GB) — v5 rsnapshot/rsync backups and old pg_dumps

/etc — systemd, logrotate, cron

  • /etc/systemd/system/tomcat.service — disabled but still present
  • /etc/logrotate.d/tomcat — logrotate config for v5 Tomcat logs
  • /etc/cron.daily/tomcat — any daily cron hook for Tomcat

SSL certificates

  • /etc/letsencrypt/live/dspace.clarin.dk/ — cert for the old primary domain (still in use for redirect, so hold off until you're sure)

Nginx backup files

  • /opt/nginx/conf/sites-available/dspace-v7.vhost.bak.20260203-092326
  • /opt/nginx/conf/sites-available/dspace-v7.vhost.bak.20260526-102541
  • /opt/dspace7/v5-backup/ — the backups we just moved there

Docker — ~18 GB of dangling images

  • 14 dangling images from previous frontend builds (297–4.3 GB each)
  • ufal/dspace: — old untagged backend image (787 MB)
  • ufal/dspace-postgres-pgcrypto: — old untagged db image (438 MB)
  • ufal/dspace-solr: — old untagged solr image (527 MB)

/var/log

  • Any Tomcat access/error logs under /var/log referencing v5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions