Giter Site home page Giter Site logo

civcraft-vm's People

Contributors

programmerdan avatar singularitypress avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

civcraft-vm's Issues

Still usable?

Is this suitable for civcraft current setup? Been out of it for a few months so not sure if this will cover everything or even work?

Readme confusion

Just remembered I came across an issue with this line in he readme when I first tried to follow it:

.7. Clone this repository locally: git clone [email protected]:ProgrammerDan/civcraft-vm.git

running that command was giving the following output:

Cloning into 'civcraft-vm'
Warning: Permanently added <blah blah blah>
Permission denied (publickey).
fatal: could not read from the remote repository.

what worked for me was to run:

git clone https://github.com/ProgrammerDan/civcraft-vm

Plugin get & config

Now for the really fun part.

Pull down the default plugin and config from build.civcraft.co for the core plugin set:

  • CivModCore
  • Namelayer
  • Citadel
  • PrisonPearl
  • RealisticBiomes
  • Bastion
  • ItemExchange
  • CivChat2
  • CivMenu
  • FactoryMod
  • JukeAlert

Bonus points for additional:

  • AFK-Player-GC
  • EnvironmentalEffects
  • WorldInfo
  • ArthropodEgg
  • CBanManagement
  • Humbug
  • MusterCull
  • BetterShards
  • Mercury

Yes, Civcraft has a ton of plugins.

`/spigot/get_and_build_spigot.sh` fails

got a new one :P

==> default: Error: /spigot/get_and_build_spigot.sh returned 148 instead of one of [0]
==> default: Error: /Stage[main]/Civcraft/Exec[civcraft.spigotcreate]/returns: change from notrun to 0 failed: /spigot/get_and_build_spigot.sh returned 148 instead of one of [0]
==> default: Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install python-software-properties'
==> default: Notice: /Stage[main]/Tools/Package[python-software-properties]/ensure: ensure changed 'purged' to 'latest'
==> default: Debug: /Package[python-software-properties]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n' software-properties-common'
==> default: Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install software-properties-common'
==> default: Notice: /Stage[main]/Tools/Package[software-properties-common]/ensure: ensure changed 'purged' to 'latest'
==> default: Debug: /Package[software-properties-common]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.apt-add-repository](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-add-repository -y ppa:pi-rho/dev'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-add-repository -y ppa:pi-rho/dev'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.apt-add-repository]/returns: executed successfully
==> default: 
==> default: Debug: /Stage[main]/Tools/Exec[tmux.apt-add-repository]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.apt-update](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-get update'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-get update'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.apt-update]/returns: executed successfully
==> default: Debug: /Stage[main]/Tools/Exec[tmux.apt-update]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Exec[tmux.install](provider=posix): Executing '/usr/bin/sudo /usr/bin/apt-get -y install tmux=1.9a-1~ppa1~p'
==> default: Debug: Executing '/usr/bin/sudo /usr/bin/apt-get -y install tmux=1.9a-1~ppa1~p'
==> default: Notice: /Stage[main]/Tools/Exec[tmux.install]/returns: executed successfully
==> default: Debug: /Stage[main]/Tools/Exec[tmux.install]: The container Class[Tools] will propagate my refresh event
==> default: Debug: Class[Tools]: The container Stage[main] will propagate my refresh event
==> default: Notice: /Stage[main]/Civcraft/File[civcraft.spigotcontrol]: Dependency Exec[civcraft.spigotcreate] has failures: true
==> default: Warning: /Stage[main]/Civcraft/File[civcraft.spigotcontrol]: Skipping because of failed dependencies
==> default: Notice: /Stage[main]/Civcraft/Exec[civcraft.spigotserver]: Dependency Exec[civcraft.spigotcreate] has failures: true
==> default: Warning: /Stage[main]/Civcraft/Exec[civcraft.spigotserver]: Skipping because of failed dependencies
==> default: Debug: Class[Civcraft]: The container Stage[main] will propagate my refresh event
==> default: Debug: Finishing transaction 69983527214400
==> default: Debug: Storing state
==> default: Info: Creating state file /var/lib/puppet/state/state.yaml
==> default: Debug: Stored state in 0.01 seconds
==> default: Notice: Finished catalog run in 538.10 seconds
==> default: Debug: Using settings: adding file resource 'rrddir': 'File[/var/lib/puppet/rrd]{:backup=>false, :group=>"puppet", :loglevel=>:debug, :owner=>"puppet", :mode=>"750", :links=>:follow, :path=>"/var/lib/puppet/rrd", :ensure=>:directory}'
==> default: Debug: /File[/var/lib/puppet/rrd]/ensure: created
==> default: Debug: Finishing transaction 69983540723160
==> default: Debug: Received report to process from ubuntu-server-12042-x64-vbox4210
==> default: Debug: Processing report from ubuntu-server-12042-x64-vbox4210 with processor Puppet::Reports::Store
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Database provision

Doublecheck if mariadb is installed in VM.

If not, install it (this is a Puppet provisioning step -- see the java stuff for an example).

Then, run a script to provision a user and (at least one) database for civcraft's plugins to use.

`vagrant up` fails with puppet on my machine

Hey I installed the exact vagrant and vb versions, and get this error after vagrant up:

==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: stdin: is not a tty
==> default: Warning: Setting templatedir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
==> default:    (at /usr/lib/ruby/vendor_ruby/puppet/settings.rb:1139:in `issue_deprecation_warning')
==> default: Debug: Runtime environment: ruby_version=1.8.7, puppet_version=3.8.1, run_mode=user
==> default: Error: Could not parse for environment production: Syntax error at 'ensure' at /tmp/vagrant-puppet/manifests-32d629a2561383f270abbd7cb585fa75/site.pp:73:5 on node ubuntu-server-12042-x64-vbox4210
==> default: Error: Could not parse for environment production: Syntax error at 'ensure' at /tmp/vagrant-puppet/manifests-32d629a2561383f270abbd7cb585fa75/site.pp:73:5 on node ubuntu-server-12042-x64-vbox4210
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

My machine is ubuntu 14/trusty-something

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.