For a Lie group G$G$, we can define a principal G$G$ bundle byas a submersion of manifolds $\pi:P \to X$ equipped with a free right G$G$-action on P$P$ that is transitive on the fibres over X$X$.
What goes wrong with an analogous definition for 2-groups? For now, we can think of 2-groups as weak monoidal groupoid with monoidal inverses. The autoequivalences of a category Aut(C) forms$\operatorname{Aut}(C)$ form a 2-group. One can define a right action of a 2-group on a category C$C$ as a monoidal functor from the 2-group to Aut(C)$\operatorname{Aut}(C)$. I will also consider only essentially finite two groups.
Now given a 2-group G$G$, let $\pi:\mathfrak{P} \to \mathfrak{X}$ be a representable submersion of stacks over the category of manifolds (called Man$\mathrm{Man}$) equipped with the etaleétale site. Suppose we define a "principal G$G$ bundle" by an action of G on the category $\mathfrak{P}$ (on the right) such that the functor $$\mathfrak{P} \times G \to \mathfrak{P} \times_{\mathfrak{X}} \mathfrak{P}$$\begin{gather*} \mathfrak{P} \times G \to \mathfrak{P} \times_{\mathfrak{X}} \mathfrak{P} \\ (p,\gamma) \mapsto (p\cdot\gamma,p) \end{gather*} $$(p,\gamma) \mapsto (p\cdot\gamma,p)$$ isis an equivalence of categories over Man$\mathrm{Man}$. Note that the action is over Man$\mathrm{Man}$, i.e. $p$ and $p\cdot \gamma$ are over the same object.
I could not find such a definition in the literature. Does something go wrong? If such a definition is available, please share a reference.