Language:
switch to room list switch to menu My folders
Go to page: First ... 25 26 27 28 [29] 30 31 32 33 ... Last
[#] Wed Dec 30 2020 17:07:36 EST from arvindikc

Subject: How to create multi server setup for Citadel

[Reply] [ReplyQuoted] [Headers] [Print]

Hi

 

Is there any guide/howto explaining multi server setup of CITADEL?

Arvind.

 



[#] Fri Jan 01 2021 09:32:09 EST from markus

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

 

Tue Dec 29 2020 10:11:02 EST from IGnatius T Foobar Subject: Re: Citadel server and Openmediavault on the same debian machine.
Yes ... ditch the packages and deploy Citadel using Easy Install instead.
As a bonus you'll get a much newer version.

I tried to install Citadel by using Easy Install.

1) First with "curl http://easyinstall.citadel.org/install | bash". The installtion process stopped with the following info:

    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
    100   185  100   185    0     0    429      0 --:--:-- --:--:-- --:--:--   429
    bash: line 1: html: No such file or directory
    bash: line 2: syntax error near unexpected token `<'
   'ash: line 2: `<head><title>301 Moved Permanently</title></head>

2) Then I tried the other option "wget -q -O - http://easyinstall.citadel.org/install | bash". It runs for a while well until it fails with:

    Installing libcitadel...
    checking build system type... conftools/config.guess: unable to guess system type

    This script, last modified 2006-07-02, has failed to recognize
    the operating system you are using. It is advised that you
    download the most up to date version of the config scripts from

    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
    and
    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

    If the version you run (conftools/config.guess) is already up to date, please
    send the following data and any information you think might be
    pertinent to <config-patches@gnu.org> in order to provide the needed
    information to handle your system.

    config.guess timestamp = 2006-07-02

    uname -m = aarch64
    uname -r = 5.9.14-rockchip64
    uname -s = Linux
    uname -v = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020

    /usr/bin/uname -p = unknown
    /bin/uname -X     =

    hostinfo               =
    /bin/universe          =
    /usr/bin/arch -k       =
    /bin/arch              = aarch64
    /usr/bin/oslevel       =
    /usr/convex/getsysinfo =

    UNAME_MACHINE = aarch64
    UNAME_RELEASE = 5.9.14-rockchip64
    UNAME_SYSTEM  = Linux
    UNAME_VERSION = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020
    configure: error: cannot guess build type; you must specify one
    Citadel Easy Install is aborting.
    The last few lines above this message may indicate what went wrong.
    Linux Debian 10.7( 5.9.14-rockchip64 aarch64)

2.1) Follow the advice, I have downloaded a new "config.guess" and "config.sub from the mentioned URLs. I used them instead of mine that came from the distribution and run again "wget -q -O - http://easyinstall.citadel.org/install | bash".  But no luck, the problem persists and 'I got the same output as during the last run.

Do you have any idea? Thanks in advance!

Markus



[#] Fri Jan 01 2021 11:07:06 EST from warbaby

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

Try:

wget https://easyinstall.citadel.org/install -O easyinstall.sh

chmod +x easyinstall.sh

./easyinstall.sh

 A change was already pushed to the website, but the updater is apparently not running.

For the record, I personally will never pipe unknown input directly to a privileged shell. 

Always take a look at what you're running. Download, head, cat, whatever..

That gnu error btw, is not coming directly from easyinstall..

 

Fri Jan 01 2021 09:32:09 AM EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

 

Tue Dec 29 2020 10:11:02 EST from IGnatius T Foobar Subject: Re: Citadel server and Openmediavault on the same debian machine.
Yes ... ditch the packages and deploy Citadel using Easy Install instead.
As a bonus you'll get a much newer version.

I tried to install Citadel by using Easy Install.

1) First with "curl http://easyinstall.citadel.org/install | bash". The installtion process stopped with the following info:

    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
    100   185  100   185    0     0    429      0 --:--:-- --:--:-- --:--:--   429
    bash: line 1: html: No such file or directory
    bash: line 2: syntax error near unexpected token `<'
   'ash: line 2: `<head><title>301 Moved Permanently</title></head>

