Error 500 on PUT of site config

(Wout Mertens) #1

Using the bitnami 0.9.0 install, which I just updated to git master.

When trying to update the logo url in site settings, I get:

Started PUT "/admin/site_settings/logo_url" for at 2013-05-14 18:08:13 -0400
Processing by Admin::SiteSettingsController#update as */*
  Parameters: {"value"=>"/assets/logo.png", "id"=>"logo_url"}
Completed 500 Internal Server Error in 43ms

ActiveRecord::RecordNotUnique (PG::Error: ERROR:  duplicate key value violates unique constraint "site_settings_pkey"
DETAIL:  Key (id)=(4) already exists.
: INSERT INTO "site_settings" ("created_at", "data_type", "name", "updated_at", "value") VALUES ($1, $2, $3, $4, $5) RETURNING "id"):
  lib/site_setting_extension.rb:176:in `add_override!'
  app/controllers/admin/site_settings_controller.rb:11:in `update'
  config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets'
  config/initializers/silence_logger.rb:19:in `call'
  config/initializers/99-rack-cache.rb:18:in `call'

(Jeff Atwood) #2

Sorry for the slow response, but does updating to latest address the problem?

(Wout Mertens) #3

Well, I don’t know, sorry, I switched to a regular install…

Anybody else installed the bitnami stack and can change the logo?

(Jeff Atwood) #4

This topic was automatically closed after 24 hours. New replies are no longer allowed.