lokenx / lokenx/plexrequests-meteor
Multiple issues with docker build
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 521
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
Hello
I've been having multiple issues running the plexrequest docker build (pulled from the repo).
Starting the application works fine, but search is completely broken as well as trying to pull the plexpass token.
For example, when searching for a movie, this is shown in the logs:
dashboard_1 | info: First run complete
dashboard_1 | info: Updated TMDB image links
dashboard_1 | Exception while invoking method 'getVersion' Error: ENOENT, no such file or directory '/built_app/version.txt'
dashboard_1 | at Object.fs.openSync (fs.js:439:18)
dashboard_1 | at Object.fs.readFileSync (fs.js:290:15)
dashboard_1 | at [object Object].Meteor.methods.getVersion (server/methods/admin/version.js:9:1)
dashboard_1 | at maybeAuditArgumentChecks (livedata_server.js:1698:12)
dashboard_1 | at livedata_server.js:708:19
dashboard_1 | at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
dashboard_1 | at livedata_server.js:706:40
dashboard_1 | at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
dashboard_1 | at livedata_server.js:704:46
dashboard_1 | at tryCallTwo (/built_app/programs/server/npm/promise/node_modules/meteor-promise/node_modules/promise/lib/core.js:45:5)
dashboard_1 | Exception while invoking method 'checkForUpdate' Error: ENOENT, no such file or directory '/built_app/version.txt'
dashboard_1 | at Object.fs.openSync (fs.js:439:18)
dashboard_1 | at Object.fs.readFileSync (fs.js:290:15)
dashboard_1 | at [object Object].Meteor.methods.getVersion (server/methods/admin/version.js:9:1)
dashboard_1 | at maybeAuditArgumentChecks (livedata_server.js:1698:12)
dashboard_1 | at livedata_server.js:1611:18
dashboard_1 | at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
dashboard_1 | at [object Object]._.extend.apply (livedata_server.js:1610:45)
dashboard_1 | at [object Object]._.extend.call (livedata_server.js:1553:17)
dashboard_1 | at [object Object].Meteor.methods.checkForUpdate (server/methods/admin/version.js:19:1)
dashboard_1 | at maybeAuditArgumentChecks (livedata_server.js:1698:12)
dashboard_1 | { [Error: connect ECONNREFUSED] stack: [Getter] }
dashboard_1 | error: TMDBSearch Error -> Cannot read property 'link' of undefined
It seems like the build is missing some files, such as /built_app/version.txt
This may also be a source of some of the other issues. Can anyone else confirm?
Using the standard docker-compose file.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the Docker build and standard docker-compose setup, then read server/methods/admin/version.js where the missing /built_app/version.txt is accessed. Run the image and check whether the built application contains the reported file and whether the logged search and Plexpass token failures remain. Done means the image builds with required files and those operations no longer produce the reported errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- backend, build-system, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100