autopkg / dataJAR-recipes

Elegant and powerful Apple services for business and education.
https://www.datajar.co.uk
Apache License 2.0
114 stars 80 forks source link

FlashPrint 5 #261

Closed paul-cossey closed 1 year ago

paul-cossey commented 1 year ago

FlashPrint 5 recipes are currently failing.

There seems to be a database issue on the FlashForge Download Center, the page takes ages to load then crashes with a 500 error and the below message, before redirecting to the home page.

SQLSTATE[HY000] [2002] Connection timed out (SQL: select `id`, `parent_id`, `name`, `seo_url`, `picture_url` from `download_categories` where `site_language_code` = en_US order by `sort` asc)
paul-cossey commented 1 year ago

Flash forge's website is back up and running correctly.

autopkg run -v /Users/paul/Documents/GitHub/dataJAR\ AutoPkg\ Repos/dataJAR-recipes/FlashPrint\ 5/FlashPrint\ 5.munki.recipe     
Processing /Users/paul/Documents/GitHub/dataJAR AutoPkg Repos/dataJAR-recipes/FlashPrint 5/FlashPrint 5.munki.recipe...
WARNING: /Users/paul/Documents/GitHub/dataJAR AutoPkg Repos/dataJAR-recipes/FlashPrint 5/FlashPrint 5.munki.recipe is missing trust info and FAIL_RECIPES_WITHOUT_TRUST_INFO is not set. Proceeding...
URLTextSearcher
URLTextSearcher: Found matching text (url): https://en.fss.flashforge.com/10000/software/038c6c2bb252a79b9178f42f18bc22e7.zip
URLDownloader
URLDownloader: Storing new Last-Modified header: Fri, 28 Oct 2022 01:59:04 GMT
URLDownloader: Storing new ETag header: "1815627-5ec0e9a34d862"
URLDownloader: Downloaded /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/downloads/038c6c2bb252a79b9178f42f18bc22e7.zip
EndOfCheckPhase
Unarchiver
Unarchiver: Guessed archive format 'zip' from filename 038c6c2bb252a79b9178f42f18bc22e7.zip
Unarchiver: Unarchived /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/downloads/038c6c2bb252a79b9178f42f18bc22e7.zip to /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip/
FileFinder
FileFinder: Found file match: '/Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip/FlashPrint 5.pkg' from globbed '/Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip/*.pkg'
FileFinder: Basename match: 'FlashPrint 5.pkg'
PkgPayloadUnpacker
PkgPayloadUnpacker: Unpacked /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip/FlashPrint 5.pkg/Contents/Archive.pax.gz to /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/FlashPrint5/Applications
MunkiInstallsItemsCreator
MunkiInstallsItemsCreator: Created installs item for /Applications/FlashPrint 5.app
MunkiPkginfoMerger
MunkiPkginfoMerger: Merged {'installs': [{'CFBundleIdentifier': 'FlashForge.FlashPrint5', 'CFBundleShortVersionString': '5.5.1', 'CFBundleVersion': '5.5.1', 'path': '/Applications/FlashPrint 5.app', 'type': 'application', 'version_comparison_key': 'CFBundleShortVersionString'}]} into pkginfo
PlistReader
PlistReader: Reading: /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/FlashPrint5/Applications/FlashPrint 5.app/Contents/Info.plist
PlistReader: Assigning value of '5.5.1' to output variable 'version'
MunkiPkginfoMerger
MunkiPkginfoMerger: Merged {'version': '5.5.1'} into pkginfo
DmgCreator
DmgCreator: Created dmg from /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip/FlashPrint 5.pkg at /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/FlashPrint5.dmg
MunkiImporter
MunkiImporter: Using repo lib: AutoPkgLib
MunkiImporter:         plugin: FileRepo
MunkiImporter:           repo: /Users/Shared/munki_repo
MunkiImporter: Copied pkginfo to: /Users/Shared/munki_repo/pkgsinfo/apps/FlashPrint5/FlashPrint5-5.5.1.plist
MunkiImporter:            pkg to: /Users/Shared/munki_repo/pkgs/apps/FlashPrint5/FlashPrint5-5.5.1.dmg
PathDeleter
PathDeleter: Deleted /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/FlashPrint5
PathDeleter: Deleted /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/unzip
Receipt written to /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/receipts/FlashPrint 5.munki-receipt-20221121-104348.plist

The following new items were downloaded:
    Download Path                                                                                                                   
    -------------                                                                                                                   
    /Users/paul/Library/AutoPkg/Cache/com.github.dataJAR-recipes.munki.FlashPrint 5/downloads/038c6c2bb252a79b9178f42f18bc22e7.zip  

The following new items were imported into Munki:
    Name         Version  Catalogs  Pkginfo Path                              Pkg Repo Path                           Icon Repo Path  
    ----         -------  --------  ------------                              -------------                           --------------  
    FlashPrint5  5.5.1    testing   apps/FlashPrint5/FlashPrint5-5.5.1.plist  apps/FlashPrint5/FlashPrint5-5.5.1.dmg