Hi Art. I answer each point.
1. I need to add another disk because I don't have enough space to run
the database_cleanup. *But how I should specify a location*? The usage
lacks of that info:
*usage*: /home/sys1/citadel-1617821022-x64.appimage [-h
data_directory] [-p http_port] [-s https_port] command
command must be one of: run, test, install, database_cleanup
Citadel Database Cleanup
---------------------------
Thi...
WARNING #1:
MAKE A BACKUP...
WARNING #2:
citserver must NOT be running while you do this. (*I executed the
command: **systemctl stop citadel*)
WARNING #3:
Please try...
WARNING #4:
You must have an amount of free space on your disk that is at
least twice the size of your database, see the following output:
(for substantially better performance *you should specify a
location* that is on another disk than /usr/local/citadel/data)
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 395M 5.4M 390M 2% /run
/dev/mapper/em2--vg-root 182G 92G 81G 54% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda1 472M 49M 399M 11% /boot
tmpfs 395M 0 395M 0% /run/user/1000
you will need 91G of free space.
We will attempt to look for a Citadel database in
/usr/local/citadel/data
Do you want to continue? *NO*
root@em2:/home/sys1# df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 395M 5.4M 390M 2% /run
*/dev/mapper/em2--vg-root 182G 92G 81G 54% /*
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda1 472M 49M 399M 11% /boot
tmpfs 395M 0 395M 0% /run/user/1000
2. Yes this is the database location:
root@em2:/home/sys1# ls -l /usr/local/citadel/
total 13708
srwx------ 1 root root 0 Apr 8 13:26 citadel-admin.socket
-rwxr-xr-x 1 root root 10428392 Apr 7 14:04 citadel.appimage
-rw-rw-rw- 1 root root 0 Apr 8 13:26 citadel.lock
srwxrwsrwx 1 root root 0 Apr 8 13:26 citadel.socket
-rw------- 1 root root 6127616 Apr 7 14:14 core
drwx------ 2 root root 4096 Apr 8 04:03 data
drwx------ 2 root root 4096 Apr 7 14:04 files
drwx------ 2 root root 4096 Apr 7 14:04 keys
srwxrwsrwx 1 root root 0 Apr 8 13:26 lmtp.socket
srwxrwsrwx 1 root root 0 Apr 8 13:26 lmtp-unfiltered.socket
drwx------ 2 root root 4096 Apr 7 14:04 messages
root@em2:/home/sys1# ls -l /usr/local/citadel/data/
total 95209548
-rw------- 1 root root 380760064 Apr 8 04:03 cdb.00
-rw------- 1 root root 176128 Apr 8 13:26 cdb.01
-rw------- 1 root root 688128 Apr 8 13:26 cdb.02
-rw------- 1 root root 16384 Apr 8 13:26 cdb.03
-rw------- 1 root root 3809280 Apr 8 04:03 cdb.04
-rw------- 1 root root 516096 Apr 8 04:03 cdb.05
-rw------- 1 root root 24576 Apr 7 14:04 cdb.06
-rw------- 1 root root 60178432 Jan 25 19:00 cdb.07
-rw------- 1 root root 97038852096 Apr 8 04:03 cdb.08
-rw------- 1 root root 8192 Jan 25 20:01 cdb.09
-rw------- 1 root root 3518464 Apr 8 04:03 cdb.0a
-rw------- 1 root root 16384 Apr 8 04:00 cdb.0b
-rw------- 1 root root 8192 Jan 25 20:01 cdb.0c
-rw------- 1 root root 8192 Apr 8 04:03 cdb.0d
-rw------- 1 root root 71 Jan 25 20:01 DB_CONFIG
-rw------- 1 root root 10485760 Apr 8 13:26 log.0000153721
The process runs with this info:
root@em2:/home/sys1# ps -eaf|grep cit
root 385 1 0 13:26 ? 00:00:00
/usr/local/citadel/citadel.appimage run -h /usr/local/citadel -p 80
-s 443
root 393 382 0 13:26 ? 00:00:00 citserver -x9 -h
/usr/local/citadel
root 394 382 0 13:26 ? 00:00:00 webcit -x9
-h/tmp/.mount_citadefpzQwJ/usr/local/webcit -p 80 uds /usr/local/citadel
root 395 382 0 13:26 ? 00:00:00 webcit -x9
-h/tmp/.mount_citadefpzQwJ/usr/local/webcit -s -p 443 uds
/usr/local/citadel
3. Yes I tested it with "admin+citadel" even today, and the message is
"ADMIN NOT FOUND."
The database has information, since it does not give me an error when I
try with my username and password, it simply does not show error and
does not change from the login page.
Any commands I can run from the terminal to check further? It seems that
"sendcommand" no longer exists.
Regards!
On 4/8/21 8:58 AM, IGnatius T Foobar wrote:
>1. What effect would it have if I run *database_cleanup* with my
>backup+data in the DB?
Yes, I'd try database_cleanup just to see what it does.
Also, I have to ask: is the copy of your database actually in /usr/local/citadel
or is it somewhere else?
You should also try logging in as "admin" with password "citadel". If that
works, it means you're operating with an empty database instead of the one
you think you're using.