Skip to content

Neuroimage server maintenance #483

@ftadel

Description

@ftadel
  • 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: "name@email.com", 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

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