• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

pkg-static: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 1.2k Views
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.
  • R
    reza.mnp
    last edited by reza.mnp Jan 4, 2020, 8:13 AM Jan 4, 2020, 8:05 AM

    pfsense 2.4.5 latest version
    after restore backup i can not open pfsense web interface and update pkg
    "502 Bad Gateway"

    pkg update

    pkg: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
    

    repos//pfSense.conf ( // )


    1. Restart PHP-FPM
      Shared object "libargon2.so.0" not found, required by "php-cgi"
      Shared object "libargon2.so.0" not found, required by "php"

    1. Restart webConfigurator
      Shared object "libargon2.so.0" not found, required by "php-cgi"
      Shared object "libargon2.so.0" not found, required by "php-cgi"
      Shared object "libargon2.so.0" not found, required by "php"

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Jan 6, 2020, 4:35 PM

      What was in the backup you restored?

      Maybe the backup had a different update URL which caused it to fetch something it shouldn't have and break the installation.

      Otherwise it's not clear what might have happened. Nothing should have removed files from packages like that which are required parts of the base system.

      Unless maybe you have some other kind of problem like a disk issue.

      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

      Need help fast? Netgate Global Support!

      Do not Chat/PM for help!

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received