Posts by o-leary

    After several attempts I got it working by changing "Rainloop" to "RainLoop" in the preseed. This worked both for the included one in the zip and the one I had made for myself (so I presume it wasn't a fluke).


    You may want to update the preseed for the next patch.


    Thanks for the tip on removing --noprompt, there were a couple of other prompts but it narrowed it down.

    Hi,


    Installing 1.2.2 on Ubuntu 14.04, I can't get any preseed file to work. I have tried using the default one provided in the docs folder in the zip file, and merely changing the IPs, but even this generates the same error.


    Command used: perl imscp-autoinstall --debug --noprompt --preseed /root/preseed.pl


    The error is as in the thread title:


    Code
    1. [FATAL]
    2. Missing or bad entry found in your preseed file.
    3. [FATAL]


    Does anyone have a working preseed or know what is wrong with the default one? I am working on a deployment script and it would really help.

    Sorry nuxwin, I had posted about a problem before reading the SSL announcement thread. I had one of the certificates with only the intermediate bundle and no root CA, so it's actually unrelated. I verified this in the logs.


    I have a ticket open with GlobeSSL now to get the root certificate. My certificates are almost due for renewal anyway if it doesn't pan out. I think I can work the rest out, and I'll be sure to donate when I'm able :)


    One thing I would note is it wasn't clear what went wrong during the "upgrade" to stable branch from 1.1.5. Everything looked like it worked fine and then apache wasn't running. The errors read like a file encoding problem, so people upgrading would know it was openssl and a specific pem file, but not why. You may consider a way to disable them during the install or detect them and link to the SSL announcement thread? I suspect it would effect a lot of certificates. You're a busy guy and you'd know better than me, just thought I'd mention it. In case you were wondering the log entries:
    [Mon May 19 15:36:02 2014] [error] Init: Unable to read server certificate from file /var/www/imscp/gui/data/certs/domain.com.pem
    [Mon May 19 15:36:02 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
    [Mon May 19 15:36:02 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

    Hey guys, sorry I have been busy and hadn't responded. I was also unsure which logs you needed and planned to set up a VM for you to access which demonstrated the bug and supplied logs.


    I have not found any other log with related information. If you need access to a VM with this issue just let me know and I'll get that set up (you could send a public key). I suspect the error *could* relate to the file extension, as in my .bz2 the file inside ends in .sql, and neither is reflected by the error message.


    Apologies for not having all the information you need. Usually I know where to look. I am sure you are busy people and your time and effort is appreciated.

    Hi Nuxwin,


    This definitely is not the case. The database file is there and can be read (extracted and edited etc).


    I set up a fresh 1.1.5 install on ubuntu 12.04 LTS, created a domain and a database, ran "perl ./imscp-backup-all" then ran the restore from the admin interface and got the same error. This was from a another hosting provider in another country. I am wondering if these backups are broken for everyone?


    Not really sure what to put in a bug report, fresh install backups wont restore. Can someone try their restore on a 1.1.5 install?


    Thanks for your time!

    Hi all,


    When I run a restore on one of my domains I get this error "Modules::Domain::restore: bzcat: Can't open input file testing_db_live: No such file or directory." in my domains table in domain_status, I have two other servers where it works fine.


    Any tips on how I can quickly get to the bottom of it would be appreciated.


    Running 1.1.5 build 20140327 on Ubuntu 12.04 LTS x64, the file testing_db_live.sql.bz2 exists and was able to be extracted manually with bunzip2 command. It did not look corrupted.

    Hey I finally got around to looking at the automated restore, only to find it was extremely simple and easily added to your tool.


    In gui/public/client/backup.php I found the following function, and send_request() appears to be essentially the same as /var/www/imscp/engine/imscp-rqst-mngr in that it calls the daemon to make the changes. If/how you implement the one line of SQL is up to you, but personally I think specifying it via domain name would be better 99% of the time, and it's only one more line. You could have both, with the domain code calling the ID code.


    I've only skimmed your code thus-far, but if you really want I could send something more for you. This is really all you need though right?


    Edit: Just wanted to note again for nux etc, if this was how imscp called the commands, via a central library. This action in backup.php could read do_action('restore_domain', $userId); and we could call it via do_action.php restore_domain X. Exactly like you've been building but without code reuse and maintained with imscp, so no future mismatches. It could be moved there gradually too. I'll happily help with this, though I don't know where anything is. If I made a big effort and created the library and updated these other files to reference it, would it even be included?