| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<style> |
| 5 |
body { |
| 6 |
width: 100vw; |
| 7 |
height: 100vh; |
| 8 |
font-family: system-ui; |
| 9 |
background-color: #f1f1f1; |
| 10 |
color: #212529; |
| 11 |
display: flex; |
| 12 |
flex-direction: column; |
| 13 |
justify-content: center; |
| 14 |
align-items: center; |
| 15 |
} |
| 16 |
|
| 17 |
.header { |
| 18 |
display: flex; |
| 19 |
justify-content: space-between; |
| 20 |
align-items: center; |
| 21 |
gap: 10px; |
| 22 |
} |
| 23 |
|
| 24 |
.header a { |
| 25 |
color: white; |
| 26 |
background-color: #714b67; |
| 27 |
max-width: 100px; |
| 28 |
padding: 8px 16px; |
| 29 |
border-radius: 4px; |
| 30 |
text-decoration: none; |
| 31 |
font-weight: 500; |
| 32 |
} |
| 33 |
|
| 34 |
.header a:hover { |
| 35 |
background-color: #52374B; |
| 36 |
color: white; |
| 37 |
} |
| 38 |
|
| 39 |
h1 { |
| 40 |
margin-right: auto; |
| 41 |
} |
| 42 |
|
| 43 |
h2 { |
| 44 |
color: #6c757d; |
| 45 |
font-weight: normal; |
| 46 |
margin-top: 0; |
| 47 |
} |
| 48 |
|
| 49 |
a { |
| 50 |
font-weight: bold; |
| 51 |
color: #714b67; |
| 52 |
} |
| 53 |
|
| 54 |
a:hover { |
| 55 |
color: blue; |
| 56 |
} |
| 57 |
|
| 58 |
.container { |
| 59 |
max-width: 600px; |
| 60 |
padding: 10px 20px; |
| 61 |
background: #ffffff; |
| 62 |
border-radius: 8px; |
| 63 |
} |
| 64 |
|
| 65 |
.footer { |
| 66 |
display: flex; |
| 67 |
gap: 1rem; |
| 68 |
margin-top: 12px; |
| 69 |
} |
| 70 |
</style> |
| 71 |
<title>IoT Box is down</title> |
| 72 |
</head> |
| 73 |
<body> |
| 74 |
<div class="container"> |
| 75 |
<div class="header"> |
| 76 |
<h1>IoT Box is down</h1> |
| 77 |
<a href="/odoo-logs/odoo/odoo-server.log">Download Odoo logs</a> |
| 78 |
<a href="/odoo-logs/nginx/access.log">Download Nginx logs</a> |
| 79 |
</div> |
| 80 |
<h2>(502 Bad Gateway)</h2> |
| 81 |
<p>The IoT Box received the request but was not able to handle it. You can try to refresh the page to see if the request can now be handled.</p> |
| 82 |
<p>If the error persists for more than 5 minutes:</p> |
| 83 |
<ol> |
| 84 |
<li>Force restart the IoT Box by unplugging the IoT power supply then plugging it in again</li> |
| 85 |
<li>Re-flash the SD card of the IoT Box, see: |
| 86 |
<a href="https://www.odoo.com/documentation/latest/applications/general/iot/iot_advanced/updating_iot.html#iot-updating-iot-image-code" target="_blank">documentation</a> |
| 87 |
</li> |
| 88 |
</ol> |
| 89 |
</div> |
| 90 |
<div class="footer"> |
| 91 |
<a target="_blank" href="https://www.odoo.com/help">Help</a> |
| 92 |
<a target="_blank" href="https://www.odoo.com/documentation/latest/applications/productivity/iot.html">Documentation</a> |
| 93 |
</div> |
| 94 |
</body> |
| 95 |
</html> |