2) Then I tried the other option "wget -q -O - http://easyinstall.citadel.org/install | bash". It runs for a while well until it fails with:

    Installing libcitadel...
    checking build system type... conftools/config.guess: unable to guess system type

    This script, last modified 2006-07-02, has failed to recognize
    the operating system you are using. It is advised that you
    download the most up to date version of the config scripts from

    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
    and
    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

    If the version you run (conftools/config.guess) is already up to date, please
    send the following data and any information you think might be
    pertinent to <config-patches@gnu.org> in order to provide the needed
    information to handle your system.

    config.guess timestamp = 2006-07-02

    uname -m = aarch64
    uname -r = 5.9.14-rockchip64
    uname -s = Linux
    uname -v = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020

    /usr/bin/uname -p = unknown
    /bin/uname -X     =

    hostinfo               =
    /bin/universe          =
    /usr/bin/arch -k       =
    /bin/arch              = aarch64
    /usr/bin/oslevel       =
    /usr/convex/getsysinfo =

    UNAME_MACHINE = aarch64
    UNAME_RELEASE = 5.9.14-rockchip64
    UNAME_SYSTEM  = Linux
    UNAME_VERSION = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020
    configure: error: cannot guess build type; you must specify one
    Citadel Easy Install is aborting.
    The last few lines above this message may indicate what went wrong.
    Linux Debian 10.7( 5.9.14-rockchip64 aarch64)

2.1) Follow the advice, I have downloaded a new "config.guess" and "config.sub from the mentioned URLs. I used them instead of mine that came from the distribution and run again "wget -q -O - http://easyinstall.citadel.org/install | bash".  But no luck, the problem persists and 'I got the same output as during the last run.

Do you have any idea? Thanks in advance!

Markus



 



[#] Fri Jan 01 2021 13:47:36 EST from wesleyallison

Subject: help setting up

[Reply] [ReplyQuoted] [Headers] [Print]

I would like to know if anyone has a full tutorial? including the domain with No IP.



[#] Fri Jan 01 2021 13:58:28 EST from ParanoidDelusions

Subject: Re: help setting up

[Reply] [ReplyQuoted] [Headers] [Print]

I've got a full update on installing on Raspbian on a Pi at my Citadel - wallofhate.com

But it will fail on a curl or wget for the same reason listed above - you've got to use HTTPS: in the URL you give curl or wget now. the HTTP URL will download the file locally, and you have to execute the script there using SU or sudo to get it to work.

Fri Jan 01 2021 13:47:36 EST from wesleyallison Subject: help setting up

I would like to know if anyone has a full tutorial? including the domain with No IP.



 



[#] Fri Jan 01 2021 19:13:29 EST from markus

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

Thanks for your reply!

Accoring to the error output it is "config.guess" that cannot recognize my operating system. I found that "config.guess" (and "config.sub") are both contained by "libcitadel-easyinstall.tar.gz" (in the directory "conftools") which the script https://easyinstall.citadel.org/install downloads from https://easyinstall.citadel.org/. And these files seemed to be old. When I open "config.guess" and "config.sub" I can see the timestamp variable is set to "2006-07-02" and "2006-09-20", respectively. Could be that theses files are to old to recognize my operating system.

So I tried to get newer once following the URLs bellow which I took from the error output of "config.guess":
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess and
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
But the once I got where from 2008 which are still quite old.

Finally, I have talked to people listening to config-patches@gnu.org and I got the following URLs:
https://git.savannah.gnu.org/cgit/config.git/plain/config.guess
https://git.savannah.gnu.org/cgit/config.git/plain/config.sub
These URLs provide quite actual versions of "config.guess" and "config.sub" dated to 2020-12-22.

Could you please check if these newer files from 2020 can replace the once from 2006? Thanks in advance.

Markus

 

Fri Jan 01 2021 11:07:06 EST from warbaby Subject: Re: Citadel server and Openmediavault on the same debian machine.

Try:

wget https://easyinstall.citadel.org/install -O easyinstall.sh

chmod +x easyinstall.sh

./easyinstall.sh

 A change was already pushed to the website, but the updater is apparently not running.

For the record, I personally will never pipe unknown input directly to a privileged shell. 

Always take a look at what you're running. Download, head, cat, whatever..

That gnu error btw, is not coming directly from easyinstall..

 

Fri Jan 01 2021 09:32:09 AM EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

 

Tue Dec 29 2020 10:11:02 EST from IGnatius T Foobar Subject: Re: Citadel server and Openmediavault on the same debian machine.
Yes ... ditch the packages and deploy Citadel using Easy Install instead.
As a bonus you'll get a much newer version.

I tried to install Citadel by using Easy Install.

1) First with "curl http://easyinstall.citadel.org/install | bash". The installtion process stopped with the following info:

    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
    100   185  100   185    0     0    429      0 --:--:-- --:--:-- --:--:--   429
    bash: line 1: html: No such file or directory
    bash: line 2: syntax error near unexpected token `<'
   'ash: line 2: `<head><title>301 Moved Permanently</title></head>

2) Then I tried the other option "wget -q -O - http://easyinstall.citadel.org/install | bash". It runs for a while well until it fails with:

    Installing libcitadel...
    checking build system type... conftools/config.guess: unable to guess system type

    This script, last modified 2006-07-02, has failed to recognize
    the operating system you are using. It is advised that you
    download the most up to date version of the config scripts from

    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
    and
    http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub

    If the version you run (conftools/config.guess) is already up to date, please
    send the following data and any information you think might be
    pertinent to <config-patches@gnu.org> in order to provide the needed
    information to handle your system.

    config.guess timestamp = 2006-07-02

    uname -m = aarch64
    uname -r = 5.9.14-rockchip64
    uname -s = Linux
    uname -v = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020

    /usr/bin/uname -p = unknown
    /bin/uname -X     =

    hostinfo               =
    /bin/universe          =
    /usr/bin/arch -k       =
    /bin/arch              = aarch64
    /usr/bin/oslevel       =
    /usr/convex/getsysinfo =

    UNAME_MACHINE = aarch64
    UNAME_RELEASE = 5.9.14-rockchip64
    UNAME_SYSTEM  = Linux
    UNAME_VERSION = #20.11.4 SMP PREEMPT Tue Dec 15 08:52:20 CET 2020
    configure: error: cannot guess build type; you must specify one
    Citadel Easy Install is aborting.
    The last few lines above this message may indicate what went wrong.
    Linux Debian 10.7( 5.9.14-rockchip64 aarch64)

2.1) Follow the advice, I have downloaded a new "config.guess" and "config.sub from the mentioned URLs. I used them instead of mine that came from the distribution and run again "wget -q -O - http://easyinstall.citadel.org/install | bash".  But no luck, the problem persists and 'I got the same output as during the last run.

