How to fix invisible page breaks?

I have a long document (thesis) in .odf format, and the page numbers reset themselves to 1 after page 170 or so (the page where the page break occured sometimes changes, but even when I temporarily resolved it -see below- a random page break or two always came back).
I use Ubuntu 14.04 LTS.

To resolve this, I have

  • deleted and re-inserted page numbers several times (issue remained)
  • searched for visible page breaks between pages (there are none)
  • checked in the “format”/“paragraph”/“text flow” tab whether the first paragraph on the reset page had the “Insert Break” box checked (it didn’t)
  • looked for the same in the paragraphs before and after the invisible page break, but couldn’t find anything.
  • uninstalled and re-installed LibreOffice Version: 4.2.7.2 (that fixed it at first, but then the same thing happened)

I would be massively grateful if you could help please, as I’m not sure what else to try.

Many thanks.

Page Breaks can be invisible:

  • When you use View > Web Layout
  • The display of Page Breaks are turned off.

Page Breaks visibility setting Tools > Options > Formatting Aids

The only way I know that a page number can be re-set to start again at 1 is a page break done like

Insert > Manual Break > Page > select a page style and set the page number to be 1.

Additional advice: A document with that many pages I would always handle as a Master Document. This enables working with files but having all settings etc in the master document. I recommend to have a look at the free guides which you can download from http://www.libreoffice.org/get-help/documentation/

It is also possible to reset page numbering via Format > Paragraph… > Text Flow tab > Breaks section and the equivalent for any paragraph style (especially if single-use custom paragraph styles are used).

@oweng - Thanks for adding the other possibility.