OpenGamePanel / OGP-Agent-Linux

GNU General Public License v2.0
86 stars 34 forks source link

Config.pm not being created #12

Closed zenety closed 7 years ago

zenety commented 7 years ago

When running the agent and looking in the screen session I see the following errors. cat: /home/Red/OGP/Cfg/Config.pm: No such file or directory INFO: Located curl: /usr/bin/curl INFO: Located unzip: /usr/bin/unzip cat: /home/Red/OGP/Cfg/Config.pm: No such file or directory Updating agent using curl. Fixing permissions... Cleaning up... sed: can't read /home/Red/OGP/Cfg/Config.pm: No such file or directory Agent updated successfully. Agent will auto-restart if there is a crash. Can't locate Cfg/Config.pm in @INC (you may need to install the Cfg::Config module) (@INC contains: /home/Red/OGP /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /home/Red/OGP/ogp_agent.pl line 35. BEGIN failed--compilation aborted at /home/Red/OGP/ogp_agent.pl line 35. Fri Jun 2 13:31:43 CEST 2017: Agent restart in 10 seconds

Should this file be made by hand?

zenety commented 7 years ago

Apparantly I had an older version of the OGP agent and it didnt create it. I cloned this repo and it's fine now. Thanks for this tool :)