Posts by jackstone

    Back with an update :)


    I couldn't help myself and I finished the full upgrade to Debian 10. I thought well, if it's gonna break I'm just gonna reinstall it, maybe even switch to Ubuntu 18.04. So I've made all the backups and finished the upgrade and rebooted the server. Fortunately, besides a small bind problem which wouldn't start with "localhost" in the masters section of named.conf.local, which I had to switch to 127.0.0.1 in order to make bind start again, everything else seems to work fine, the panel is running, websites are ok, and the mail system is good. I'm now running i-MSCP 1.5.3-2018 on Debian 10 without any problems (at least not discovered yet)


    Just in case someone else accidentally starts an upgrade :)


    Cheers

    I am still wondering why did you use dist-upgrade? Simply update and upgrade should be fine enough. :-/


    I think I got used this way :)


    Anyway, thanks for your reply, I think I'll just leave it like this for a while, if something breaks I'll just re-install it, I wanted to switch tu Ubuntu 18 for some time now, this might be the perfect excuse :)

    Hello Everybody,


    One of my systems running on Debian 9 was setup for automatic updates and in sources list "stable" was defined instead of stretch, so when Debian 10 was launched it started to update the packages. Fortunately I managed to stop the upgrade mid-way and apparently only non-critical packages were upgraded in the process, although /etc/issue says Debian GNU/Linux 10 \n \l the system has quite a lot of packages that need to be upgraded.


    These are the packages that still need to be upgraded :


    My questions are :


    1. Is it safe to perform a full-upgrade to Debian 10 without breaking i-MSCP ?

    2. If not, any suggestions on what to do next besides a full reinstall of Debian 9 ?

    3. Should I leave the system in this state until support is added to i-MSCP for Debian 10 ?

    4. Any idea when support for Debian 10 will be included in i-MSCP ? - last question is for Nuxwin


    Thanks!

    Hello everybody,


    I have a new issue, I recently moved some domains from an old ispCP server to a new i-MSCP server 1.5.3.

    One of the domains I moved had an A redirect to an external IP in the "Add DNS Resource record" section.

    Ex: @ in A -> External IP

    The problem is that i-MSCP also adds the server IP to the A hosts, resulting in :


    When it *SHOULD* be just 1 IP in A (the external one) So, the virtual/htdocs is empty because it's supposed to redirect, and the customer gets an error.

    My Question, how can I prevent i-MSCP to add into BIND it's own IP and just leave what I set in DNS Resource Record.

    The server acts as a Master Bind server linked to 2 slave servers which are set to control all customer domains. (Ex: customer.com in ns1.mydomain.com and ns2.mydomain.com and master i-MSCP NS is customer.com and slaves ns1&ns2)

    I also experienced the same problem when I moved the main domain for the panels from one of the slave servers to another, it kept adding a record with another A ip to ns1.mydomain.com, resulting in some errors for customers, i had to copy all the records from the slave NS servers to the customer server where i just copied the domain.


    Also, another question related to BIND, what is the correct syntax to add secondary NS servers to /etc/imscp/bind/bind.data and how do I make i-MSCP implement the new settings in named.conf.local after adding / removing a NS. i tried ip,ip - ip;ip - ip ip, nothing seems to work, i still had to manually change each zone in named.conf.local in order to transfer the zones to the slaves.


    Thanks!

    crafter don't worry, i changed both the domain name and some random characters in the password string(s)

    I've already read that post, i understood some parts of it but not totaly, and i'm a bit afraid to test it on production servers and break something.

    Good evening,


    As suggested by crafter best would be to create an importer script which would fetch accounts from the old database and insert them into the new database. This require to make the old database reacheable from TCP for a while and run the script from the new server. Basically put, you need mimic the i-MSCP behavior for mail account creation.


    Note that doing such a work through PhpMyAdmin is really not recommended.

    I'm not afraid to admit that creating such a script and actually not f***ing up both installations is a bit above my technical skills, anyone care to help me with this ? For a fair price of course, nothing good in this world is free ^^

    Hello everybody,


    I have an old ispCP installation with only one domain left on it, and that domain only has e-mail hosting.

    The problem is, there are 2376 :huh: e-mail accounts on that domain, moving them manually would be a nightmare.

    I was thinking if it's somehow possible to export manually from phpMyAdmin the table with only the e-mail accounts and forwards from this domain, and than importing them into the other i-MSCP phpMyAdmin.

    I already have the unencrypted passwords for all the accounts (i found a nice script that extracts them from the db)

    Of course it would be nice if i could also export the passwords, but if that's not possible at least some method to copy those accounts all at once and not manually adding each one would be great!

    I've read about using incremental values in SQL when importing a table but i'm not really sure that it won't conflict with e-mail ID's already present on the server where I want to move the domain, that server also has 2500+ e-mail addresses.

    As you can see below, I have mail_id ranging from 3 to 4700. Maybe i could change those values with a SQL command to replace all of them with an incremental value starting with the last value from the i-MSCP installation ? Just asking.

    Any solution, I really mean, ANY solution would be great!


    Thank you!