-
Notifications
You must be signed in to change notification settings - Fork 14
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
Better support for importing on shared hosting servers #54
Comments
For now, the CLI php and nohup executables have to be available on your server for the importer to run. These errors are reporting that Matomo cannot find them. Are they in actuality available? |
Thank you for your fast response! Maybe a dumb question - but where could I find these files? I've installed Matomo in it's own subdomain. These should not be a problem, should it? |
Those ( That said, I've recently thought of a way around that since there are many users on shared hosting that seem interested in importing their GA data. Unfortunately I won't have time to work on it for a week or two, but it will be available in version 1.3.0. EDIT: Just in case I didn't answer your question, they would be in one of your server's bin folders. If you can run commands on the server via ssh access, you could run |
Importing data is one of the things that are very important to many of my colleagues (I am a blogger and the EU GDPR is a painful problem for many of us). Most of us want to get rid of GA, but we don't want to lose historical data. And yes - many of us use shared hosting (because it's cheaper). My current provider package does not allow SSH access. An upgrade would not be that expensive, but at the moment I have no chance of using SSH. Maybe I'll upgrade. It would be great if the plugin would work without SSH in the future and I think there are some people out there who would love that :-). |
@HorstGassner I wouldn't purchase ssh, having ssh access wouldn't make the plugin work for you, it would just allow you to check/debug some things. I might ask the host specifically "Is it possible to make the 'php' and 'nohup' executables available on my server?" and "How long will a script when run via shell_exec("php ...") be allowed to run before it is terminated (if it is terminated)?". These are the main problems that occur with shared hosting (the executables being missing or the import process being cut off by the host because it takes a long time), and if the host can fix them then you won't have to pay at all. However, it's pretty likely the host won't be able to make any changes, but as I said, I have solution to the problem and it will be available in a week or two. |
A config option to set paths to |
First of all: Thanks a lot for your great work! Unfortunately, I'm also affected by the limitations of my hoster. Are there any news on the implementation of an importing method without nohup? |
@errotu unfortunately it's not a high priority at the moment, matomo 4 is the main focus. Note: you can import from the CLI directly using the |
In case anyone wants to avoid using
|
Can someone please explain where exactly i may disable nohup. Matomo V4.5.
|
@dathwa |
@diosmosis My hoster does not allow nohup for PHP, therefore I would like to use the setting. I created the config.php file and added the code you posted. Should the hint in the system check of Matomo be gone or does it still show up? |
@bastians it should still show up at present. The diagnostic code doesn't take into account the dependency injection override in |
Hi!
If I open the settings I get the following error:
Fehler
[GoogleAnalyticsImporter] Required Executables (php)
[GoogleAnalyticsImporter] Required Executables (nohup)
I'm using the latest version of Matomo and the PlugIn (1.2.1)
The text was updated successfully, but these errors were encountered: