• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Snapin queued bash

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    272
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bylkem
      last edited by

      Hi all, I need to upgrade Debian 10 to 11 using snap in with a bash script.
      The task does not start and remains in queue.
      I have already tested the bash script using snap in and it never works.

      Here is my script, if there are any corrections to do, I’m interested

      #!/bin/bash
      
      echo Mise à jour du système
      
      apt update && apt upgrade -y
      
      echo Vérification de la présence du paquet gcc-8-base
      
      apt install  gcc-8-base
      
      echo Remplacement des dépôts Debian 10 vers 11
      
      sed -i 's/buster/bullseye/g' /etc/apt/sources.list
      
      echo Vérification de la configuration de sources.list
      
      apt update -y
      
      echo Lancement la mise à niveau vers Debian 11
      
      apt full-upgrade -y
      
      
      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @bylkem said in Snapin queued bash:

        The task does not start and remains in queue.

        Have you checked fog-client service is actually running on the machine and communication to the server is alright? Please post the fog.log here if you are in doubt.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        179

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project