Guten Tag
christin...@gmail.com,
am Mittwoch, 6. Dezember 2017 um 15:26 schrieben Sie:
> No, I can't get past the foreign keys error when running
>
checksetup.pl.
I don't understand that answer, is it related to the sanity check in
your old Bugzilla or to using version 5.0.3?
If it's for sanity check, trying to upgrade without fixing the error
before doesn't make much sense, so focus on finding and fixing the
errors in your database in the old version.
If it's related to 5.0.3, you don't need to upgrade step-by-step, but
can simply try to upgrade to 5.0.3 from your 4.2 directly. It may or
may not change things.
> Even after editing the install/DB.pm file not to
> check (suggested in a post).
In my opinion, this is no good advice at all, because that would keep
your broken data and you would run into the same problems during each
and every upgrade. You need to fix the root cause.
> Does v5.0.3 address failing foreign keys checks please?
I don't no, I guess that heavily depends on the problems with your
data. My assumption is that either 5.0.3 can repair your data or not,
in which case you need to have a more detailed look at your data and
fix it manually. In that case, start at looking the tables attach_data
and attachment with the columns mentioned in your original error
message. There is surely something wrong with IDs, it's not normal
that Bugzilla deletes rows in its own. That should make you question
things already: Why are those rows there? What is missing? What do
those rows contain etc.? Deleting attachments is disabled by default
for example.
> allow_attachment_deletion