Do you have any idea? Thanks in advance!

Markus



 



 



[#] Fri Jan 01 2021 19:21:56 EST from Nurb432

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

Not an expert here, but what do you have to lose by trying? Worst case it fails again, it wont eat your system or anything.

 

 

Fri Jan 01 2021 19:13:29 EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

 

Could you please check if these newer files from 2020 can replace the once from 2006? Thanks in advance.

 



[#] Sat Jan 02 2021 01:00:48 EST from hamiltra

Subject: Citadel Ldap support with Debian

[Reply] [ReplyQuoted] [Headers] [Print]

Hello Support,

I'm trying to enable Citadel using ldap on a local debian machine. i have installed and configured ldap and have the development libraries installed. when i run easy install and start Citadel, the logs are showing that the server does not have ldap support. no errors in the citadel build. Please advise.



[#] Sat Jan 02 2021 04:58:49 EST from markus

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

Well that's true. And in fact the 2020 version of config.guess and config.sub work for me well in that way that they are able to recognize my operationg system. But I'm not the one who can decide that these versions should be included in libcitadel-easyinstall.tar.gz which is in my opinion necessary that citadel easy install could work for me and maybe others that have never operating systems that could not be recognized by the old version of 2006.

Fri Jan 01 2021 19:21:56 EST from Nurb432 Subject: Re: Citadel server and Openmediavault on the same debian machine.

Not an expert here, but what do you have to lose by trying? Worst case it fails again, it wont eat your system or anything.

 

 

Fri Jan 01 2021 19:13:29 EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

 

Could you please check if these newer files from 2020 can replace the once from 2006? Thanks in advance.

 



 



[#] Sat Jan 02 2021 08:23:41 EST from Nurb432

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

I think there is a dev channel around here, would not hurt to mention it there too.

 

Reason i answered the way i did, is i had a similar issue  ( unrelated software  ) and i just grabbed a copy from something else that did compile on that same machine. I guess going to the 'source' like you did would have made more sense, and i have bookmarked that for next time :) 



[#] Sat Jan 02 2021 09:44:53 EST from hamiltra

Subject: Re: Citadel Ldap support with Debian

[Reply] [ReplyQuoted] [Headers] [Print]

I checked citserver which is linked against 2.4 version of the OpenLDAP library:

libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007efe72a42000)

Sat Jan 02 2021 01:00:48 EST from hamiltra Subject: Citadel Ldap support with Debian

Hello Support,

I'm trying to enable Citadel using ldap on a local debian machine. i have installed and configured ldap and have the development libraries installed. when i run easy install and start Citadel, the logs are showing that the server does not have ldap support. no errors in the citadel build. Please advise.



 



[#] Sat Jan 02 2021 12:46:50 EST from hamiltra

Subject: Re: Citadel Ldap support with Debian

[Reply] [ReplyQuoted] [Headers] [Print]

this is the error that I'm seeing in /var/log/syslog:

Jan  2 09:43:20 debian citserver[12952]: Your system is configured for LDAP authentication,

Jan  2 09:43:20 debian citserver[12952]: but you are running a server built without OpenLDAP support.

Jan  2 09:43:20 debian systemd[1]: citadel.service: Main process exited, code=exited, status=107/n/a

 
Sat Jan 02 2021 09:44:53 EST from hamiltra Subject: Re: Citadel Ldap support with Debian

I checked citserver which is linked against 2.4 version of the OpenLDAP library:

libldap_r-2.4.so.2 => /lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007efe72a42000)

Sat Jan 02 2021 01:00:48 EST from hamiltra Subject: Citadel Ldap support with Debian

Hello Support,

I'm trying to enable Citadel using ldap on a local debian machine. i have installed and configured ldap and have the development libraries installed. when i run easy install and start Citadel, the logs are showing that the server does not have ldap support. no errors in the citadel build. Please advise.



 



 



[#] Sun Jan 03 2021 13:14:44 EST from markus

Subject: Re: Citadel server and Openmediavault on the same debian machine.

[Reply] [ReplyQuoted] [Headers] [Print]

In addition: "config.guess" and "config.sub" should also be replaced in "citadel-easinstall.tar.gz", because the original ones are as old as those in "libcitadel-easyinstall.tar.gz". Much newer are those in "webcit-easyinstall.tar.gz" (from 2014) and they worked well for me. But it is no fault to replace them also by the 2020 version.

Sat Jan 02 2021 04:58:49 EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

Well that's true. And in fact the 2020 version of config.guess and config.sub work for me well in that way that they are able to recognize my operationg system. But I'm not the one who can decide that these versions should be included in libcitadel-easyinstall.tar.gz which is in my opinion necessary that citadel easy install could work for me and maybe others that have never operating systems that could not be recognized by the old version of 2006.

Fri Jan 01 2021 19:21:56 EST from Nurb432 Subject: Re: Citadel server and Openmediavault on the same debian machine.

Not an expert here, but what do you have to lose by trying? Worst case it fails again, it wont eat your system or anything.

 

 

Fri Jan 01 2021 19:13:29 EST from markus Subject: Re: Citadel server and Openmediavault on the same debian machine.

 

Could you please check if these newer files from 2020 can replace the once from 2006? Thanks in advance.

 



 



 



[#] Mon Jan 04 2021 10:36:36 EST from markus

Subject: How to use ctdlmigrate successfully?

[Reply] [ReplyQuoted] [Headers] [Print]

Hello!

Does anybody have experience with "ctdlmigrate"? I gave it a try (from an older citadel server version 824 to the actual 930).  Starting "ctdlmigrate" it seems to export the database from the older system. But obviously there is a problem doing the import to the new system. When "ctdlmigrate" ends no login to the server was possible. After stopping the server it couldn't be restartet.

Any hints are wellcome!

Markus



[#] Mon Jan 04 2021 11:57:42 EST from markus

Subject: Longer keys to communicate to citadel via https

[Reply] [ReplyQuoted] [Headers] [Print]

Hello!

I had to generate a new key file (ending .key), a new certificate signing request file (ending .csr) and a new certificate file (ending .cer) to communicate via https to my citadel server. Accoring to the following howto page

https://www.citadel.org/how_to_install_a_certificate_signed_by_a_recognized_certificate_authority.html

the key length should be "1024". 

I think that was true in former days. Nowadays it seems to be too insecure. Browsers like Firefox and MS Internet Explorer refuse connections to websites that use keys with that length. Would you kindly change your howto page (like for example from "1024" to "4096") to help people generate proper keys or do I have the chance to do it?

Regards

Markus



[#] Mon Jan 04 2021 14:17:23 EST from ParanoidDelusions

Subject: Re: How to use ctdlmigrate successfully?

[Reply] [ReplyQuoted] [Headers] [Print]

If you read back several pages in this room, there was quite a discussion about the different methods of migrating Citadel, including ctdlmigrate. Those discussions might help. 

I was able to successfully migrate a Citadel database from a Pi running Rapsbian to an i5 running Debian. It took me several attempts, I had to jump through a lot of hoops, I couldn't recreate it after I had done it, and I'm not sure what I got right. I know permissions are important - you've got to be root on both systems, and it seemed like directory paths where the files are was important.

It *can* be done. I know that much - but it did not seem remarkably reliable. 

When it is starting, it gives a spinning "/", right? Does that stop? 

sudo tail /var/logs/system.log -f  in a separate terminal window while running the ctdlmigrate - and see if it is throwing up errors. Also, it seems like either running it in a terminal or in a console might have been the key - but I'm not sure which. I know I tried running it in the console logged in as root, I tried running it in a terminal logged in as a regular user, I tried terminal running it sudo, and I tried terminal running it after SU-ing to root. 

I threw everything at the wall - and something stuck. Once. 



Mon Jan 04 2021 10:36:36 EST from markus Subject: How to use ctdlmigrate successfully?

Hello!

Does anybody have experience with "ctdlmigrate"? I gave it a try (from an older citadel server version 824 to the actual 930).  Starting "ctdlmigrate" it seems to export the database from the older system. But obviously there is a problem doing the import to the new system. When "ctdlmigrate" ends no login to the server was possible. After stopping the server it couldn't be restartet.

Any hints are wellcome!

Markus



 



[#] Mon Jan 04 2021 14:21:25 EST from ParanoidDelusions

[Reply] [ReplyQuoted] [Headers] [Print]

sudo tail /var/log/syslog -f - that is. 

I'm not a Linux expert. 

 



[#] Mon Jan 04 2021 18:46:43 EST from omatnet

Subject: Re: How to use ctdlmigrate successfully?

[Reply] [ReplyQuoted] [Headers] [Print]

Echoing this latest reply, see my posting and related replies that started on November 12 with the subject: 'Both methods of migration attempts crash within seconds'. ctdlmigrate works well also from an old version to a new version. But in my case, I had a problem - it either crashed midway (too much information) or simply timed out (the old ctdlmigrate did not yet accept the '-w' switch to extend the timeout period). But if this is the issue, you have a work around method, by using IMAP account, transferring safely (albeit slowly) all emails from the old server to the new one. If you read all the postings you will see the answers there.

Mon Jan 04 2021 14:17:23 EST from ParanoidDelusions Subject: Re: How to use ctdlmigrate successfully?

If you read back several pages in this room, there was quite a discussion about the different methods of migrating Citadel, including ctdlmigrate. Those discussions might help. 

I was able to successfully migrate a Citadel database from a Pi running Rapsbian to an i5 running Debian. It took me several attempts, I had to jump through a lot of hoops, I couldn't recreate it after I had done it, and I'm not sure what I got right. I know permissions are important - you've got to be root on both systems, and it seemed like directory paths where the files are was important.

It *can* be done. I know that much - but it did not seem remarkably reliable. 

When it is starting, it gives a spinning "/", right? Does that stop? 

sudo tail /var/logs/system.log -f  in a separate terminal window while running the ctdlmigrate - and see if it is throwing up errors. Also, it seems like either running it in a terminal or in a console might have been the key - but I'm not sure which. I know I tried running it in the console logged in as root, I tried running it in a terminal logged in as a regular user, I tried terminal running it sudo, and I tried terminal running it after SU-ing to root. 

I threw everything at the wall - and something stuck. Once. 



Mon Jan 04 2021 10:36:36 EST from markus Subject: How to use ctdlmigrate successfully?

Hello!

Does anybody have experience with "ctdlmigrate"? I gave it a try (from an older citadel server version 824 to the actual 930).  Starting "ctdlmigrate" it seems to export the database from the older system. But obviously there is a problem doing the import to the new system. When "ctdlmigrate" ends no login to the server was possible. After stopping the server it couldn't be restartet.

Any hints are wellcome!

Markus



 



 



[#] Thu Jan 07 2021 14:45:00 EST from mkuhn

Subject: Citadel log level

[Reply] [ReplyQuoted] [Headers] [Print]

Hi,

Happy new year!

I'm running Citadel 930 and Webcit 927, installed with easyinstall on my Odroid C2 (updating config.guess in libcitadel.tar and citadel-easyinstall.tar would be great). 

I would like to change the log level for smtp events to let Fail2ban block IPs (i.e. telnet connects on port 25).  What would I need to do to generate that information in either mail.log or syslog?

Regards.

Michael

 



[#] Thu Jan 07 2021 19:01:43 EST from markus

Subject: Re: How to use ctdlmigrate successfully?

[Reply] [ReplyQuoted] [Headers] [Print]

Well, I have stoppend citadel and webcit, have then deleted all files bellow citadel/data and finally have started citadel and webcit and did citadel setup, but I wasn't lucky in case a) and b), while the cases are:

a) executing ctdlmigrate on destination system 

b) executing sendcommand "MIGR export" > citadel_export.xml on source system and afterwards sendcommand -w <seconds> "MIGR import" < citadel_export.xml on the destination system

In both cases I recognize errors in /var/log/syslog. Rooms were missing as far as I remember and other errors. Does citadel/database need any pretreatment before doing an import? Or do you think source and destination system are too different to migrate going way a) or b)?

If this is the case the only option that I have would be to use a mail user agent to transfer between old and new system. Right?

 

Mon Jan 04 2021 18:46:43 EST from omatnet Subject: Re: How to use ctdlmigrate successfully?

Echoing this latest reply, see my posting and related replies that started on November 12 with the subject: 'Both methods of migration attempts crash within seconds'. ctdlmigrate works well also from an old version to a new version. But in my case, I had a problem - it either crashed midway (too much information) or simply timed out (the old ctdlmigrate did not yet accept the '-w' switch to extend the timeout period). But if this is the issue, you have a work around method, by using IMAP account, transferring safely (albeit slowly) all emails from the old server to the new one. If you read all the postings you will see the answers there.

Mon Jan 04 2021 14:17:23 EST from ParanoidDelusions Subject: Re: How to use ctdlmigrate successfully?

If you read back several pages in this room, there was quite a discussion about the different methods of migrating Citadel, including ctdlmigrate. Those discussions might help. 

I was able to successfully migrate a Citadel database from a Pi running Rapsbian to an i5 running Debian. It took me several attempts, I had to jump through a lot of hoops, I couldn't recreate it after I had done it, and I'm not sure what I got right. I know permissions are important - you've got to be root on both systems, and it seemed like directory paths where the files are was important.

It *can* be done. I know that much - but it did not seem remarkably reliable. 

When it is starting, it gives a spinning "/", right? Does that stop? 

sudo tail /var/logs/system.log -f  in a separate terminal window while running the ctdlmigrate - and see if it is throwing up errors. Also, it seems like either running it in a terminal or in a console might have been the key - but I'm not sure which. I know I tried running it in the console logged in as root, I tried running it in a terminal logged in as a regular user, I tried terminal running it sudo, and I tried terminal running it after SU-ing to root. 

I threw everything at the wall - and something stuck. Once. 



Mon Jan 04 2021 10:36:36 EST from markus Subject: How to use ctdlmigrate successfully?

Hello!

Does anybody have experience with "ctdlmigrate"? I gave it a try (from an older citadel server version 824 to the actual 930).  Starting "ctdlmigrate" it seems to export the database from the older system. But obviously there is a problem doing the import to the new system. When "ctdlmigrate" ends no login to the server was possible. After stopping the server it couldn't be restartet.

Any hints are wellcome!

Markus



 



 



 



Go to page: First ... 25 26 27 28 [29] 30 31 32 33 ... Last