Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neuroimage server maintenance #483

Open
ftadel opened this issue Jan 18, 2022 · 0 comments
Open

Neuroimage server maintenance #483

ftadel opened this issue Jan 18, 2022 · 0 comments

Comments

@ftadel
Copy link
Member

ftadel commented Jan 18, 2022

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant