similar to: how to delete all document from the DB (without deleting the DB itself)

Displaying 20 results from an estimated 7000 matches similar to: "how to delete all document from the DB (without deleting the DB itself)"

2008 Aug 19
1
Fwd: Strange error with PHP bindings [some more details]
Finally I noticed something suspect: [2008-08-19 09:11:25] [DEBUG] DAO_Articles::add_xindex() - document added id : 255, title : Gli anelli con sigil... this is a debug line from my application, add_xindex function simply adds the document to xapian database, the error always happens when I try to add an article with id = 255, this can not be a casualty (I also tried to change the order of
2006 Jun 03
2
Initial patch for ExternalPostList
Hi Everybody, Here is the first version of my match for an ExternalPostList, it should apply cleanly to 0.9.5 and 0.9.6. You can use it by first implementing an ExternalPostingSource, then creating a new Query object passing a reference an instance of your implementation to the constructor, see query.h. The ExternalPostingSource implementation is reference counted, so when its no
2020 Aug 02
5
8.2.2004 Latest yum update renders machine unbootable
On 8/2/20 2:04 AM, Alessandro Baggi wrote: > > Il 01/08/20 22:03, Greg Bailey ha scritto: >> On 8/1/20 6:56 AM, david wrote: >>> At 02:54 AM 8/1/2020, Alessandro Baggi wrote: >>>> Hi Johnny, >>>> thank you very much for clarification. >>>> >>>> You said that in the centos infrastructure only one server got the >>>>
2020 Aug 01
4
8.2.2004 Latest yum update renders machine unbootable
On 8/1/20 6:56 AM, david wrote: > At 02:54 AM 8/1/2020, Alessandro Baggi wrote: >> Hi Johnny, >> thank you very much for clarification. >> >> You said that in the centos infrastructure only one server got the >> problem. >> What are the conditions that permit the breakage? There is a particular >> configuration (hw/sw) case that match always the
2020 Jul 31
6
8.2.2004 Latest yum update renders machine unbootable
Il 31/07/20 13:08, ja ha scritto: > On Fri, 2020-07-31 at 22:35 +1200, Alan McRae via CentOS wrote: >> I am running an Intel x64 machine using UEFI to boot an SSD. >> >> Installing the latest yum update which includes grub2 and kernel >> 4.18.0-193.14.2.el8_2.x86_64 renders the machine unbootable, blank >> screen where grub should be, no error messages, just hangs.
2014 May 15
3
CENTOS and GlusterFS
Hi list, I'm planning to setup a two-node "cluster" with file replication and samba. I've used drbd in the past with success, but now there isn't drbd on the official repo but only from elrepo. I want follow centos Line and than switch to GlusterFS. Said that, I'm new to GlusterFS. I have two hosts with a 2tb disk space for replica. I've ridden that glusterfs is
2015 Dec 02
2
CentOS and bacula
Hi list, I've a bacula system based on disk volume that I need to refresh (new install). There is a way to mantain the "current status" (volumes, catalog and other if needed) when migrating the system to a new installation? Thanks in advance
2007 Aug 12
5
stubbing a method that yeilds sequential results
I''ve just found myself stuck trying to rspec something so am hoping someone more knowledgable can help. I have a Connector class which has a class method ''results'' that yields results it get from a network service based on a set of attributes that I pass to it. I am wanting to yield these results from my Intermediate class up to the next
2007 May 17
8
Model: self is not child's parent
Assume a model Parent and another model Child. Child belongs_to Parent and Parent has_many Children. The following fails: @ p = Parent.find(:first) assert p.equal?(p.children[0].parent) @ It seems odd to me that I and my child''s parent are not the same object. In fact, this is royally screwing me up. Can anyone tell me why this is or point me at a relevant discussion, blog posting,
2002 Oct 28
3
create an object list in a loop
Hi! Probably I perform this question because I did'nt still understand the R-philosophy. I have to build many matrix, with different dimensions, and I would to assign them a same 'prefix' name, i.e. "aval", but, obviuosly different suffix, something like: for (i in 1:n) { aval%i% <- matrix(scan(data....),nrow=nr[i],ncol=nc[i] ... } where "%i%"
2006 Jan 04
3
ActiveRecord delete_all With Sanitized Parameters?
Hi there I''m trying to delete a set of active record objects based on certain conditions. I''d like to do something like the following: Context.delete_all("uri IN (?)", uris) But delete_all doesn''t allow multiple arguments. Since I don''t have the IDs for the objects I want to delete, I can''t use delete(id), and have resorted to this,
2006 Jul 17
5
quantic phenomena in migrations
I have an application with 15 migrations under version control. In a Mac and and in a Windows, a rake migrate from scratch runs them all just fine. But in a different Windows machine rake migrate stops after migration 3 for no apparent reason. --trace seems normal. No error is reported. Both Windows are XP SP2. They all have the same svn revision and Rails-related software, database is
2013 Sep 18
7
Puppet requires second run to execute some catalog items.
Hi, I''ve inherited a puppet setup for automating php installation and extension management. We''re on Debian and we''ve encountered a strange issue that I''ve traced down back to puppet I think. I''ve stripped back the configuration and made the problem reproducible, logs and config pasted below. 1. php5-common, php5-memcache, and php5-mysql are all
2013 Jan 31
1
The way Puppet installs things fail
Basically, the way puppet installs things things with /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install <package_name> fails due to authentication WARNING: The following packages cannot be authenticated But if I do it from an ssh console normally, using apt-get install <package_name> it works fine without issues. Is there a way to change how puppet uses the
2012 Apr 03
6
2 package resources for the same package installation in two differents modules caused errors
Hello, We had the following situation where including two classes that were ensuring the installation of the same package "php5-imagick" and it was causing an error indicating that two ressources of the same name are forbidden (sorry, I don''t have the exact message error since we fixed quickly the error). Since we are newbies in puppet, we would like to understand what this
2015 Dec 02
2
CentOS and bacula
Hi Fabio, thanks for your reply. (I'm new with bacula). To make things more clear: 1) Reinstall CentOS and software; 2) Configure database and import catalog 3) Copy last valid configuration for dir, sd,fd and console. 4) Re-attach my disk backup device with last volumes That's all? Another question is about Catalog backup. When I need to restore a backup, bacula reads catalog and
2020 Apr 02
7
C8 and backup solution
Hi list, I'm searching a valid backup system to perform backups of 3 server, one local and 2 remote, and 2 linux workstation. (this number could be higher in future). Currently I'm testing bacula, scripted rsync with hardlink and borgbackup on C8.1. Bacula works without any problem, well tested, solid but complex to configure. Tested on a single server (with volumes on disk) and? a
2007 Dec 17
1
Crashes with spelling enabled and perl.
Hi Guys, Here's a simple test case that causes a segfault with the perl bindings patched to enable spelling correction: use strict; use warnings; use Search::Xapian; my $db = Search::Xapian::WritableDatabase->new("test.db", Search::Xapian::DB_CREATE_OR_OPEN); if (!defined($db)) { die("Failed to open xapian_database: $!"); } my $indexer =
2008 May 28
2
functional testing joins table problem
I have models/controllers Class Facility has_many :facilities_services, :dependent => :delete_all Class Service has_many :facilities_services, :dependent => :delete_all Class FacilitiesServices belongs_to :facility belongs_to :service so in my test/functional/facilities_controller_test.rb, I have post :destroy, :id => 5 which tosses an error...
2007 Sep 07
6
ActiveRecord::Base#update_all expected behaviour
Hi I noticed that if in my code I use the following: Photo.update_all("title = ''Ruby rocks'' ", "id IN (#{@photo_ids})") All my objects are properly updated but none of the filters/callbacks are triggered. Is that what''s expected? I have a before_update filter set on the Photo class and it gets totally ignored, I guess the only way to solve this