I wrote my master thesis with the document class scrbook from the KOMA script package and defined my own \chapterpagestyle with the package scrpage2:
\deftripstyle{ChapterPage}{}{}{}{}{}{\footnotesize\pagemark}
\renewcommand*{\chapterpagestyle}{ChapterPage}
This works pretty well for the whole document, except for the chapterpages for the TOC, LOF and LOT. This looks ugly, because the pages before and after do have numbers.
All I want to do is, moving the page number from bottom-center to bottom-right for the chapterpages.
So I used in addition a solution from here: How to set page number at right footer:
\usepackage{fancyhdr} % to change header and footers
\pagestyle{fancy} % Turn on the style
\fancyhf{} % Start with clearing everything in the header and footer
% Set the right side of the footer to be the page number
\fancyfoot[R]{\thepage}
% Redefine plain style, which is used for titlepage and chapter beginnings
% From https://tex.stackexchange.com/a/30230/828
\fancypagestyle{plain}{%
\renewcommand{\headrulewidth}{0pt}%
\fancyhf{}%
\fancyfoot[R]{\thepage}%
}
Then, when my first chapter starts (after ..., acknowledgment, abstract, TOC, LOF, LOT, ..., chapter 1) I'm activating the scriptstyle
\pagestyle{scrheadings}
The document compiles this way but there are some errors, because scrpage2 and fancyhdr are both defining a command named \chead.
How can I make the \chapterpagestyle also working with TOC, LOF and LOT with using scrpage2?
As far as I understand, the code above (using fancyhdr) just redefines the default plain pagestyle.
If this is possible with scrpage2, that would do the job for me totally.
Edit:
Changed scrpage2 to scrlayer-scrpage.
Redefining the page style plain like \deftripstyle{plain}{}{}{}{}{}{\footnotesize\pagemark}, as an analogous attempt to the code above, does not work.

fancyhdrwhen you use a komascript class. the packagescrlayer-scrpagehas all the functions you need to define the most advance headers and footers. – Sveinung Jan 03 '17 at 22:57fancyhdr:-). It was just some kind of a bad workaround. Initiallyfancyhdrwasn't there. – user122289 Jan 03 '17 at 23:04