CLI upload fails

Hi all,

I’m struggeling with the CLI upload. I installed peertube on a Ubuntu VPS and want to upload a locally stored video. It is running behind apache, following rigelks configuration/guide:
The server is running on port 9090 (had 9000 already in use).

I’ve registered my instance with peertube auth add. This works, I can see the result with peertube auth list.
Now using peertube up VIDEOFILE asks gives me this:

–video-name field is required.
–file field is required.

For that reason I’ve tried the following:
peertube up -n bbb -f /PATH_TO_avi -U USERNAME -p TOKENFILE -u https://MYDOMAIN

This results in

Error: Cannot authenticate. Please check your username/password.
at /var/www/peertube/versions/peertube-v1.0.1/dist/server/tools/peertube-upload.js:111:19
at Generator.throw ()
at rejected (/var/www/peertube/versions/peertube-v1.0.1/dist/server/tools/peertube-upload.js:5:65)
at process._tickCallback (internal/process/next_tick.js:68:7)

The token was generated using peertube get-access-token -u https://MYDOMAIN --username USER --password PASSWORD > TOKENFILE. Putting the token as text makes no difference.

To be honest, I have no idea. Maybe my setup is wrong. After installation I couldn’t execute any CLI command, as these ended up with a “…-module was compiled with a different version” error. I did a npm reinstall of bcrypt and sphere which fixed that.
It is my understanding, that I don’t need to install the Server-tools when I use CLI only locally, i.e. in a terminal of the peertube server?

Can someone help me what to do next to get the upload working / what to check?

Many thanks!