score:0
I ended up having a corrupt Collection / DB record. I was tipped on another forum that the symptoms I was seeing (Nighscout web app not displaying some data, not the Heroku deploy I was attempting to work around that issue) could be caused by that. So as a last resort I dropped the entire Mongo Collection and I can now deploy Master and Dev, and it sticks in Heroku.
I don't know the significance since the data should be separate from the web app source code itself.
The whole reason I wanted to try Dev was for a fix for parts of the app not working. After initialising the Mongo DB Collection, I can use Master, so Dev (and the fix it contained) is not needed.
I know this isn't the exact root cause, but I'll leave this here in case someone comes across it and hasn't thought to look at the data.
More questions
- Heroku manual deploy keeps switching to Master
- Deploy Nodejs + MongoDB on Heroku but need verify credit card when install add-on
- Heroku Deploy Error: Cannot get Node App running after Deploy : Cannot find module '/app/web.js'
- How to deploy local Strapi content to Heroku
- Node Heroku Deploy Cannot Find Exported Mongo Schema
- Node.js deploy on Heroku fail : TypeError: Cannot read property 'split' of null
- Netlify deploy can't connect to Heroku backend
- MongoTimeoutError: Server selection timed out after 30000 ms, using heroku to deploy
- Get [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017] when I deploy my project in heroku
- Heroku when I deploy my app online it crashes but on my local machine it works without errors
- Deploy PHP application with extension mongo into heroku 2015
- front-end doesn't work when deploy the mern stack to heroku
- Deploy React App to heroku cannot connect backend
- Deploy App to Heroku - I got Internal Server Error
- How to Deploy MERN stack application on heroku
- Heroku dont specify PORT on deploy
- How to deploy app to heroku with MongoDb/Mlab
- nodejs app won't deploy in heroku
- Prisma 1 + MongoDB Atlas deploy to Heroku returns error 404
- "Received status code 400" after apollo-server deploy to heroku
- how to create one end to end application in angular/node/mongoDB and deploy it to heroku
- Unable to deploy nodejs-mongodb project on heroku
- Heroku Deploy Getting 404 Error
- I am using expressjs and when I heroku deploy my site going to cruch
- I am trying to deploy MERN app to heroku but getting this error
- How do I deploy MongoDB app on Heroku and connect it to MongoDB Atlas?
- How to make changes to mern app deployed on heroku and how to check the changes before I deploy it in production?
- API endpoints returning 500 err after deploy on Heroku
- Deploy Node, Express, and MongoDB server to heroku
- HOW to deploy a MERN APP to production, without using firebase or heroku or aws
More questions with similar tag
- MongoVue and Guid
- Converting R list to JSON
- mongodb time series data modeling
- How to select random documents from the MongoDB collection but not the previous ones?
- Understanding the "_id" key in JSON results accessed from a PHP file.
- Is there an equivalent to MySql's getLastInsertID() in MongoDb & PHP?
- immutable mongo some of required attributes are not set
- Listen to the 'reloading' event of watch (e.g. to close db connection) in mocha test
- Aggregation with multiple conditions javascript/mongoose
- NestJS - get response body from POST request and save it to mongoDB in another method
- Exception occurs when using MongoDB driver for DotNet Core
- updating multiple documents by passing a list objectids to findByIdAndUpdate
- OR query matching nil or "" with Mongoid still matches ""?
- Getting average of all the values for a field in a Mongo DB collection using mongoose
- How to fetch values from nested array in mongodb
- Mongo-PHP - MongoCursor exception with MongoDB PHP Driver v1.6
- Unclosed INDENT in line 6 ( CoffeeScript ) Compiler Error
- why do i get 'Cast to ObjectId failed for value' error on mongodb while sending network request?
- Finding documents matching an array inside object inside an array matching specific in mongodb
- Exception: cannot run map reduce without the js engine
- $unset for subarray in mongodb does not work
- Mongo aggregate, group, max and take entire row that have the max value
- Spring mongodb Find document if a single field matches in a list within a document
- Complex mongodb query with objects of varying keynames and arrays
- Why does mongodb change my date formats to long number and how do I fix it?
- edit a product from admin panel of eCommerce website project using nodejs with express.js, hbs and mongodb
- Mongodb match query with priority on full match
- How to push element parent in Mongoose?
- PyMongo: Access fields returned from document within array resulting from find() query
- Error status: 404 returned with PUT request using Node.js (express), Angular, and MongoDB