Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial startup fails #7011

Open
stevejenkins opened this issue Apr 9, 2024 · 1 comment
Open

Initial startup fails #7011

stevejenkins opened this issue Apr 9, 2024 · 1 comment
Labels
Buster Outside of DietPi scripts eg: user installed/configured software Question ❔

Comments

@stevejenkins
Copy link
Contributor

Creating a bug report/issue

  • [X ] I have searched the existing open and closed issues

Required Information

  • DietPi version:
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=28
G_DIETPI_VERSION_RC=0
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
  • Distro version: buster

  • Kernel version: Linux DietPi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

  • SBC model RPI3

  • Power supply used: 5V 1A Wall Adapter

  • SD card used: Sandisk 128GB Ultra

Steps to reproduce

  1. dietpi-update auto starts on first login. After it fails, running dietpi-update also causes the same issue

Expected behaviour

That setup completes without error.

Actual behaviour

root@DietPi:/boot# dietpi-update

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
[ INFO ] DietPi-Update | Invalid server version string: 404: Not Found.NULL.NULL
[ INFO ] DietPi-Update | Checking mirror: https://dietpi.com/downloads/dietpi-update_mirror/master/server_version-6
[ INFO ] DietPi-Update | Invalid server version string: <!doctype html><html lang="en"><meta charset="utf-8"><script src="/cdn-cgi/apps/head/vDLCk-ifRyAwdVwTdBKbeAF5E8I.js"></script><link rel="canonical" href="https://dietpi.com/404.html"><title>DietPi 404 Not Found</title>.<meta name="description" content="DietPi 404 Not Found redirect page"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@DietPi_"><meta name="twitter:creator" content="@DietPi_"><meta name="twitter:title" content="DietPi 404 Not Found"><meta name="twitter:description" content="DietPi 404 Not Found redirect page"><meta name="twitter:image" content="https://dietpi.com/images/dietpi-logo_720x720.png"><meta property="og:locale" content="en_GB"><meta property="og:site_name" content="DietPi"><meta property="og:type" content="website"><meta property="og:url" content="https://dietpi.com/404.html"><meta property="og:title" content="DietPi 404 Not Found"><meta property="og:description" content="DietPi 404 Not Found redirect page"><meta property="og:image" content="https://dietpi.com/images/dietpi-logo_720x720.png"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/images/dietpi-logo_32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/images/dietpi-logo_16x16.png"><link rel="manifest" href="/site.webmanifest"><link rel="mask-icon" href="/images/dietpi-logo_mask_720x720.svg" color="#c5ff00"><meta name="msapplication-TileColor" content="#da532c"><meta name="theme-color" content="#000000"><style>body{color:#fff;background-color:#181a1c;font-family:Arial,sans-serif;text-align:center}h1,h2{margin-top:50px;margin-bottom:50px}img,svg{width:150px;height:150px;fill:#fff;background-color:#000;border-radius:50%;border:3px solid #fff}img:hover,svg:hover{border-color:#c5ff00}a{color:#fff;text-decoration:none;display:inline-block;padding:10px}a:hover{color:#c5ff00}</style><h1>404 Not Found</h1><h2>The requested URL is not available. You might find what you are looking for at one of the following sites:</h2><a href="https://dietpi.com/"><img src="/images/dietpi-logo_180x180.png" alt="DietPi logo" loading="lazy" aria-hidden="true"><h3>DietPi Website</h3></a><a href="https://dietpi.com/docs/"><svg viewBox="-100 -100 595 595" aria-hidden="true"><path d="M347.392 131.619h-65.093V66.501c0-.514-.433-.944-.938-.944-36.938.0-66.967 30.045-66.967 66.96.0 5.941 1.036 11.599 2.518 17.087l38.268-29.761c2.909-2.295 7.562-1.742 9.879 1.213 2.427 3.109 1.873 7.562-1.229 9.948l-41.619 32.417c11.176 21.379 33.406 36.079 59.152 36.079 36.953.0 66.968-30.006 66.968-66.967-.001-.491-.399-.914-.939-.914zm1.254-52.146c-.571-.663-1.396-1.054-2.271-1.075a3.02 3.02.0 00-2.321.965l-37.784 39.856a3.1 3.1.0 00-.598 3.354c.488 1.137 1.607 1.874 2.845 1.874h55.092c1.731.0 3.117-1.387 3.117-3.097.0-.237-.026-.467-.076-.688-1.706-15.254-7.926-29.49-18.004-41.189zm-32.927 38.78 30.415-32.083c7.336 9.395 12.105 20.369 13.944 32.083h-44.359zm-22.018-4.592a3.1 3.1.0 001.146.22c.834.0 1.652-.337 2.249-.967l36.263-38.267a3.1 3.1.0 00-.385-4.603c-11.098-8.362-24.169-13.546-37.8-14.991a3.09 3.09.0 00-2.397.777 3.1 3.1.0 00-1.025 2.302v52.652a3.09 3.09.0 001.949 2.877zm4.243-51.999c10.146 1.596 19.875 5.458 28.476 11.304l-28.476 30.049V61.662zm-190.895 6.881c-17.632.0-31.925 14.301-31.926 31.933s14.294 31.926 31.926 31.926c17.64.0 31.933-14.293 31.933-31.926s-14.293-31.933-31.933-31.933zm370.025 332.546-22.461-20.663c-3.73 10.44-11.147 26.006-25.809 42.464-12.496 14.047-28.219 26.376-46.719 36.815l23.507 21.615c21.77 20.081 55.499 18.331 75.212-3.764 19.698-22.137 18.008-56.451-3.73-76.467zm-57.68 14.981c12.082-13.542 20.618-28.587 25.361-44.646l-19.393-17.871c-19.712-18.146-40.221-9.855-60.487 7.523.0.0-.406.307-1.062.88-8.535-6.451-18.267-9.343-28.578-11.514-8.929-1.881-21.035-3.716-26.809-11.656-4.557-6.266.046-15.016 3.032-20.9 1.1-2.167 2.259-4.306 3.418-6.443l67.192.021c17.205.0 27.205-12.48 27.205-27.896V27.872C409.335 12.481 397.161.0 382.099.0H28.052C12.977.0.778 12.481.778 27.872V283.54c0 15.429 12.198 27.88 27.274 27.88h135.847s5.88 55.791-41.206 55.791v27.911h164.716v-27.911c-48.866.0-41.213-55.791-41.213-55.791l58.298.019c-5.175 9.625-9.353 19.509-4.946 29.935 4.022 9.518 16.577 13.737 25.673 16.063 11.523 2.944 22.607 4.373 32.518 11.198-1.783 2.311-3.086 4.234-3.086 4.234-14.246 22.046-23.182 40.255-3.93 57.972l22.414 20.665c11.208-5.775 30.06-17.228 46.257-35.436zM70.188 245.251h-8.49v-72.05h8.521l-.031 72.05zm136.691 48.882c-9.135.0-16.55-7.554-16.55-16.826s7.416-16.795 16.55-16.795c9.15.0 16.558 7.522 16.558 16.795.0 9.257-7.409 16.826-16.558 16.826zm-61.281-48.882-.015-72.38h8.191v22.775c0 17.184 13.629 14.684 18.238 11.37 3.867-2.781 21.724-14.839 21.724-14.839l11.445-7.753 8.237-5.657c9.016-6.624 1.873-15.928 1.873-15.928l45.667-35.541c1.027-.807 1.213-2.28.414-3.301-.8-1.005-2.271-1.212-3.302-.415l-45.812 35.641-.016-.015c-2.111-1.589-3.417-2.248-5.935-2.348-3.493-.153-7.156 1.064-10.876 3.637l-1.712 1.259-14.823 10.232v-4.367c-.62-33.791-40.623-32.731-40.623-32.731h-16.396l-13.817 23.09-13.871-23.075h-15.75c-39.963.0-40.262 28.817-40.262 39.648h-.016v70.683h-8.19V29.687h350.198v215.564H145.598zm264.026 164.736c-1.615 1.834-3.905 2.753-6.177 2.674-1.749-.062-3.477-.706-4.91-1.954l-32.58-28.666c-3.249-2.88-3.568-7.836-.688-11.115 2.849-3.249 7.805-3.552 11.085-.688l32.583 28.648a7.87 7.87.0 01.687 11.101z" /></svg><h3>DietPi Docs</h3></a><a href="https://dietpi.com/forum/"><svg viewBox="0 0 28 28" aria-hidden="true"><path d="M17.75 18a1.75 1.75.0 011.75 1.75v2.002l-.008.108c-.311 2.126-2.221 3.149-5.425 3.149-3.193.0-5.133-1.011-5.552-3.112L8.5 21.75v-2A1.75 1.75.0 0110.25 18h7.5zm.494-6h6.006A1.75 1.75.0 0126 13.75v2.002l-.008.108c-.311 2.126-2.221 3.149-5.425 3.149l-.168-.002c-.309-1.103-1.288-1.926-2.47-2.002L17.75 17l-.922.001A4.49 4.49.0 0018.5 13.5c0-.526-.09-1.031-.256-1.5zM3.75 12h6.006c-.166.469-.256.974-.256 1.5a4.49 4.49.0 001.496 3.351l.176.15L10.25 17a2.75 2.75.0 00-2.649 2.009h-.034c-3.193.0-5.133-1.011-5.552-3.112L2 15.75v-2A1.75 1.75.0 013.75 12zM14 10a3.5 3.5.0 110 7 3.5 3.5.0 110-7zm6.5-6a3.5 3.5.0 110 7 3.5 3.5.0 110-7zm-13 0a3.5 3.5.0 110 7 3.5 3.5.0 110-7z" /></svg><h3>DietPi Forum</h3></a><a href="https://dietpi.com/blog/"><svg viewBox="-200 -200 1400 1400" aria-hidden="true"><path d="M983.9 420.4c6.1-12.2 6.1-30.6.0-42.9L941 334.6c-6.1-6.1-12.2-6.1-24.5-6.1-6.1.0-18.4.0-24.5 6.1L561.3 659.2v24.5V745h98l324.6-324.6zM193.8 193.7h612.5V255H193.8v-61.3h0zm0 183.8h569.6l42.9-42.9v-18.4H193.8v61.3zm0 306.2H5e2V745H193.8v-61.3h0zm0-183.7h447.1l61.2-61.3H193.8V5e2zm734.9 61.2v245c0 67.4-55.1 122.5-122.5 122.5H193.8c-67.4.0-122.5-55.1-122.5-122.5V193.7c0-67.4 55.1-122.5 122.5-122.5h612.5c67.4.0 122.5 55.1 122.5 122.5v73.5c18.4.0 36.8 12.2 55.1 24.5l6.1 6.1v-104C990 89.6 910.4 10 806.3 10H193.8C89.6 10 10 89.6 10 193.8v612.5C10 910.4 89.6 990 193.8 990h612.5C910.4 990 990 910.4 990 806.3V5e2l-61.3 61.2zm-734.9 61.3h324.6l6.1-6.1 55.1-55.1H193.8v61.2z" /></svg><h3>DietPi Blog</h3></a><a href="/MichaIng/DietPi"><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M5.47 16v-.41c.4.07.55-.17.55-.38.0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95.0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12.0.0.67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15.0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48.0 1.07-.01 1.93-.01 2.2.0.21.15.46.55.38V16z" /></svg><h3>GitHub repo</h3></a>.NULL
[FAILED] DietPi-Update | Unable to access any update server. Please check your network connection, then rerun dietpi-update.
If this error persists, please report at: https://github.com/MichaIng/DietPi/issues

Extra details

  • ...
@MichaIng
Copy link
Owner

MichaIng commented Apr 9, 2024

G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=28
G_DIETPI_VERSION_RC=0

Where the hack did you get a 5 years old DietPi v6.x image from? We ship DietPi v9.x 😄.

I strongly recommend to use a currently image from our download page: https://dietpi.com/#download

We removed some ancient updater files from the repository a while ago, but if for whatever reason you really want to start with a DietPi v6.x image, change the branch in dietpi.txt to:

DEV_GITBRANCH=8

It will then update to latest DietPi v8.x. Since it is based on the as well already EOL Debian Buster, you would also need to upgrade to Debian Bullseye (and optionally Bookworm) to further update to latest DietPi v9.x: https://dietpi.com/blog/?p=811

@Joulinar Joulinar added Outside of DietPi scripts eg: user installed/configured software Buster labels Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Buster Outside of DietPi scripts eg: user installed/configured software Question ❔
Projects
None yet
Development

No branches or pull requests

3 participants