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

Install failure: "Recurse failed: none of the specified sources were found" #527

Closed
eloquence opened this issue Apr 8, 2020 · 3 comments

Comments

@eloquence
Copy link
Member

This was originally noticed once in QA but resolved after dom0 updates, and has now been noticed once in a production install. During securedrop-admin --apply, the following error may occur:


          ID: dom0-securedrop-launcher-directory
    Function: file.recurse
        Name: /opt/securedrop/launcher
      Result: False
     Comment: Recurse failed: none of the specified sources were found
     Started: 20:52:46.766870
    Duration: 2.371 ms
     Changes:   

@eloquence
Copy link
Member Author

qubesctl provides a saltutil.sync_all command, the documentation for which states:

Sync all modules. If a problem exists, one may remove the salt cache directory (rm -r /var/cache/salt) and re-sync the modules

In a production install, removing the salt cache directory resolved the issue above. @emkll, could you document which commands you ran to resolve, i.e. did you just remove the cache directory, or also run the sync command?

@eloquence
Copy link
Member Author

Mickael clarified that syncing alone did not resolve, but cleaning cache & syncing did. To attempt to resolve the issue, we've agreed to add these steps (clear cache & sync) to securedrop-admin --apply. I'll take a stab at this so we can test it.

@eloquence
Copy link
Member Author

We've not observed this since #530 was merged, so closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant