The permanode that you want to use as your root for the publisher just
needs to have its "camliRoot" attribute set to the value that you
define in your server-config, there's nothing more to it.
So based on the server-config you showed, if you want to use
sha1-de682600ddf64620b322971c94e7911bebe4865b as the root, just make
sure its "camliRoot" attribute is set to "pics".

Then every time you want to publish a permanode/set, you add it as a
camliPath attribute to the above root permanode, e.g.
"camliPath:seaside-vacation-2016" : "sha1-ref_of_set_of_pictures"


On 8 May 2016 at 22:12, Tamás Gulácsi <[email protected]> wrote:
> This is what I got in camlistored log for
>
> gthomas@tequila:~$ cat .config/camlistore/server-config.json
> {
>     "listen": "0.0.0.0:3179",
>     "baseURL": "https://camli.gthomas.eu";,
>     "shareHandler": true,
>     "https": false,
>     "httpsCert": "/home/gthomas/.config/camlistore/camli.gthomas.eu.crt",
>     "httpsKey": "/home/gthomas/.config/camlistore/camli.gthomas.eu.key",
>     "auth": "userpass:gthomas:majdhafagy:+localhost",
>     "identity": "974EA38B",
>     "identitySecretRing":
> "/home/gthomas/.config/camlistore/identity-secring.gpg",
>     "levelDB": "/home/gthomas/var/camlistore/camli-index.leveldb",
>     "blobPath": "/home/gthomas/var/camlistore/packs",
>     "packBlobs": true,
>         "runIndex": true,
>         "copyIndexToMemory": true,
>     "mysql": "",
>     "mongo": "",
>     "postgres": "",
>     "sqlite": "",
>     "s3": "",
>     "replicateTo": [],
>         "publish": {
>           "/pics/": {
>              "camliRoot": "pics",
>                  "cacheRoot": "/home/gthomas/var/camlistore/blobs/cache",
>                  "goTemplate": "gallery.html"
>        }
>      }
> }
>
> gthomas@tequila:~$ camget sha1-de682600ddf64620b322971c94e7911bebe4865b
> {"camliVersion": 1,
>   "camliSigner": "sha1-01c5e458c48552abac802d4f8b52b093efbb2caa",
>   "camliType": "permanode",
>   "key": "pics"
> ,"camliSig":"wsBcBAABCAAQBQJXE4QgCRAdaMP0l06jiwAAG0gIAIZlrpoWvCFnjptlprCE2QnlTma+R63G/2PLKlY5oZPC7p/yBQp+6ESBN5le3ohhDvp1TMWcuq1bFDushTYqdqparu6ZFGgf0NKKXaO47PYbPdDDUJcuZQ3dsCWguXcbT0Vaik297sQirakGUZ+TRisveqiWdswAx3OYFq1YpxQG542uF70RK6lHPO3si4mf5l30A6KNNc28W0/lHfSHteKNZxn1sFXw2nbRPF6JdXXq8YXXt28mOetcqXj9XhBfZbP0zrMEZ2NPOljIzaUSGCmAb2Xu/oTix5w7j/Zg7C+dBJ9JElXGfmYoTZcMpjw4UqS6CGhdjHVcgB6nX5elKJE==4waQ"}
>
> I get same error if I change the "camliRoot" to
> "sha1-de682600ddf64620b322971c94e7911bebe4865b", so now I don't know what to
> do.
>
>
> What kind of permanode does publish need for its root?
> Why is that "mypics" (the key) in the example config?
> Why doesn't this work?
>
> Thanks,
> Tamás Gulácsi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Camlistore" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Camlistore" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to