MEGAcmd
MEGAcmd copied to clipboard
API error with accessing statecache
I'm running mega-cmd-server and mega-cmd on debian linux 12 (bookworm) MEGAcmd version: 1.6.3.0: code 1060300
I am getting multiple errors like: [API:err: 18:51:26] Unable to FileAccess::fopen('/home/my_user_name/.megaCmd/megaclient_statecache12_status_OUczVVltRERyTTBo-KFR-VoDdg3b2Fp-fub8.db'): sysstat() failed: error code: 2: No such file or directory.
All of the errors relate to accessing files named megaclient_statecache12....
looking in the .megaCmd directory, all of the files are labeled statecache13. There are no files with statecache12
I built with: ./configure --without-freeimage --without-ffmpeg --without-mediainfo
Thanks, Jan Erik
Same for me but on Windows 10.
API:err: 23:05:58] Unable to FileAccess::fopen('C:\tools\Web\MEGAcmd.megaCmd\megaclient_statecache12_transfers_dkxOMVByZ213bzjrN97RuUdPNUqn1KV400mw.db'): sysstat() failed: error code: 2: The system cannot find the file specified.
Same for statecache13...
Which MEGAcmd/SDK submodule commits are you using?
State cache version 12 (legacy one) is attempted to be open at startup, whoever if it is not available, it shouldn't be logged as an error.
On Windows I got the latest available download from mega.io/cmd
MEGAcmd version: 1.6.3.0: code 1060300 (64 bits) MEGA SDK version: 4.17.1
On Debian I downloaded from the git repository 2 days ago:
SDK: HEAD, tag: v4.17.1d MEGAcmd: commit 78fc49ea98b896e19a891d4c2b614fda684bbee3 (HEAD -> master, origin/master, origin/HEAD) Merge: 95dd83d 59d0b31 Author: David Ward [email protected] Date: Thu Jul 13 07:58:10 2023 +1200
Merge branch 'release/1.6.3-synology' into 'master'
I have the same issue with megacmd 1.6.3-1.1 download from the official repo, Ubuntu 23.04.
same thing with latest version on Ubuntu 18.04. fresh install of OS and Mega. i cannot get it to sync any files. this used to work and suddenly stopped. disappointed that starting from scratch didn't get me going again.
same issue over here :(
[API:err: 23:01:14] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:14] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_status_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:15] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_transfers_eHN6LTVkemQ0LTDboJGUThUSZCLR5PC0enI4.db'): sysstat() failed: error code: 2: No such file or directory [API:err: 23:01:15] Unable to FileAccess::fopen('~/.megaCmd/megaclient_statecache12_AQAIAwAAAADDjTNcrtoAAMbM_uXc3ePt.db'): sysstat() failed: error code: 2: No such file or directory
the folder for .megaCmd only has files that begin with megaclient_statecache13
Same issue on 22.04 with 1.6.3 downloaded from the official site. No problems on 1.6.1
I have started to notice this issue as well. 1.6.3-2.1 with Ubuntu 23.10.
same issue [API:err: 06:38:45] Unable to FileAccess::fopen('/home/pi/.megaCmd/megaclient_statecache12_eHR1N21SNXp2ME1WnEkVoCPqwYEugXh4KSsl.db'): sysstat() failed: error code: 2: No such file or directory
MEGAcmd version: 1.6.3.1: code 1060301 OS: Raspbian GNU/Linux 12 (bookworm) armv7l