Hi, I’m new to snapcraft and I’m trying to create a MongoDB snap with the latest version.
I’ve been reading through the tutorials and documentation and used this github as a start.
- Updated the version
- Changed the download link
- Added a base
- Moved the plugins to
The error i’m getting:
Source path "/ssd/dev/snaps-niemeyer/mongodb/mongo42" does not exist An error occurred with the instance when trying to mount with 'multipass': returned exit code 1. Ensure that 'multipass' is setup correctly and try again.
Any help would be appreciated.
name: mongo42 version: 4.2.8 summary: MongoDB document-oriented database description: | MongoDB is a high-performance, open source, schema-free document-oriented data store that's easy to deploy, manage and use. It's network accessible, written in C++ and offers the following features: * Collection oriented storage - easy storage of object-style data * Full index support, including on inner objects * Query profiling * Replication and fail-over support * Efficient storage of binary data including large objects (e.g. videos) * Auto-sharding for cloud-level scalability High performance, scalability, and reasonable depth of functionality are the goals for the project. base: core18 grade: devel confinement: devmode apps: mongo42: command: bin/run.sh mongo mongod: command: bin/run.sh mongod --port=33017 --smallfiles --noprealloc daemon: simple d: command: bin/run.sh mongod s: command: bin/run.sh mongos export: command: bin/run.sh mongoexport import: command: bin/run.sh mongoimport dump: command: bin/run.sh mongodump restore: command: bin/run.sh mongorestore top: command: bin/run.sh mongotop stat: command: bin/run.sh mongostat perf: command: bin/run.sh mongoperf files: command: bin/run.sh mongofiles sniff: command: bin/run.sh mongosniff oplog: command: bin/run.sh mongooplog plugs: home: network: network-bind: parts: mongodb: # source: https://fastdl.mongodb.org/linux/mongodb-linux-aarch64-ubuntu1804-4.2.8.tgz source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.2.8.tgz plugin: dump stage-packages: # - libc6 leads to warning "libc6 has been staged into the snap: only do this if you know what what you are doing." and a segfault when running - libssl1.1 content: source: ../content plugin: dump