An octahedron (not necessarily regular) consists of 8 triangles. You can see it as two pyramids glued together (for now on I only consider this case). Call the triangles in the upper pyramid $T_1, T_2, T_3, T_4 $ (clockwise) and in the lower pyramid $T_5, …, T_8$ (clockwise). The seams are $(T_i, T_{i+1}) (i=1,2,3,5,6,7), (T_4, T_1), (T_8, T_5)$ and $(T_i, T_{i+4}) (i=1,2,3,4)$.
Assume you now all information about the triangles. Call the angles and length for triangle $T_i$ (starting from the top (for $i = 1,...,4$), resp. bottom (for $i = 5,6,7,8$) and go clockwise): $(a_i, b_i, c_i)$ for lengths and $(\alpha_i, \beta_i, \gamma_i)$ for the angles.
You know that they form an octahedron, the question is know: How can I find all dihedral angles? I guess you can find equations to which these dihedral angles need to fullfill and that by solving these system of equations I can find the dihedral angles.
Does someone have ideas for getting these equations?
This boils down to finding dihedral angles in a pyramid with quadrilateral base, given all its edges. Let's take then a pyramid with base $ABCD$ and vertex $V$ and give its edges the names in figure below: $abcd$ its lateral edges and $pqrs$ its base edges. Let's also name the diagonals of the base: $x=AC$ and $y=BD$, while $h=VH$ is the height of the pyramid (not shown in the figure).
To compute dihedral angles we need to compute $x$, $y$ and $h$. To this end, let's recall that the volume of a tetrahedron and the area of a triangle can be computed from their edges via the Cayley-Menger determinant. For intance, the volume of tetrahedron $VABC$ is: $$ 288(\text{volume}_{VABC})^2= \begin{vmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & a^2 & b^2 & c^2 \\ 1 & a^2 & 0 & p^2 & x^2 \\ 1 & b^2 & p^2 & 0 & q^2 \\ 1 & c^2 & x^2 & q^2 & 0 \end{vmatrix} $$ while the area of triangle $ABC$ is given by: $$ 16(\text{area}_{ABC})^2= -\begin{vmatrix} 0&1&1&1\\1&0&x^2&q^2\\1&x^2&0&p^2\\1&q^2&p^2&0 \end{vmatrix} $$ But the height of tetraheron $VABC$ is the same as $h$, which gives: $$ h={3\text{volume}_{VABC}\over\text{area}_{ABC}}. $$ We can then compute in the same way $h$ as the height of tetrahedron $VCDA$: $$ h={3\text{volume}_{VCDA}\over\text{area}_{CDA}}. $$ Equating those expressions for $h$ we can then find an equation for $x$, which can be written as: $$ \begin{vmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & a^2 & b^2 & c^2 \\ 1 & a^2 & 0 & p^2 & x^2 \\ 1 & b^2 & p^2 & 0 & q^2 \\ 1 & c^2 & x^2 & q^2 & 0 \\ \end{vmatrix} \cdot \begin{vmatrix} 0&1&1&1\\1&0&x^2&s^2\\1&x^2&0&r^2\\1&s^2&r^2&0 \end{vmatrix}= \begin{vmatrix} 0 & 1 & 1 & 1 & 1 \\ 1 & 0 & c^2 & d^2 & a^2 \\ 1 & c^2 & 0 & r^2 & x^2 \\ 1 & d^2 & r^2 & 0 & s^2 \\ 1 & a^2 & x^2 & s^2 & 0 \\ \end{vmatrix}\cdot \begin{vmatrix} 0&1&1&1\\1&0&x^2&q^2\\1&x^2&0&p^2\\1&q^2&p^2&0 \end{vmatrix} $$
This is a quartic equation for $x^2$, which can be solved if the edges of the pyramid are given. One only has to be careful to discard spurious solutions, which are not only negative solutions but also those where $x$ fails to satisfy triangle inequality in triangles $ACB$, $ACD$ and $ACV$.
In the same way we can obtain an equation for $y$, considering tetrahedra $VDAB$ and $VBCD$. Once we know diagonals $x$ and $y$ we can plug them into the expression given above to get the height $h$.
Finding dihedral angles is now straightforward. For instance, if $h_p$ is the height of triangle $VAB$ to base $AB$, then the angle $\theta_p$ between $VAB$ and the base is given by: $$ \sin\theta_p={h\over h_p}. $$ Computing the dihedral angle between two lateral faces is slightly more involved (see figure below). To compute, for instance, the angle $\phi_{b}$ between faces $ABV$ and $CBV$ we need the altitudes of those triangles to the common base $VB$: let them be $AH=h_A$ and $CK=h_C$. We also need the length $HK=\delta$, to obtain by the cosine law: $$ \cos\phi_b={h_A^2+h_C^2+\delta^2-x^2\over2h_Ah_C}. $$
EXAMPLE.
Let's take: $$ a = 10,\quad b = 8,\quad c = 7,\quad d = 8,\quad p = 7,\quad q = 8,\quad r = 9,\quad s = 8. $$ The above equations for $x$ and $y$ give only one valid solution: $$ x=\sqrt{245003 + 1645 \sqrt{25465}\over3322}\approx12.3601, \quad y=\sqrt{20999 - 67 \sqrt{25465}\over102}\approx10.0525 $$ and $$ h={5\over192} \sqrt{(932869271 - 4254299 \sqrt{25465})\over5487} \approx5.60273 $$ To compute the angle $\theta_b$ between face $VAB$ and the base, we must compute the altitude of $VAB$ to base $AB$: $$ h_p={2\text{area}_{VAB}\over p}={15 \sqrt{55}\over14} \approx7.94593 $$ and from there: $$ \sin\theta_p={h\over h_p}\approx0.705107 $$ To compute the angle $\phi_b$ between faces $VBA$ and $VBC$ we must compute the altitudes of these triangles to base $VB$: $$ h_A={2\text{area}_{VBA}\over b}={15 \sqrt{55}\over16} \approx6.95269,\quad h_C={2\text{area}_{VBC}\over b}={21 \sqrt{23}\over16} \approx6.29453 $$ and then: $$ VH=\sqrt{a^2-h_A^2}={115\over16},\quad VK=\sqrt{c^2-h_C^2}={49\over16},\quad \delta=HK=VH-VK={33\over8}. $$ Finally: $$ \cos\phi_b={h_A^2+h_C^2+\delta^2-x^2\over2h_Ah_C}= {1327733 - 21056 \sqrt{25465}\over104643 \sqrt{1265}} \approx-0.546059. $$