pcloudcom / console-client

439 stars 130 forks source link

Mounting just won't work #196

Open Vexz00 opened 3 months ago

Vexz00 commented 3 months ago

I use version v2.0.1 and just can't get pcloudcc to mount my folders in pCloud.

The command I use (executed as root user): /home/pcb-admin/console-client/pCloudCC/pcloudcc -u <my email address> -p -c -d -m /media/pCloud After I enter this command it asks me for my password and then the password set for the crypto folder. I copy them from my password manager and can see the daemon starts to run. But when I check what's inside of /media/pCloud there's nothing. The /tmp/psync_err.log shows me this error but I don't know what to do about it: Fri, 02 Aug 2024 05:10:05.330 +0000 634083072 diff NOTICE: pdiff.c:397 (function get_connected_socket): userinfo returned error 1022 Please provide 'code'.

Interestingly just entering the following command seems to work just fine: /home/pcb-admin/console-client/pCloudCC/pcloudcc -u <my email address> -p I enter the password for my user account and see this:

Down: Everything Downloaded| Up: Everything Uploaded, status is LOGIN_REQUIRED
logging in
Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING

So it looks like logging in is working (though the CONNECTING at the end is confusing me a little but it stays just like that until i Ctrl + C).

I'd appreciate some help. If you need more information, please let me know.

ArminXG commented 2 months ago

I have the same problem since today.

My /tmp/psync_err.log shows the same error: pdiff.c:397 (function get_connected_socket): userinfo returned error 1022 Please provide 'code'.

But no matter which commands I use, it does not work and always show that error.

ebouda33 commented 2 months ago

Problem with the website you need to connect with the website for obtain the code use this: currently working workaround, get the validation code by logging first to pcloud with a terminal browser

docker run --network host --rm -ti fathyb/carbonyl https://my.pcloud.com

to obtain the code and it works

cloud filtered on ip

for me that's the solution