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

wont unmount when shutting down #70

Open
YWh0301 opened this issue Sep 11, 2024 · 10 comments
Open

wont unmount when shutting down #70

YWh0301 opened this issue Sep 11, 2024 · 10 comments
Labels
bug Something isn't working unconfirmed

Comments

@YWh0301
Copy link

YWh0301 commented Sep 11, 2024

im having trouble shutting down my computer if pcloudcc is running.i tried umount ~/pcloudDrive without killing pcloudcc and it shut down perfectly. finalize pcloudcc also let my computer shut down successfully, so i guess there is some thing wrong with pcloudcc that it refused to unmount?

@lneely
Copy link
Owner

lneely commented Sep 11, 2024

I have a feeling this may be related to #45. Do you see any similar messages when you finalize/quit pcloudcc?

@lneely
Copy link
Owner

lneely commented Sep 11, 2024

It's also possible that pcloudcc is not properly handling signals from your supervisor. Do you use systemd or another?

@YWh0301
Copy link
Author

YWh0301 commented Sep 11, 2024

i just tried it.it exits properly with both ctrl-c and finalize command in prompt mode with -k.

@YWh0301
Copy link
Author

YWh0301 commented Sep 11, 2024

No i didn’t use systemd. I’m using hyperland and I added “pcloudcc -u myaccount -d” in the autostart script.i guess maybe if I write a systemd file to start it then it would be good?

@lneely
Copy link
Owner

lneely commented Sep 11, 2024

If you're talking about hyprland, to be clear, this is a wayland compositor that hasn't much to do with the shutdown process (but if it fails to exit, it could hold the process up). systemd includes an init system, service manager, and so on and is included with many if not most popular distributions.

So let's try to reach some clarity. Are you trying to shutdown your machine, or are you trying to exit hyprland? (Perhaps the answer is both, in which case, where is the process hanging? Is it still stuck in hyprland, or is it stuck during shutdown after the compositor has exited?) In other words, will hyprland fail to exit, or will your machine fail to shutdown (or, at least, pause for 90 seconds)? Is your login screen text-based or graphical?

Maybe I should have started with a higher level question that might answer some of these all at once: what distribution are you using?

These are important details that will lead us to the right solution. 🍻

@YWh0301
Copy link
Author

YWh0301 commented Sep 11, 2024

sorry that I didn’t provide enough info earlier!

Im using arch and I installed it from aur today. My display manager is sddm. I used “poweroff” and “reboot” command (which are part of systemd I think) to shut down my computer, and the compositer is shut down, with my screen goes black with only an underline blinking in the console and unresponsive towards any input.

journalctl didn’t show anything weird,but I can confirm that sddm service is shut down susccessfully as the log said.

@lneely
Copy link
Owner

lneely commented Sep 11, 2024

Haha, thanks! I also just read the rest of your comment (ADHD or something like it takes over sometimes and I go off on a tangent). You said you start the service in a systemd startup script. Can you post the script source? I would also ask if you could post content from /tmp/psync_err.log but I don't know if it persists between runs. Maybe you can find a rough date of the last shutdown?

@YWh0301
Copy link
Author

YWh0301 commented Sep 11, 2024

Sorry if I wasn’t clear but I didn’t use systemd. I just start it with Hyprland autostart config.

currently I don’t have my computer with me, and I’ll try to write a systems script tomorrow and post the result.

@lneely
Copy link
Owner

lneely commented Sep 11, 2024

Sure! Let me know, and if that works, maybe it will be useful to add a note in the README.

