GithubHelp home page GithubHelp logo

cod4x-webadmin's People

Contributors

alexandercurl avatar byneho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cod4x-webadmin's Issues

No way to specify SSH port in the app.

I am unable to set a different ssh port in the config file, so I unable to create local servers with the app.
I'm using a different ssh port than 22, and can't find any indication in the source to change that

https://github.com/byNeHo/CoD4x-WebAdmin/blob/master/app/controllers/admin/servers.js#L192

					.then(function(saved) {
						var ssh = new SSH({
							host: config.ssh_access.host,
							user: config.ssh_access.user,
							pass: config.ssh_access.password,
							baseDir: config.cod4_server_plugin.servers_root

mongoose node lib broken

NodeJS 17.5 broke something as far I see, now I got this.

/home/sanyi/Hosting/webadmin/CoD4x-WebAdmin/node_modules/mongoose/lib/cursor/QueryCursor.js:150
QueryCursor.prototype.map = function(fn) {
                          ^

TypeError: Cannot assign to read only property 'map' of object '#<QueryCursor>'
    at Object.<anonymous> (/home/sanyi/Hosting/webadmin/CoD4x-WebAdmin/node_modules/mongoose/lib/cursor/QueryCursor.js:150:27)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/sanyi/Hosting/webadmin/CoD4x-WebAdmin/node_modules/mongoose/lib/query.js:12:21)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1151:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/sanyi/Hosting/webadmin/CoD4x-WebAdmin/node_modules/mongoose/lib/index.js:27:15)
    at Module._compile (node:internal/modules/cjs/loader:1097:14)

Node.js v17.5.0

Workaround: Use 16.x LTS version of nodejs.

Cannot read property 'local_version' of null

I've trying to install the webadmin, but I cannot access the Admin page, it fails to check the running version.
Tried to pull from github with git clone, and tried with a released 4.0.1 as well, same error.

OS: Ubuntu 20.04.1
Node: 12.20.1
npm: 6.14.10

TypeError: /home/ogp_agent/CoD4x-WebAdmin/app/views/admin/home/index.pug:244
    242| 													i.zmdi.zmdi-refresh-alt
    243| 									.card-body
  > 244| 										if (results.appversion.local_version!=results.appversion.github_version)
    245| 											.alert.alert-danger
    246| 												.m-b-20
    247| 													| You are running

Cannot read property 'local_version' of null
    at eval (eval at wrap (/home/ogp_agent/CoD4x-WebAdmin/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1441:25)
    at template (eval at wrap (/home/ogp_agent/CoD4x-WebAdmin/node_modules/pug-runtime/wrap.js:6:10), <anonymous>:1931:72)
    at Object.exports.renderFile (/home/ogp_agent/CoD4x-WebAdmin/node_modules/pug/lib/index.js:427:38)
    at Object.exports.renderFile (/home/ogp_agent/CoD4x-WebAdmin/node_modules/pug/lib/index.js:417:21)
    at View.exports.__express [as engine] (/home/ogp_agent/CoD4x-WebAdmin/node_modules/pug/lib/index.js:464:11)
    at View.render (/home/ogp_agent/CoD4x-WebAdmin/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/ogp_agent/CoD4x-WebAdmin/node_modules/express/lib/application.js:640:10)
    at Function.render (/home/ogp_agent/CoD4x-WebAdmin/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/home/ogp_agent/CoD4x-WebAdmin/node_modules/express/lib/response.js:1012:7)
    at /home/ogp_agent/CoD4x-WebAdmin/app/controllers/admin/index.js:49:8
    at tryCatcher (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:673:18)
    at PropertiesPromiseArray.PromiseArray._resolve (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise_array.js:127:19)
    at PropertiesPromiseArray._promiseFulfilled (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/props.js:78:14)
    at Promise._settlePromise (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:609:26)
    at Promise._settlePromise0 (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:729:18)
    at Promise._fulfill (/home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/promise.js:673:18)
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/bluebird/js/release/nodeback.js:42:21
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/mongoose/lib/model.js:4863:16
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/mongoose/lib/helpers/promiseOrCallback.js:24:16
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/mongoose/lib/model.js:4886:21
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/mongoose/lib/query.js:4397:11
    at /home/ogp_agent/CoD4x-WebAdmin/node_modules/kareem/index.js:136:16
    at processTicksAndRejections (internal/process/task_queues.js:79:11)

LinuxGSM files repository dead

LinuxGSM files repository is dead, wget throws 503 error.
I created a new repo for myself if you interested to get the base files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.