The solution is supposed to be $(-\infty,0)$ and $[1,\log_2 7]$.
What I get when solving the problem is $(-\infty, \log_2 7]$.
Where did I get it wrong? I start by dividing both sides by 14, then get $2$ and $7$ on opposite sides, where I take raise both sides to $\frac1{x-1}$ (Am I allowed to do that?). This leads me to an expression that when logarithmed gives me the mentioned solution. Where did I go wrong?
If $x<1$ the function $f(t)=t^{1/(x-1)}$ is decreasing for $t>0$. This means that if you raise both sides of inequality to $\frac1{x-1}$, its direction is reversed.
If I have understood you correctly, you have arrived at $$2^{x-1}\le 7^{(x-1)/x}$$
Now, you should take logarithms in base $2$ (which is an increasing function) to get $$x-1\le\frac{x-1}x\log_27$$
or $$\frac{-x^2+x(1+\log_27)-\log_27}{x}\ge 0$$