Also if you find a way to extract data from the err log during a shutdown, maybe that will be helpful. (Maybe not, but it's worth a try.)

Cheers, I'll wait for more from you.

@lneely lneely added the question Further information is requested label Sep 11, 2024
@YWh0301
Copy link
Author

YWh0301 commented Sep 12, 2024

I tried to check /tmp/psync_err.log, but found no suspicious error message when file syncing. I can count on it to sync my folders just fine.
But my /tmp use tmpfs so i wasnt able to get the log after a failed shut down proccess.

Thu, 12 Sep 2024 11:09:01.320 +0000 168549376 main app thread CRITICAL ERROR: plibs.c:419 (function psync_sql_connect): Using wrong SQLite version: [3046001] source [3012000]
Thu, 12 Sep 2024 11:09:01.320 +0000 168549376 main app thread CRITICAL ERROR: plibs.c:423 (function psync_sql_connect): Using wrong SQLite source Id: [2024-08-13 09:16:08 c9c2ab54ba1f5f46360f1b4f35d849cd3f080e6fc2b6c60e91b16c63f69aalt1] != [2016-03-29 10:14:15 e9bb4cf40f4971974a74468ef922bdee481c988b]
Thu, 12 Sep 2024 11:09:01.320 +0000 168549376 main app thread CRITICAL ERROR: plibs.c:427 (function psync_sql_connect): Using wrong SQLite lib version: [3.46.1] != [3.12.0]
Thu, 12 Sep 2024 11:10:53.127 +0000 3895732288 no name NOTICE: pclsync/psynclib.c:210 (function psync_set_software_string): setting software name to pCloud CC v3.0.0
Thu, 12 Sep 2024 11:10:53.128 +0000 3895732288 main app thread NOTICE: pclsync/psynclib.c:260 (function psync_init): initializing library version 1.5.1
Thu, 12 Sep 2024 11:10:53.128 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:154 (function psync_compat_init): detected page size 4096
Thu, 12 Sep 2024 11:10:53.128 +0000 3895732288 main app thread NOTICE: pclsync/plibs.c:416 (function psync_sql_connect): Using sqlite version 3.46.1 source 2024-08-13 09:16:08 c9c2ab54ba1f5f46360f1b4f35d849cd3f080e6fc2b6c60e91b16c63f69aalt1
Thu, 12 Sep 2024 11:10:53.129 +0000 3895732288 main app thread NOTICE: pclsync/pssl.c:223 (function psync_ssl_detect_aes_hw): hardware AES support detected
Thu, 12 Sep 2024 11:10:53.129 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:523 (function psync_get_random_seed): in
Thu, 12 Sep 2024 11:10:53.130 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:574 (function psync_get_random_seed): db in
Thu, 12 Sep 2024 11:10:53.135 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:576 (function psync_get_random_seed): db out
Thu, 12 Sep 2024 11:10:53.135 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:580 (function psync_get_random_seed): adding bulk data
Thu, 12 Sep 2024 11:10:53.139 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:597 (function psync_get_random_seed): storing in db
Thu, 12 Sep 2024 11:10:53.141 +0000 3895732288 main app thread NOTICE: pclsync/pcompat.c:599 (function psync_get_random_seed): out
Thu, 12 Sep 2024 11:10:53.142 +0000 3895732288 main app thread NOTICE: pclsync/plibs.c:2005 (function psync_list_builder_finalize): allocating 65 bytes, 25 of which for strings
Thu, 12 Sep 2024 11:10:53.142 +0000 3895732288 main app thread NOTICE: pclsync/psynclib.c:313 (function psync_start_sync): starting sync
Thu, 12 Sep 2024 11:10:53.142 +0000 3895732288 main app thread NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapi.pcloud.com as best api server
Thu, 12 Sep 2024 11:10:53.142 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:300 (function get_connected_socket): using deviceid 21833d18e68c46dac7fb32fab984c5e9
Thu, 12 Sep 2024 11:10:53.142 +0000 3895732288 main app thread NOTICE: pclsync/pfs.c:3750 (function psync_fs_start): auth status=0
Thu, 12 Sep 2024 11:10:53.142 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:10:53.142 +0000 3889735360 fs wait login NOTICE: pclsync/pfs.c:3709 (function psync_fs_wait_start): waiting for online status
Thu, 12 Sep 2024 11:10:53.142 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapi.pcloud.com:443
Thu, 12 Sep 2024 11:10:53.142 +0000 3889600192 libusb handle events completed thread NOTICE: pclsync/pdevice_monitor.c:120 (function device_monitor_thread): Waiting for USB devices connect/disconnect events
Thu, 12 Sep 2024 11:10:53.143 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapi.pcloud.com:443
Thu, 12 Sep 2024 11:10:53.642 +0000 3895584448 status change NOTICE: pclsync/pcallbacks.c:294 (function status_change_thread): sending status update, dwlstr: Everything Downloaded, uplstr: Everything Uploaded
Thu, 12 Sep 2024 11:10:53.934 +0000 3895178944 diff ERROR: pclsync/pssl.c:483 (function psync_ssl_connect_finish): handshake failed, return code was -26880
Thu, 12 Sep 2024 11:10:53.938 +0000 3895178944 diff ERROR: pclsync/pssl.c:483 (function psync_ssl_connect_finish): handshake failed, return code was -26880
Thu, 12 Sep 2024 11:10:54.198 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:10:54.466 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:642 (function get_connected_socket): userid 21400103
Thu, 12 Sep 2024 11:10:54.466 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:10:54.466 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:744 (function get_connected_socket): Not a first login. Run sync event.
Thu, 12 Sep 2024 11:10:54.477 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2997 (function psync_diff_thread): connected
Thu, 12 Sep 2024 11:10:54.477 +0000 3895584448 status change NOTICE: pclsync/pcallbacks.c:294 (function status_change_thread): sending status update, dwlstr: Everything Downloaded, uplstr: Everything Uploaded
Thu, 12 Sep 2024 11:10:54.643 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:10:54.736 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:3044 (function psync_diff_thread): initial sync finished
Thu, 12 Sep 2024 11:10:54.997 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:10:54.997 +0000 3895584448 status change NOTICE: pclsync/pcallbacks.c:294 (function status_change_thread): sending status update, dwlstr: Everything Downloaded, uplstr: Everything Uploaded
Thu, 12 Sep 2024 11:10:54.997 +0000 3889735360 fs wait login NOTICE: pclsync/pfs.c:3712 (function psync_fs_wait_start): starting fs
Thu, 12 Sep 2024 11:10:54.997 +0000 3895584448 status change NOTICE: pclsync/pfs.c:3750 (function psync_fs_start): auth status=1
Thu, 12 Sep 2024 11:10:54.998 +0000 3895178944 diff NOTICE: pclsync/pcrc32c.c:489 (function psync_has_hw_crc): hardware CRC32C support detected
Thu, 12 Sep 2024 11:10:55.011 +0000 3889465024 fuse NOTICE: pclsync/pfscrypto.c:2097 (function psync_fs_crypto_check_logs): checking for unprocessed log files in /home/pingzi/.pcloud/Cache
Thu, 12 Sep 2024 11:10:55.011 +0000 3889465024 fuse NOTICE: pclsync/pfscrypto.c:2101 (function psync_fs_crypto_check_logs): log check finished
Thu, 12 Sep 2024 11:10:55.011 +0000 3889735360 fsupload main WARNING: pclsync/plibs.c:374 (function psync_sql_err_callback): database warning 284: automatic index on pagecachetask(taskid)
Thu, 12 Sep 2024 11:10:55.015 +0000 3889465024 fuse NOTICE: pclsync/pfstasks.c:855 (function psync_fstask_add_local_creat_static): adding file .directory to folderid 0, datalen 39
Thu, 12 Sep 2024 11:10:55.015 +0000 3889465024 fuse NOTICE: pclsync/pfstasks.c:855 (function psync_fstask_add_local_creat_static): adding file .pcloudicon.png to folderid 0, datalen 6094
Thu, 12 Sep 2024 11:10:55.015 +0000 3889465024 fuse NOTICE: pclsync/pfs.c:3585 (function psync_fuse_thread): running fuse_loop_mt
Thu, 12 Sep 2024 11:10:55.048 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:127 (function psync_get_api): connecting to binapitok1.pcloud.com
Thu, 12 Sep 2024 11:10:55.048 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:10:55.052 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:10:55.372 +0000 3895178944 diff ERROR: pclsync/pssl.c:483 (function psync_ssl_connect_finish): handshake failed, return code was -26880
Thu, 12 Sep 2024 11:10:55.375 +0000 3895178944 diff ERROR: pclsync/pssl.c:483 (function psync_ssl_connect_finish): handshake failed, return code was -26880
Thu, 12 Sep 2024 11:10:55.715 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:168 (function api_sock_is_broken): got api connection from cache, key API:binapitok1.pcloud.com
Thu, 12 Sep 2024 11:10:55.954 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:168 (function api_sock_is_broken): got api connection from cache, key API:binapitok1.pcloud.com
Thu, 12 Sep 2024 11:10:56.190 +0000 3895178944 diff WARNING: pclsync/pcontacts.c:73 (function do_call_contactlist): Account_users returned empty result!
Thu, 12 Sep 2024 11:10:56.190 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:168 (function api_sock_is_broken): got api connection from cache, key API:binapitok1.pcloud.com
Thu, 12 Sep 2024 11:12:03.333 +0000 3895178944 diff WARNING: pclsync/papi.c:393 (function get_result): assertion unlikely_log(psync_socket_readall(sock, &ressize, sizeof(uint32_t)) != sizeof(uint32_t)) failed
Thu, 12 Sep 2024 11:12:03.333 +0000 3895178944 diff WARNING: pclsync/pdiff.c:3097 (function psync_diff_thread): assertion unlikely_log(!res) failed
Thu, 12 Sep 2024 11:12:03.333 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:3098 (function psync_diff_thread): sending exception
Thu, 12 Sep 2024 11:12:03.333 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2735 (function handle_exception): exception handler r
Thu, 12 Sep 2024 11:12:03.333 +0000 3895314112 p2p NOTICE: pclsync/pp2p.c:251 (function psync_p2p_process_packet): got 0 packet from 127.0.0.1
Thu, 12 Sep 2024 11:12:03.333 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2742 (function handle_exception): waiting for new socket
Thu, 12 Sep 2024 11:12:03.334 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:300 (function get_connected_socket): using deviceid 21833d18e68c46dac7fb32fab984c5e9
Thu, 12 Sep 2024 11:12:03.334 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:12:03.334 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:12:03.515 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:12:03.515 +0000 3895178944 diff NOTICE: pclsync/pssl.c:438 (function psync_ssl_connect): reusing cached session for binapitok1.pcloud.com
Thu, 12 Sep 2024 11:12:03.724 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:12:03.978 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:642 (function get_connected_socket): userid 21400103
Thu, 12 Sep 2024 11:12:03.978 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:12:03.978 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:744 (function get_connected_socket): Not a first login. Run sync event.
Thu, 12 Sep 2024 11:12:03.989 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2744 (function handle_exception): got new socket
Thu, 12 Sep 2024 11:12:04.837 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:13:13.617 +0000 3895178944 diff WARNING: pclsync/papi.c:393 (function get_result): assertion unlikely_log(psync_socket_readall(sock, &ressize, sizeof(uint32_t)) != sizeof(uint32_t)) failed
Thu, 12 Sep 2024 11:13:13.617 +0000 3895178944 diff WARNING: pclsync/pdiff.c:3097 (function psync_diff_thread): assertion unlikely_log(!res) failed
Thu, 12 Sep 2024 11:13:13.617 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:3098 (function psync_diff_thread): sending exception
Thu, 12 Sep 2024 11:13:13.617 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2735 (function handle_exception): exception handler r
Thu, 12 Sep 2024 11:13:13.617 +0000 3895314112 p2p NOTICE: pclsync/pp2p.c:251 (function psync_p2p_process_packet): got 0 packet from 127.0.0.1
Thu, 12 Sep 2024 11:13:13.617 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2742 (function handle_exception): waiting for new socket
Thu, 12 Sep 2024 11:13:13.618 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:300 (function get_connected_socket): using deviceid 21833d18e68c46dac7fb32fab984c5e9
Thu, 12 Sep 2024 11:13:13.618 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:13:13.618 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:13:13.618 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:13:13.628 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:13:13.628 +0000 3895178944 diff NOTICE: pclsync/pssl.c:438 (function psync_ssl_connect): reusing cached session for binapitok1.pcloud.com
Thu, 12 Sep 2024 11:13:13.970 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:13:14.241 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:642 (function get_connected_socket): userid 21400103
Thu, 12 Sep 2024 11:13:14.241 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:13:14.241 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:744 (function get_connected_socket): Not a first login. Run sync event.
Thu, 12 Sep 2024 11:13:14.252 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2744 (function handle_exception): got new socket
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff WARNING: pclsync/papi.c:393 (function get_result): assertion unlikely_log(psync_socket_readall(sock, &ressize, sizeof(uint32_t)) != sizeof(uint32_t)) failed
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff WARNING: pclsync/pdiff.c:3097 (function psync_diff_thread): assertion unlikely_log(!res) failed
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:3098 (function psync_diff_thread): sending exception
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2735 (function handle_exception): exception handler r
Thu, 12 Sep 2024 11:14:23.862 +0000 3895314112 p2p NOTICE: pclsync/pp2p.c:251 (function psync_p2p_process_packet): got 0 packet from 127.0.0.1
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2742 (function handle_exception): waiting for new socket
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:300 (function get_connected_socket): using deviceid 21833d18e68c46dac7fb32fab984c5e9
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:14:23.862 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:14:23.863 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:14:24.067 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:14:24.067 +0000 3895178944 diff NOTICE: pclsync/pssl.c:438 (function psync_ssl_connect): reusing cached session for binapitok1.pcloud.com
Thu, 12 Sep 2024 11:14:24.254 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:14:24.509 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:642 (function get_connected_socket): userid 21400103
Thu, 12 Sep 2024 11:14:24.509 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:14:24.509 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:744 (function get_connected_socket): Not a first login. Run sync event.
Thu, 12 Sep 2024 11:14:24.520 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2744 (function handle_exception): got new socket
Thu, 12 Sep 2024 11:14:43.095 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:899 (function process_createfolder): creating local folder 0/未命名文件夹 for folderid 23085568226, parentfolderid 23078718645
Thu, 12 Sep 2024 11:14:43.095 +0000 3895178944 diff NOTICE: pclsync/psyncer.c:176 (function psync_create_local_folder_in_db): creating local folder in db as 0/未命名文件夹 for folderid 23085568226
Thu, 12 Sep 2024 11:14:43.105 +0000 3895178944 diff WARNING: pclsync/plibs.c:690 (function psync_sql_unlock): held database write lock for 10 milliseconds taken from pclsync/pdiff.c:2570
Thu, 12 Sep 2024 11:14:43.105 +0000 3895584448 status change NOTICE: pclsync/pcallbacks.c:294 (function status_change_thread): sending status update, dwlstr: Everything Downloaded, uplstr: Everything Uploaded
Thu, 12 Sep 2024 11:14:43.105 +0000 3890140864 download main NOTICE: pclsync/pdownload.c:248 (function call_func_for_folder): local folder created /home/pingzi/Myfiles/pku/未命名文件夹
Thu, 12 Sep 2024 11:14:43.348 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:14:44.105 +0000 3889329856 fs folder refresh NOTICE: pclsync/pfs.c:3386 (function psync_fs_refresh_folder): creating fake file /home/pingzi/pCloudDrive/pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.106 +0000 3877635776 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.106 +0000 3888121536 psync_fs_creat NOTICE: pclsync/pfs.c:1586 (function psync_fs_creat): creat /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.106 +0000 3888121536 psync_fs_getattr NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203 fileid -9223372036854775808 taskid 9223372036854775808
Thu, 12 Sep 2024 11:14:44.106 +0000 3889870528 localnotify NOTICE: pclsync/prunratelimit.c:126 (function psync_run_ratelimited): running wake localscan on this thread
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_release NOTICE: pclsync/pfs.c:1918 (function psync_fs_release): release /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfs.c:1690 (function psync_fs_free_openfile): releasing file .refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfstasks.c:183 (function psync_fstask_release_folder_tasks_locked): releasing folder id 23078718645
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfs.c:2596 (function psync_fs_unlink): unlink /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfstasks.c:183 (function psync_fstask_release_folder_tasks_locked): releasing folder id 23078718645
Thu, 12 Sep 2024 11:14:44.107 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfs.c:2618 (function psync_fs_unlink): unlink /pku/.refresh3977b0592c1a440e3e0f38d96a75bac353ff1965ef972f9a1d51ac3cbbfe84ecc3d53203=-2
Thu, 12 Sep 2024 11:14:44.107 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:14:46.304 +0000 3895584448 status change NOTICE: pclsync/pcallbacks.c:294 (function status_change_thread): sending status update, dwlstr: Everything Downloaded, uplstr: Everything Uploaded
Thu, 12 Sep 2024 11:14:46.304 +0000 3890140864 download main NOTICE: pclsync/pdownload.c:396 (function task_renamefolder): local folder renamed from /home/pingzi/Myfiles/pku/未命名文件夹 to /home/pingzi/Myfiles/pku/test
Thu, 12 Sep 2024 11:14:46.555 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:14:47.304 +0000 3889329856 fs folder refresh NOTICE: pclsync/pfs.c:3386 (function psync_fs_refresh_folder): creating fake file /home/pingzi/pCloudDrive/pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3877635776 psync_fs_creat NOTICE: pclsync/pfs.c:1586 (function psync_fs_creat): creat /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3877635776 psync_fs_getattr NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5 fileid -9223372036854775807 taskid 9223372036854775809
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3889870528 localnotify NOTICE: pclsync/prunratelimit.c:109 (function psync_run_ratelimited): scheduling run of wake localscan on existing timer
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_release NOTICE: pclsync/pfs.c:1918 (function psync_fs_release): release /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_flush NOTICE: pclsync/pfs.c:1690 (function psync_fs_free_openfile): releasing file .refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3888121536 psync_fs_flush NOTICE: pclsync/pfstasks.c:183 (function psync_fstask_release_folder_tasks_locked): releasing folder id 23078718645
Thu, 12 Sep 2024 11:14:47.305 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfs.c:2596 (function psync_fs_unlink): unlink /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5
Thu, 12 Sep 2024 11:14:47.305 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfstasks.c:183 (function psync_fstask_release_folder_tasks_locked): releasing folder id 23078718645
Thu, 12 Sep 2024 11:14:47.305 +0000 3877635776 psync_fs_unlink NOTICE: pclsync/pfs.c:2618 (function psync_fs_unlink): unlink /pku/.refresh3977b0592c1a440e3e0f38d96a75bac37972e7255ee23729a6ea5f9cd89218d02d8e72c5=-2
Thu, 12 Sep 2024 11:14:57.862 +0000 3888121536 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /.Trash
Thu, 12 Sep 2024 11:14:57.862 +0000 3867150016 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /.Trash-1000
Thu, 12 Sep 2024 11:14:57.862 +0000 3877635776 psync_fs_readdir NOTICE: pclsync/pfs.c:868 (function psync_fs_readdir): readdir /
Thu, 12 Sep 2024 11:14:57.862 +0000 3877635776 psync_fs_readdir NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .directory fileid 0 taskid 18446744073709551615
Thu, 12 Sep 2024 11:14:57.862 +0000 3877635776 psync_fs_readdir NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .pcloudicon.png fileid 0 taskid 18446744073709551614
Thu, 12 Sep 2024 11:14:57.862 +0000 3877635776 psync_fs_readdir NOTICE: pclsync/pfs.c:967 (function psync_fs_readdir): returning 0
Thu, 12 Sep 2024 11:14:57.863 +0000 3877635776 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /.hidden
Thu, 12 Sep 2024 11:14:57.863 +0000 3888121536 psync_fs_getattr NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .directory fileid 0 taskid 18446744073709551615
Thu, 12 Sep 2024 11:14:57.863 +0000 3867150016 psync_fs_getattr NOTICE: pclsync/pfs.c:694 (function psync_creat_to_file_stat): getting stat from creat for file .pcloudicon.png fileid 0 taskid 18446744073709551614
Thu, 12 Sep 2024 11:14:57.867 +0000 3867150016 psync_fs_open NOTICE: pclsync/pfs.c:1250 (function psync_fs_open): open /.pcloudicon.png
Thu, 12 Sep 2024 11:14:57.868 +0000 3888121536 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /.pcloudicon.png
Thu, 12 Sep 2024 11:14:57.868 +0000 3867150016 psync_fs_release NOTICE: pclsync/pfs.c:1918 (function psync_fs_release): release /.pcloudicon.png
Thu, 12 Sep 2024 11:14:57.868 +0000 3867150016 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /.pcloudicon.png
Thu, 12 Sep 2024 11:14:57.868 +0000 3867150016 psync_fs_flush NOTICE: pclsync/pfs.c:1690 (function psync_fs_free_openfile): releasing file .pcloudicon.png
Thu, 12 Sep 2024 11:14:57.868 +0000 3877635776 psync_fs_open NOTICE: pclsync/pfs.c:1250 (function psync_fs_open): open /.directory
Thu, 12 Sep 2024 11:14:57.868 +0000 3867150016 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /.directory
Thu, 12 Sep 2024 11:14:57.868 +0000 3877635776 psync_fs_release NOTICE: pclsync/pfs.c:1918 (function psync_fs_release): release /.directory
Thu, 12 Sep 2024 11:14:57.868 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfs.c:1861 (function psync_fs_flush): flush /.directory
Thu, 12 Sep 2024 11:14:57.868 +0000 3877635776 psync_fs_flush NOTICE: pclsync/pfs.c:1690 (function psync_fs_free_openfile): releasing file .directory
Thu, 12 Sep 2024 11:14:57.918 +0000 3888121536 psync_fs_statfs NOTICE: pclsync/pfs.c:3004 (function psync_fs_statfs): statfs /
Thu, 12 Sep 2024 11:15:00.263 +0000 3877635776 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /.Trash
Thu, 12 Sep 2024 11:15:00.263 +0000 3888121536 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /.Trash-1000
Thu, 12 Sep 2024 11:15:00.263 +0000 3867150016 psync_fs_readdir NOTICE: pclsync/pfs.c:868 (function psync_fs_readdir): readdir /pku
Thu, 12 Sep 2024 11:15:00.264 +0000 3867150016 psync_fs_readdir NOTICE: pclsync/pfs.c:967 (function psync_fs_readdir): returning 0
Thu, 12 Sep 2024 11:15:00.264 +0000 3867150016 psync_fs_getattr NOTICE: pclsync/pfs.c:835 (function psync_fs_getattr): returning ENOENT for /pku/.hidden
Thu, 12 Sep 2024 11:15:00.320 +0000 3867150016 psync_fs_statfs NOTICE: pclsync/pfs.c:3004 (function psync_fs_statfs): statfs /pku
Thu, 12 Sep 2024 11:15:34.144 +0000 3895178944 diff WARNING: pclsync/papi.c:393 (function get_result): assertion unlikely_log(psync_socket_readall(sock, &ressize, sizeof(uint32_t)) != sizeof(uint32_t)) failed
Thu, 12 Sep 2024 11:15:34.144 +0000 3895178944 diff WARNING: pclsync/pdiff.c:3097 (function psync_diff_thread): assertion unlikely_log(!res) failed
Thu, 12 Sep 2024 11:15:34.144 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:3098 (function psync_diff_thread): sending exception
Thu, 12 Sep 2024 11:15:34.144 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2735 (function handle_exception): exception handler r
Thu, 12 Sep 2024 11:15:34.144 +0000 3895314112 p2p NOTICE: pclsync/pp2p.c:251 (function psync_p2p_process_packet): got 0 packet from 127.0.0.1
Thu, 12 Sep 2024 11:15:34.144 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2742 (function handle_exception): waiting for new socket
Thu, 12 Sep 2024 11:15:34.145 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:300 (function get_connected_socket): using deviceid 21833d18e68c46dac7fb32fab984c5e9
Thu, 12 Sep 2024 11:15:34.145 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:15:34.145 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:866 (function connect_socket_direct): connecting to binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:15:34.145 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks
Thu, 12 Sep 2024 11:15:34.146 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:889 (function connect_socket_direct): successfully reused cached IP for binapitok1.pcloud.com:443
Thu, 12 Sep 2024 11:15:34.146 +0000 3895178944 diff NOTICE: pclsync/pssl.c:438 (function psync_ssl_connect): reusing cached session for binapitok1.pcloud.com
Thu, 12 Sep 2024 11:15:34.433 +0000 3895178944 diff NOTICE: pclsync/pcompat.c:2382 (function psync_deviceid): detected device: Laptop, Linux
Thu, 12 Sep 2024 11:15:34.688 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:642 (function get_connected_socket): userid 21400103
Thu, 12 Sep 2024 11:15:34.688 +0000 3895178944 diff NOTICE: pclsync/pnetlibs.c:180 (function psync_apipool_set_server): set binapitok1.pcloud.com as best api server
Thu, 12 Sep 2024 11:15:34.688 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:744 (function get_connected_socket): Not a first login. Run sync event.
Thu, 12 Sep 2024 11:15:34.692 +0000 3895178944 diff NOTICE: pclsync/pdiff.c:2744 (function handle_exception): got new socket
Thu, 12 Sep 2024 11:15:43.232 +0000 3900360384 timer NOTICE: pclsync/prunratelimit.c:65 (function psync_run_ratelimited_timer): running wake localscan in a thread
Thu, 12 Sep 2024 11:15:43.234 +0000 3890005696 localscan NOTICE: pclsync/plocalscan.c:1058 (function scanner_scan): run checks

I tried to quit hyprland and go to tty but there isnt any error message, it just failed to shutdown.

I tried to write a user systemd file:

[Unit]
Description=pCloud Command Line Client
After=network-online.target

[Service]
ExecStart=/usr/bin/pcloudcc -u myaccount -d -m mymountpoint
KillSignal=SIGINT
Restart=on-failure
RestartSec=10

[Install]
WantedBy=defualt.target

But it doesnt seem to be able to start pcloudcc properly as after systemctl restart --user pcloudcc the pcloud driver isnt properly mounted.

The only thing might be helpful is sth else i discovered: if I change a file on other devices and pcloudcc has synced the file, then the shut down process would go smoothly and if no file has been changed, my computer wouldnt shut down.I tried several times it seems to have a good consistency.

@lneely lneely added bug Something isn't working unconfirmed and removed question Further information is requested labels Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

2 participants