Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Configuration gone after upgrage SFOS 19.0.0 to 19.0.1

Hello everybody,

yesterday I updated two Firewalls (XGS 126 and XG 125) from Version 19.0.0 to 19.0.1. After the upgrade both Firewalls has SFOS 19.0.1 firmware installed but lost their configuration. The problem was both firewalls are on remote site and lost all external connections (Sophos Central und VPN), so I can't reach the firewalls. Today we connect on site via serial console to the Firewalls, and I saw that Firmware 19.0.1 was installed, but (at minimum) the network configuration was gone. I made some tests:

- Booting the 19.0.0 Firmware the Firewall runs as expected. 

- Booting the 19.0.1 Firmware via Bootloader or via WebAdmin Firewall has no configuration.

On the other hand, I made the upgrade on serval firewalls without any problem (2x XG 125, 1x XGS 5500 HA, a Virtual and a Software Firewall). 

How can I remove the 19.0.1 Firmware from the non-working firewalls to get a 2nd try to upload the firmware again and install the 19.0.1?

Thanks,

Ben



This thread was automatically locked due to age.
Parents Reply Children
  • 2022-09-09 15:24:23.903 GMT starting old version corporate db
    Starting conf database
    378 2022-09-09 15:24:24.169 GMTLOG:  could not connect socket for statistics collector: Network is unreachable
    378 2022-09-09 15:24:24.169 GMTLOG:  disabling statistics collector for lack of working socket
    380 2022-09-09 15:24:24.169 GMTLOG:  database system was shut down at 2022-09-09 15:23:55 GMT
    378 2022-09-09 15:24:24.173 GMTLOG:  database system is ready to accept connections
    2022-09-09 15:24:26.028 GMT
    2022-09-09 15:24:26.049 GMT : Database started after 0 seconds
    DROP SCHEMA
    UPDATE 3
    Stopping database
    378 2022-09-09 15:24:27.479 GMTLOG:  received fast shutdown request
    378 2022-09-09 15:24:27.479 GMTLOG:  aborting any active transactions
    381 2022-09-09 15:24:27.479 GMTLOG:  shutting down
    381 2022-09-09 15:24:27.566 GMTLOG:  database system is shut down
    2022-09-09 15:24:28.491 GMT : Database stopped after 1 seconds
    /sdisk/oldpgconfdump.sql is created
    Starting conf database
    423 2022-09-09 15:24:31.646 GMTLOG:  could not connect socket for statistics collector: Network is unreachable
    423 2022-09-09 15:24:31.646 GMTLOG:  disabling statistics collector for lack of working socket
    425 2022-09-09 15:24:31.647 GMTLOG:  database system was shut down at 2022-08-05 04:13:28 GMT
    423 2022-09-09 15:24:31.652 GMTLOG:  database system is ready to accept connections
    2022-09-09 15:24:33.473 GMT
    2022-09-09 15:24:33.474 GMT : Database started after 0 seconds
    DROP SCHEMA config CASCADE
    DROP SCHEMA
    DROP SCHEMA public CASCADE
    DROP SCHEMA
    DROP PROCEDURAL LANGUAGE plpgsql
    437 2022-09-09 15:24:34.169 GMTERROR:  cannot drop language plpgsql because extension plpgsql requires it
    437 2022-09-09 15:24:34.169 GMTHINT:  You can drop extension plpgsql instead.
    437 2022-09-09 15:24:34.169 GMTSTATEMENT:  DROP PROCEDURAL LANGUAGE plpgsql
    ERROR:  cannot drop language plpgsql because extension plpgsql requires it
    HINT:  You can drop extension plpgsql instead.
    CREATE SCHEMA public
    CREATE SCHEMA
    psql:/sdisk/oldpgconfdump.sql:18921: WARNING:  column "senderemail" has type "unknown"
    DETAIL:  Proceeding with relation creation anyway.
    psql:/sdisk/oldpgconfdump.sql:18921: WARNING:  column "receipientemail" has type "unknown"
    DETAIL:  Proceeding with relation creation anyway.
     setval
    --------
        183
    (1 row)

     setval
    --------
          1
    (1 row)

     setval
    --------
          1
    (1 row)

     setval
    --------
          1
    (1 row)

     setval
    --------
          1
    (1 row)

     setval
    --------
          1
    (1 row)

     setval
    --------
        915
    (1 row)

     setval
    --------
          1
    (1 row)

    426 2022-09-09 15:24:36.601 GMTLOG:  checkpoints are occurring too frequently (5 seconds apart)
    426 2022-09-09 15:24:36.601 GMTHINT:  Consider increasing the configuration parameter "checkpoint_segments".
    Stopping database
    423 2022-09-09 15:24:40.661 GMTLOG:  received fast shutdown request
    423 2022-09-09 15:24:40.661 GMTLOG:  aborting any active transactions
    426 2022-09-09 15:24:41.171 GMTLOG:  shutting down
    426 2022-09-09 15:24:41.360 GMTLOG:  database system is shut down
    2022-09-09 15:24:41.676 GMT : Database stopped after 1 seconds
    old conf to new conf migrated with return value :: 0
    2022-09-09 15:24:41.795 GMT starting migration log
    Starting conf database
    484 2022-09-09 15:24:41.898 GMTLOG:  could not connect socket for statistics collector: Network is unreachable
    484 2022-09-09 15:24:41.898 GMTLOG:  disabling statistics collector for lack of working socket
    486 2022-09-09 15:24:41.899 GMTLOG:  database system was shut down at 2022-09-09 15:24:41 GMT
    484 2022-09-09 15:24:41.903 GMTLOG:  database system is ready to accept connections
    2022-09-09 15:24:43.887 GMT
    2022-09-09 15:24:43.889 GMT : Database started after 0 seconds
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 1
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 0
    INSERT 0 1
    UPDATE 1
    INSERT 0 1
    UPDATE 1
    nvram_get failed with -16
    Old version is 18.511 and currentversion is 19.005
    Database is upgrading to dbv19.000
    Check migration for version dbv19.000
    Applying migration for version dbv19.000
    Database is upgrading to dbv19.001
    Check migration for version dbv19.001
    Applying migration for version dbv19.001
     create_default_public_iphosts
    -------------------------------

    (1 row)

    Database is upgrading to dbv19.002
    Check migration for version dbv19.002
    Applying migration for version dbv19.002
     add_column
    ------------

    (1 row)

     add_column
    ------------

    (1 row)

    Database is upgrading to dbv19.003
    Check migration for version dbv19.003
    Applying migration for version dbv19.003
    1509 :send_data_to_listener: write error  'Network is unreachable'
    Cleaned up nasm directories using mv/rm
    Database is upgrading to dbv19.004
    Check migration for version dbv19.004
    Applying migration for version dbv19.004
    1516 2022-09-09 15:24:46.260 GMTERROR:  update or delete on table "tblrootcainfo" violates foreign key constraint "tblvpncertificate_caid_fkey" on table "tblvpncertificate"
    1516 2022-09-09 15:24:46.260 GMTDETAIL:  Key (companyid)=(54) is still referenced from table "tblvpncertificate".
    1516 2022-09-09 15:24:46.260 GMTSTATEMENT:  delete from tblrootcainfo where caname in ('Lets_Encrypt_r3','AC_RAIZ_FNMT_RCM_SERVIDORES_SEGUROS','GlobalSign_Root_R46','GlobalSign_Root_E46','GLOBALTRUST_2020','ANF_Secure_Server_Root_CA','Certum_EC_384_CA','Certum_Trusted_Root_CA','TunTrust_Root_CA','HARICA_TLS_RSA_Root_CA_2021','HARICA_TLS_ECC_Root_CA_2021','vTrus_ECC_Root_CA','vTrus_Root_CA','ISRG_Root_X2','A_Trust_Root_07','DigiCert_RSA4096_Root_G5','DigiCert_SMIME_RSA4096_Root_G5','DigiCert_TLS_ECC_P384_Root_G5','DigiCert_TLS_RSA4096_Root_G5','DigiCert_SMIME_ECC_P384_Root_G5','DigiCert_CS_RSA4096_Root_G5','DigiCert_Client_RSA4096_Root_G5','DigiCert_Client_ECC_P384_Root_G5','DigiCert_ECC_P384_Root_G5','DigiCert_CS_ECC_P384_Root_G5','GlobalSign_Secure_Mail_Root_E45','GlobalSign_Secure_Mail_Root_R45','GlobalSign_Client_Authentication_Root_R45','GlobalSign_Client_Authentication_Root_E45','GlobalSign_Code_Signing_Root_E45','GlobalSign_Document_Signing_Root_R45','GlobalSign_Document_Signing_Root_E45','GlobalSign_Code_Signing_Root_R45','GlobalSign_Timestamping_Root_R45','Autoridade_Certificadora_Raiz_Brasileira_v10','DVV_Gov._Root_CA_G3_ECC','DVV_Gov._Root_CA_G3_RSA','HARICA_Code_Signing_RSA_Root_CA_2021','HARICA_Client_ECC_Root_CA_2021','HARICA_Client_RSA_Root_CA_2021','HARICA_Code_Signing_ECC_Root_CA_2021','Microsoft_Identity_Verification_Root_Certificate_Authority_2020','I.CA_Root_CA_ECC_12_2016','Telia_Root_CA_v2','Izenpe.com');
    psql:/_conf/DB/dbv19.004/corporate.sql:68: ERROR:  update or delete on table "tblrootcainfo" violates foreign key constraint "tblvpncertificate_caid_fkey" on table "tblvpncertificate"
    DETAIL:  Key (companyid)=(54) is still referenced from table "tblvpncertificate".
    /bin/psql -1 -p 5432 -U pgroot -q  -d corporate -f /_conf//DB/dbv19.004/corporate.sql Failed
    /bin/sh /_conf//DB/dbv19.004/migration.sh Failed
    UPDATE 1
    Stopping database
    484 2022-09-09 15:24:47.136 GMTLOG:  received fast shutdown request
    484 2022-09-09 15:24:47.136 GMTLOG:  aborting any active transactions
    487 2022-09-09 15:24:47.136 GMTLOG:  shutting down
    487 2022-09-09 15:24:47.590 GMTLOG:  database system is shut down
    2022-09-09 15:24:48.148 GMT : Database stopped after 1 seconds
    applymigration.sh exited with 1
    2022-09-09 15:25:00.109 GMT: Before mountconf unmount

  • Could we get your Access ID of your current appliance in V18.5 ? So DEV can investigate your issue.