[otrs] AUTOREPLY otrs Digest, Vol 122, Issue 1

2018-11-08 Thread baer
ate-to-6.pl Line: 87




 Not possible to complete migration, check previous messages for more
information.



-- 

*Alvaro Cordero RetanaConsultor de Tecnologias*
*Tel: 22585757 ext 123*
*Email:* alv...@gridshield.net
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.otrs.org/pipermail/otrs/attachments/20181102/c00c72cd/attachment-0001.html>

--

Message: 3
Date: Thu, 8 Nov 2018 17:35:30 -0800
From: Mike Morris 
To: otrs@lists.otrs.org
Subject: [otrs] Can I use upgraded DB on new code install?
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

I have an old (3.x) installation that I want to migrate to current 6.x.

Can I run the DB upgrade scripts from all intermediate versions against 
my database, and then expect that upgraded database to work on a brand 
new installation? (Assuming I handle migration of the config files to 
the new install, of course.)

I don't see why this wouldn't work, but thought I should at least ask 
the experts...

Thanks in advance,

Mike Morris



--

Message: 4
Date: Thu, 8 Nov 2018 23:26:31 -0500
From: Gerald Young 
To: "User questions and discussions about OTRS." 
Subject: Re: [otrs] Can I use upgraded DB on new code install?
Message-ID:

Content-Type: text/plain; charset="utf-8"

In theory, yes, for vanilla code. but it's a bit more complicated than
simply run the database scripts.
http://doc.otrs.com/doc/manual/admin/4.0/en/html/upgrading.html
http://doc.otrs.com/doc/manual/admin/5.0/en/html/upgrading.html
http://doc.otrs.com/doc/manual/admin/stable/en/html/updating.html

Note that any customizations in code and plugins will very likely not work
if they're referenced, and not upgraded as well or available. For instance
in Kernel/Config.pm or Kernel/Config/Files/.

And always use the latest patch level for each revision to upgrade
(3.1.latest -> 3.3.latest)

Make sure you have SQL backups for each step, and it'd be preferred to do a
dry run against another install out of production. Yes, then you can
restore that backup to new production version.

Also, what I've found in mysql backup is that I've had better luck with
backups when using mysqldump --hex-blob. This makes a larger dump file, but
it also made my restore less likely to fail.
https://stackoverflow.com/questions/16559086/does-mysqldump-handle-binary-data-reliably

Also, make sure your max_allowed_packet is fairly large in [mysqld] so your
import won't die.


On Thu, Nov 8, 2018 at 8:36 PM Mike Morris  wrote:

> Hi,
>
> I have an old (3.x) installation that I want to migrate to current 6.x.
>
> Can I run the DB upgrade scripts from all intermediate versions against
> my database, and then expect that upgraded database to work on a brand
> new installation? (Assuming I handle migration of the config files to
> the new install, of course.)
>
> I don't see why this wouldn't work, but thought I should at least ask
> the experts...
>
> Thanks in advance,
>
> Mike Morris
>
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.otrs.org/pipermail/otrs/attachments/20181108/d86c1f05/attachment.html>

--

Subject: Digest Footer

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs


--

End of otrs Digest, Vol 122, Issue 1



-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs


Re: [otrs] Can I use upgraded DB on new code install?

2018-11-08 Thread Gerald Young
In theory, yes, for vanilla code. but it's a bit more complicated than
simply run the database scripts.
http://doc.otrs.com/doc/manual/admin/4.0/en/html/upgrading.html
http://doc.otrs.com/doc/manual/admin/5.0/en/html/upgrading.html
http://doc.otrs.com/doc/manual/admin/stable/en/html/updating.html

Note that any customizations in code and plugins will very likely not work
if they're referenced, and not upgraded as well or available. For instance
in Kernel/Config.pm or Kernel/Config/Files/.

And always use the latest patch level for each revision to upgrade
(3.1.latest -> 3.3.latest)

Make sure you have SQL backups for each step, and it'd be preferred to do a
dry run against another install out of production. Yes, then you can
restore that backup to new production version.

Also, what I've found in mysql backup is that I've had better luck with
backups when using mysqldump --hex-blob. This makes a larger dump file, but
it also made my restore less likely to fail.
https://stackoverflow.com/questions/16559086/does-mysqldump-handle-binary-data-reliably

Also, make sure your max_allowed_packet is fairly large in [mysqld] so your
import won't die.


On Thu, Nov 8, 2018 at 8:36 PM Mike Morris  wrote:

> Hi,
>
> I have an old (3.x) installation that I want to migrate to current 6.x.
>
> Can I run the DB upgrade scripts from all intermediate versions against
> my database, and then expect that upgraded database to work on a brand
> new installation? (Assuming I handle migration of the config files to
> the new install, of course.)
>
> I don't see why this wouldn't work, but thought I should at least ask
> the experts...
>
> Thanks in advance,
>
> Mike Morris
>
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs
>
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs


[otrs] Can I use upgraded DB on new code install?

2018-11-08 Thread Mike Morris

Hi,

I have an old (3.x) installation that I want to migrate to current 6.x.

Can I run the DB upgrade scripts from all intermediate versions against 
my database, and then expect that upgraded database to work on a brand 
new installation? (Assuming I handle migration of the config files to 
the new install, of course.)


I don't see why this wouldn't work, but thought I should at least ask 
the experts...


Thanks in advance,

Mike Morris

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs