Displaying 12 results from an estimated 12 matches for "dbmigrate".
2008 Mar 29
10
create new clientconfigs database
Hi, I''m upgrading from 23.2 to the latest and have "dbmigrate = true"
in my config.
When I try to run puppetd, I''m getting:
Could not migrate database: SQLite3::SQLException: no such table:
schema_info: SELECT version FROM schema_info
I''m perfectly blowing away my old db (by deleting /var/lib/puppet/
state/clientconfigs.sqlite3 ?), b...
2007 Aug 13
1
update from 0.22.4 to 0.23.x, not migrating database schema
Hello everybody,
I have updated the puppetmaster from 0.22.4 to 0.23.0 (and today to
0.23.2). Although ''dbmigrate=true'' is turned on AND the puppetmaster is
saying it migrates the databse at startup, this does not happen.
When it should store configs, I get the error:
Could not store configs: Mysql::Error: #42S02Table
''database.resource_tags'' doesn''t exist: SELECT * FR...
2007 Dec 22
8
puppet with postgresql adapter
Hi all,
i'' m trying to configure puppet to use rails with postgresql. I'' m having
troubles to make it work. Got no error when running puppetmasterd but
nothing is being populated in the DB. Is anybody using puppet with postgres
?
my config (in puppet.conf)
[rails]
dbadapter = postgresql
dbname = mydb
dbserver = localhost
dbuser = user
dbpassword = password
2008 Dec 18
3
errors after 0.24.7 upgrade ..
After upgrading my puppetmaster to 0.24.7 from 0.24.6 i am getting the
following errors in the puppetmaster logs. Any help would be appreciated.
Thu Dec 18 16:11:39 +1100 2008 Puppet (err): Could not store configs:
undefined method `environment='' for #<Puppet::Rails::Host:0xb72c0c38>
I do not use environment''s and they are not defined anywhere in the
puppet.conf
2007 May 28
12
Anyone using storeconfigs with a DB other than sqlite?
Just wondering if anyone is using a backend database other than sqlite,
and if so, how easy/hard it was to configure.
I''m constantly receiving "SQLite3::BusyException: database is locked..."
which I presume is due to sqlite''s relatively coarse locking method.
Cheers,
James
--
Senior Linux Platform Engineer
Midrange Services
AXA Technology Services - Asia Pacific
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
I have a Postgres database on Heroku. It is one of the free beta ones.
Locally, when testing, I often run rake db:drop && rake db:create && rake
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t
drop
2011 Jul 20
4
Setup database on new clone
I''ve just cloned my rails app onto another PC, and I''m having a
problem getting the database set up.
I''ve tried rake db:migrate, then db:create and also db:reset, but I
keep getting an SQLException "no such table". It seems this is due to
a line in an initializer which accesses one of my tables.
Why do the db:* tasks run the initializers ? Do I need to move
2012 Aug 23
1
Puppet Agent VS User
.../etc/puppet/puppet.conf
config_version = ""
configprint = all
configtimeout = 120
couchdb_url = http://127.0.0.1:5984/puppet
csrdir = /var/lib/puppet/ssl/ca/requests
daemonize = true
dbadapter = sqlite3
dbconnections = ""
dblocation = /var/lib/puppet/state/clientconfigs.sqlite3
dbmigrate = false
dbname = puppet
dbpassword = puppet
dbport = ""
dbserver = localhost
dbsocket = ""
dbuser = puppet
deviceconfig = /etc/puppet/device.conf
devicedir = /var/lib/puppet/devices
diff = diff
diff_args = -u
dns_alt_names = ""
document_all = false
downcasefacts = fals...
2007 Aug 15
5
PuppetDatabase - collection "yes", anything in db "no"
Hi there!
I´m trying to get my PuppetmasterDB running.
Problem is, though I´m not getting any errors from the puppetmaster
there is nothing stored in the database, not even tables are created. I
tried "puppetmasterd --dbmigrate", didn´t help either.
rails.log is kinda empty too..
Thing is: it kinda works anyway, there is just nothing stored in the DB
- exported a user on host A, collected that user on host B and it worked
fine, same thing with the ssh-example from the VirtualRessources page.
Either I missunderstand...
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment
2011 Jul 27
9
Migration to rails2 rails3
Good evening everyone,
I went to change the Rails version of my project, and saw that many things have
stopped working.
As the "rake routes", which is giving the following error:
rrmartins rodrigo @: ~ / Documents / vota_prato $ rake routes
rake aborted!
no such file to load - tasks / rails
(See full trace by running task with - trace)
What do you think you can be?
thanks
--
*
2011 Nov 04
1
Storeconfigs and nagios and foreman
...specified after
# their specification. Puppet will sometimes use these parameters to
check its
# own configured state, so they can be used to make Puppet a bit more
self-managing.
#
# Generated on Thu Oct 20 22:28:03 +0000 2011.
#
[master]
# Whether to automatically migrate the database.
# dbmigrate = false
# The database password for caching. Only
# used when networked databases are used.
# The default value is ''''.
# dbport =
# The number of database connections for networked
# databases. Will be ignored unless the value is a positive
integer....