post 1.1 to 1.2 upgrade - verification failure
Greetings, and apologies for the xmas posting :)
backed up all configs, and upgraded from 1.1 to 1.2 schema update first, then ./configure then make install, had to do a make clean first, then install but it worked.
Afterwards messages are blank and pilerexport and pilerget fails with
Dec 19 15:25:06 AERMARC01 pilerexport[2830]: /usr/local/var/piler/store/00/585/f4/7c/4000000058536dcb15f2280c00a65497f47c.m: cannot open() Dec 19 15:25:06 AERMARC01 pilerexport[2830]: /usr/local/var/piler/store/00/585/23/a1/400000005854bf4a22e9ef54007b5fd323a1.m: cannot open() Dec 19 15:25:06 AERMARC01 pilerexport[2830]: /usr/local/var/piler/store/00/585/30/cb/40000000585610c83182accc0068644530cb.m: cannot open() Dec 19 15:25:06 AERMARC01 pilerexport[2830]: /usr/local/var/piler/store/00/585/f0/54/4000000058576246242f38c40063ac85f054.m: cannot open()
Dec 19 15:25:24 AERMARC01 pilerget[2832]: /usr/local/var/piler/store/00/585/f0/54/4000000058576246242f38c40063ac85f054.m: cannot open()
This is running either command from tmp
root@AERMARC01:/tmp# /usr/local/bin/pilerexport -f marnus@gmail.com | more verification FAILED. 104.eml verification FAILED. 6346.eml verification FAILED. 7128.eml verification FAILED. 7858.eml verification FAILED. 7915.eml verification FAILED. 10878.eml verification FAILED. 31929.eml verification FAILED. 71049.eml verification FAILED. 86768.eml verification FAILED. 86865.eml verification FAILED. 150666.eml verification FAILED. 151122.eml
root@AERMARC01:/tmp# pilerget 4000000058576246242f38c40063ac85f054 root@AERMARC01:/tmp#
and while i was gathering this intel to post a bug report i noticed that the store is trying to find the emails in the wrong directory. Store moved from /var to /usr/local/var, which i seemingly missed mentioned, and i can't find a specific entry in the config file configuring this, but netherless;
apologies.
ln -s /var/piler/store/00 /usr/local/var/piler/store/00 and that fixed the problem!
Leaving this here for anybody else that misses error
Thank you very much for your (and your partners) continued efforts on this project. We now have 4 million emails in the system, and running flawless for over a year.
I've read your further ideas as to the future with regards to HA and such, good luck!
Comments (2)
-
repo owner -
repo owner - changed status to invalid
- Log in to comment
Hello Marnus, well, yes, you are right, the store moved from /var to /usr/local/var. However, you are wrong, because the store dir (and all piler related data) comes from the --localstatedir configure option which defaults to $prefix/var ($prefix = /usr/local by default). That's why the install docs recommends to add --localstatedir=/var to put all piler related data under /var/piler. It seems that you forgot to add this option the last time.
When I upgrade, I always run piler -V to recall the configure options, and copy paste the complete ./configure arguments to compile the new version.
Regarding HA, I haven't made any progress yet. It seems to be a topic for the next year. Anyway, I'm glad that you like piler.