No config file



  • Hi guys,

    I'm trying to setup Scales but after running the autoinstall script from the node, I can't seem to find a config.json file for Scales. I've looked everywhere I can but can't find anything on how to resolve this issue. Everything has installed fine with no errors - I just can't seem to get a config.json file for Scales.

    Execution output of the autoinstall script:

    System detected as some variant of Ubuntu or Debian.
    Installing some dependiencies.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    lib32gcc1 is already the newest version (1:6.0.1-0ubuntu1).
    lib32tinfo5 is already the newest version (6.0+20160213-1ubuntu1).
    lib32z1 is already the newest version (1:1.2.8.dfsg-2ubuntu4).
    python is already the newest version (2.7.11-1).
    curl is already the newest version (7.47.0-1ubuntu2.2).
    lib32stdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.4).
    openjdk-8-jdk is already the newest version (8u121-b13-0ubuntu1.16.04.2).
    openssl is already the newest version (1.0.2g-1ubuntu4.6).
    tar is already the newest version (1.28-2.1ubuntu0.1).
    0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 11.0M  100 11.0M    0     0  2364k      0  0:00:04  0:00:04 --:--:-- 2804k
    mkdir: cannot create directory ‘/var/lib/pufferd’: File exists
    mkdir: cannot create directory ‘/etc/pufferd’: File exists
    [20:15:56] [INFO] pufferd v1.0.4 (2017-02-05_04:26:49PM f90bb5f8d0f329be17a380c73384debf365c33a2)
    [20:15:56] [INFO] Logging set to INFO
    [20:15:56] [INFO] Config saved
    [20:15:56] [INFO] Attempting to install service
    [20:15:56] [INFO]
    [20:15:56] [INFO] Service may be started with: systemctl start pufferd
    Successfully installed the daemon
    

    Trying to run scales:

    Starting Scales
    [2017-02-08 20:31:25] [ERROR] uncaughtException: Cannot find module '/srv/scales/config.json'
    [2017-02-08 20:31:25] [ERROR] Unhandled exception occurred
    Error: Cannot find module '/srv/scales/config.json'
        at Function.Module._resolveFilename (module.js:338:15)
        at Function.Module._load (module.js:289:25)
        at Module.require (module.js:366:17)
        at require (module.js:385:17)
        at Function.<anonymous> (/srv/scales/node_modules/rfr/lib/rfr.js:160:12)
        at Object.<anonymous> (/srv/scales/index.js:11:14)
        at Module._compile (module.js:435:26)
        at Object.Module._extensions..js (module.js:442:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:313:12)
    

    Thank you in advance.



  • You installed pufferd, not Scales.



  • @LordRalex But I was following the Scales installation guide? http://scales.pufferpanel.com/v0.2.8/docs/manually-installing-scales



  • If you got pufferd, then you are using PufferPanel 1.0, which does not use Scales anymore.


Log in to reply
 

Looks like your connection to PufferPanel Community was lost, please wait while we try to reconnect.