New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When deploying via git and using absolute paths, console archive script gives errors about GIT_DISCOVERY_ACROSS_FILESYSTEM not being set #8771
Comments
Hi @mattab, the problem I have with this is that you can't really have a relative path when it's inside a cron script as per http://piwik.org/docs/setup-auto-archiving/ ...no? Or is there a way for it to cd before doing the command? |
yes there is a way such as: |
Ah great, thank you for the workaround! That'll give me some breathing room until the official fix :) |
@nekohayo could you please try this patch: https://github.com/piwik/piwik/pull/10532/files |
I set up a test instance on a dedicated server, to test log processing performance. Interestingly enough, I hit an error that my previous host sysadmins (hostgator) encountered but that I had not encountered myself until now:
(the script continues and hits the error for every website ID)
(the same errors get repeated again)
For what it's worth, as per issue #8717, I had set up my environment as:
So technically there is a .git folder in the piwik_test root directory, but not in its parent (/srv) or "/".
Now, I think I might have found the issue: this occurs if you run my command with the full absolute path, but I think it doesn't happen if going into the directory to execute the script. So instead of:
You need to use this workaround:
Would be nice if it can work even with an absolute path?
The text was updated successfully, but these errors were encountered: