Skip to content
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

RuntimeException - Too many arguments #13

Open
shefik opened this issue Dec 24, 2016 · 9 comments
Open

RuntimeException - Too many arguments #13

shefik opened this issue Dec 24, 2016 · 9 comments

Comments

@shefik
Copy link

shefik commented Dec 24, 2016

When I run the code, I get the following error from the cron:

Symfony\Component\Console\Exception\RuntimeException] Too many arguments.

@JayBizzle
Copy link
Owner

What is the command you are trying to run?

@shefik
Copy link
Author

shefik commented Dec 24, 2016

/usr/bin/php mysqldumper.phar --keep-local >/dev/null 2>&1

@shefik
Copy link
Author

shefik commented Dec 24, 2016

I am using the master version. Also, tried version 1.0.6. Tried dropbox and ftp settings.

@JayBizzle
Copy link
Owner

What happens if you try without the /dev/null ?

@shefik
Copy link
Author

shefik commented Dec 24, 2016

Same issue with just /usr/bin/php mysqldumper.phar.

@shefik
Copy link
Author

shefik commented Dec 24, 2016

When I run just /usr/bin/php mysqldumper.phar, I now get this error:

 No mysqldumper.json found  


mysqldumper [--dir DIR] [--keep-local] [--skip-remote] [--ignore-table IGNORE-TABLE] [--self-update]```

Even though `mysqldumper.json` is in the same directory as `mysqldumper.phar`.

@JayBizzle
Copy link
Owner

Vey weird. We are running this no problem on some production servers.

Can't look into it at the moment, as I'm away for the festive period and don't have access to my dev machine.

Will take a look when I'm home in a few days.

Let me know if you figure anything out in the mean time

Thanks

@JayBizzle
Copy link
Owner

@shefik Did you get anywhere with this?

@shefik
Copy link
Author

shefik commented Jan 9, 2017

Not yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants