Ticket #347 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

cas psql database password is wiped out on upgrade

Reported by: russ Assigned to: ebrown
Priority: medium Milestone:
Component: topaz Version:
Keywords: cas Cc:
Blocking: Blocked By:

Description (Last modified by russ)

move database password from cas/webapps/cas/WEB-INF/web.xml into /etc/topaz so that it's not blown out on upgrades.

Dependency Graph

Change History

05/29/07 15:19:08 changed by russ

  • keywords set to cas.
  • priority changed from unassigned to high.

05/29/07 15:23:12 changed by russ

  • status changed from new to closed.
  • resolution set to fixed.

ahh.

if you're using a non-standard db password, then you must edit /usr/local/topaz/cas/webapps/cas/web.xml post-upgrade.

this should be moved to /etc/topaz! (along with the settings in global_config.ftl)

i will update the upgrade instructions.

05/29/07 15:58:40 changed by stevec

I had given instuctions on how to move global_config.ftl to /etc/topaz pre-launch, but I don't think it ever made it in. As for the db password, this is a recent change, right? Finally, to my knowledge, ratings isn't fully finished yet. The page listing all the ratings for a specific article is mocked up, but isn't wired up to the real data yet.

05/30/07 15:40:39 changed by jsuttor

  • status changed from closed to reopened.
  • resolution deleted.
  • milestone changed from TBD to 0.7.

the issue is being assigned to Eric to see if it can be part of the config changes. re the status of ratings, yet the get all ratings for an article feature is a mockup in r2826. will be commited in next rpm build.

05/30/07 15:41:56 changed by jsuttor

  • owner changed from somebody to ebrown.
  • status changed from reopened to new.

05/30/07 16:40:50 changed by russ

  • priority changed from high to medium.
  • description changed.

cool. i will update the description and (my perceived) priority.

05/30/07 16:41:11 changed by russ

  • summary changed from can't login after 0.7 upgrade to cas psql database password is wiped out on upgrade.

06/01/07 17:17:53 changed by ebrown

(In [2847]) re #347 Move postgresql password for cas to /etc/topaz/plosone.xml

Add the following to plosone.xml:

<cas><db><password>password</password></db></cas>

I think this probably needs to be moved to /etc/topaz/cas.xml as the cas rpm cannot own /etc/topaz/plosone.xml. I still have to do the nonJmxApplicationContext.xml though, so I'll reevaluate then.

Warning, don't try to take shortcuts with the build. If you do, you have to do things in this order:

  • build/ant-tasks
  • plosone/cas-mod
  • re-package/ecqs
  • packages/cas

06/05/07 14:33:19 changed by ebrown

  • status changed from new to closed.
  • resolution set to fixed.

This is fixed. Although it may move to /etc/topaz/cas.xml in the future.

10/29/07 21:13:36 changed by

  • milestone deleted.

Milestone 0.7 deleted