BiologicalRecordsCentre / NPMS

NPMS
0 stars 0 forks source link

Unexpected SQL error trying to navigate the NPMS site today #294

Closed NPMSSupport closed 1 year ago

NPMSSupport commented 1 year ago

Hi All, this is happening when trying to view my visits, my squares and all other functions through the site. This is already generating questions from volunteers. I will email a copy of the error. Thanks

sacrevert commented 1 year ago

@andrewvanbreda if you could look into this as a matter of urgency, that would be appreciated. Thanks

andrewvanbreda commented 1 year ago

@BirenRathod Biren is this the Warehouse? Can anything be done?

sacrevert commented 1 year ago

@andrewvanbreda sorry, seems that Biren is already looking into it.

BirenRathod commented 1 year ago

@andrewvanbreda @johnvanbreda is moving images not sure this impacted this work.

johnvanbreda commented 1 year ago

@BirenRathod I don't think that's the cause. Not sure what's happened yet.

andrewvanbreda commented 1 year ago

@BirenRathod @johnvanbreda I get this here

https://www.npms.org.uk/my-squares-and-plots

Screen Shot 2023-06-20 at 13 50 05

andrewvanbreda commented 1 year ago

@NPMSSupport @sacrevert I have put the site into maintenance mode as it is giving consistant errors, better than complaints.

BirenRathod commented 1 year ago

Hi Andy

I got this error from link mentioned in your email below.

The data did not load successfully. The reason given was: There was an SQL error: ERROR: index "fki_samples_updated_by_id" contains unexpected zero page at block 0 HINT: Please REINDEX it. –

Can you tell me which table is this? So I can reindex and it should work.

Biren

From: andrewvanbreda @.> Sent: 20 June 2023 13:58 To: BiologicalRecordsCentre/NPMS @.> Cc: Biren Rathod @.>; Mention @.> Subject: Re: [BiologicalRecordsCentre/NPMS] Unexpected SQL error trying to navigate the NPMS site today (Issue #294)

CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.

@BirenRathodhttps://github.com/BirenRathod @johnvanbredahttps://github.com/johnvanbreda I get this here

https://www.npms.org.uk/my-squares-and-plots

[Screen Shot 2023-06-20 at 13 50 05]https://user-images.githubusercontent.com/2463614/247121321-db6f077b-22c0-45ae-a92c-f663874a5cfe.png

— Reply to this email directly, view it on GitHubhttps://github.com/BiologicalRecordsCentre/NPMS/issues/294#issuecomment-1598721766, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNKQBZ5UUUBX22IWP7DC6LXMGM5RANCNFSM6AAAAAAZNG2FHY. You are receiving this because you were mentioned.Message ID: @.**@.>>

This email and any attachments are intended solely for the named recipients and are confidential. If you are not the intended recipient, please reply to the email to highlight the error and delete this email from your system; you must not use, disclose, copy, or distribute this email or any of its attachments. UK Centre for Ecology & Hydrology (UKCEH) has taken reasonable precautions to minimise risk of this email or any attachments containing viruses or malware, but the recipient should carry out its own virus and malware checks before opening the attachments. UKCEH does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKCEH business are solely those of the author and do not represent the views of UKCEH. We process your personal data in accordance with our Privacy Notice, available on the UKCEH website. https://www.ceh.ac.uk/privacy-notice Registered office address; Maclean Building Benson Lane, Crowmarsh Gifford, Wallingford, Oxfordshire, United Kingdom, OX10 8BB Companies Registered Name; UK Centre for Ecology & Hydrology Place of Registration; England Registered Company Number; 11314957

johnvanbreda commented 1 year ago

Hi @BirenRathod

That’s on the samples table .

John

andrewvanbreda commented 1 year ago

@BirenRathod I looked in PGAdmin, and that is listed as an index under the Indicia samples table.

andrewvanbreda commented 1 year ago

@sacrevert @NPMSSupport These problems are resolved now (well Biren, Jim, John resolved them, not me) and the sites are back live.

I think the Warehouse will be doing extra processing over next few days, so there may be performance problems related to that, not sure.

andrewvanbreda commented 1 year ago

Close when happy