New replica has documents but no views

When I use my Notes to create a new local replica of a database from a server, it manages to replicate all the documents, but not the design.

When I create a new replica on my local disk, I can see that the number of documents matches the number as reported on the original replica (I’m using Database Properites to check this). I’m telling it to replicate immediately, with all the default settings except I’m turning off “Encrypt the replica…”. But when I attempt to open the new replica, I get the error “Database has not been fully initialized yet. (It does not contain any views). You will have to use ‘Replicate…’ on the ‘File, Replication’ menu to initiate it.”

Specifics of the circumstances:

-Server is R6.0.2CF1

-Database replica on server is ODS 41

-Advanced replication settings on source replica specify only two permutations:

“When computer receives from -any server- replicate…” and “When computer -any server- receives from -any server- replicate…” with four checkboxes turned on for both: Design Elements, Agents, Access Control List, Deletions

-My name is specifically entered as a Person with Manager Access in the ACL of the source database

-Source database’s ACL does not have “Enforce consistent ACL…” turned on

-I am a member of a group whose name is in the server’s “Full Access Admin” list. This is confirmed when I calculate my own access in using “Effective Access”

-Client is R6.5

More info on my results:

-Resulting new local replica is ODS 43

-New replica has same ACL as source replica

I can replicate other databases from the same server onto the same client with no problem.

I can work around it by replacing the design from its template, but what’s the cause?

Yet more info: when I use the Notes client to make a new copy (not new replica) onto my local machine, documents, design and ACL are copied as I expect, i.e no problem. It’s when creating a new replica that I experience the problem.

I’m interested in either 1) having the design replicate along with the documents, or 2) at least knowing when the design hasn’t replicated – without having to try opening the database.

I’m interested because I’m moving lots of old databases to an “archive” server in order to clear up my production servers. I just happened to try opening this database; there are many others that I have moved, and I’m almost afraid to check whether their designs were replicated as I had expected.

Thanks for any ideas, folks.

Subject: New replica has documents but no views

Potentially the design elements could have further security to restrict who can access them. Because “Enforce Consistent ACL” is not on, any role security will not apply when making a local replica. You could test this by making a replica from server to server, or else putting the “Enforce” etc on.

This may not be the problem of course but it’s the first thing that I would try…

Cheers

Ben

Subject: RE: New replica has documents but no views

Thanks very much for your input. There’s a been a couple days’ delay in my responding, because I wanted to try the suggestions whereas I had to place this on the back burner. Here’s what I found when I tried two things:

  1. Turned on “Enforce consistent ACL…” and otherwise repeated my earlier attempt to create a replica, i.e. as a user with Person/Manager rights (via membership in a group that appears as Person Group/Manager), created immediately a replica on my local client machine. Same result, i.e. database with correct number of documents, but no views present.

Since I was done with that test, I turned off “Enforce consistent ACL…”, then the next test:

  1. As a user with Person/Manager (again, as a member of a group that appears in the database ACL as Person Group/Manager), I created not immediately a replica stub on another server in the domain. Both source and destination servers are also members of a group that appears in the database ACL with Server Group/Manager access. Then I got onto the console of the source server and pushed the database. Same result.

As I mentioned, I have the workaround of applying a template’s design to the destination replca after the first replication. WIth that in mind, I’m abandoning my investigation, because my original goal was to shelf this database anyway. Regrettably, I’m going to add this one to the “unexplained” category of my internal brain’s Notes Quirks database.