brainstorm3 icon indicating copy to clipboard operation
brainstorm3 copied to clipboard

Neuroimage server maintenance

Open ftadel opened this issue 4 years ago • 0 comments

  • Find a new emailing solution (via USC Exchange, or paid external SMTP server)
  • Add Discourse to the backup script on Neuroimage: (/etc/cron.weekly/backup_zombie.cron)
    • Folder: /var/discourse
    • Running Docker container
    • Discourse backup (to be copied from the Docker image)
  • Re-organize and clean all the php scripts in /var/www/html/bst.
  • Create user, in includes/inc_validFunctions.m:
    • Approve new user automatically, so that it is not added to the review list of the admins/moderators. From rails console: u = User.create!(username: "name", email: "[email protected]", password: "password") u.approve(Discourse.system_user, false) # if manual approvals are required u.activate`

    • Add the user fields to the Discourse database: interests, occupation And possibly migrate all the existing MySQL userfields to the new Discourse user fields https://neuroimage.usc.edu/forums/admin/customize/user_fields

  • Stop completely using the old MySQL database (initially used by VBulletin), except for the usage logs: All the PHP scripts must be modified to access directly the Discourse PostGres database, or use the web API

ftadel avatar Jan 18 '22 14:01 ftadel