Git Product home page Git Product logo

flashstache's People

Contributors

bubthegreat avatar richimus123 avatar sdodsley avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flashstache's Issues

setup.sh not explicit to python2 pip

Where pip is defaulting to 3.5 in some distros, or might for other configurations on ubuntu server boxes, the setup.sh needs to be explicit in which it's using. Currently, setup.sh expects that we are running python 2.7.x, so running with python3 pip inadvertently will cause dependency failures during install.

micheal.taylor@bubdev:~/FlashStache$ pip --version
pip 9.0.1 from /usr/local/lib/python3.5/dist-packages (python 3.5)
micheal.taylor@bubdev:~/FlashStache$ pip2 --version
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)

mysql-python fails importing ConfigParser during 'pip install mysql-python'.

Error during install installing mysql-python during setup.sh run:

Collecting MySQL-python
  Downloading MySQL-python-1.2.5.zip (108kB)
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-xebzdk8g/MySQL-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-build-xebzdk8g/MySQL-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'

Repro happens any time we execute:

micheal.taylor@bubdev:~/FlashStache$ sudo -H pip install mysql-python
Collecting mysql-python
  Downloading MySQL-python-1.2.5.zip (108kB)
    100% |████████████████████████████████| 112kB 1.2MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-1lrjony6/mysql-python/setup.py", line 13, in <module>
        from setup_posix import get_config
      File "/tmp/pip-build-1lrjony6/mysql-python/setup_posix.py", line 2, in <module>
        from ConfigParser import SafeConfigParser
    ImportError: No module named 'ConfigParser'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-1lrjony6/mysql-python/

path_to_change is left blank during install

root path_to_change;

micheal.taylor@bubdev:~/FlashStache$ sudo -H ./setup.sh 

Installing FlashStache: (This will take several minutes)
- Please don't interrupt -

Please set a password for the Admin role: 
Confirm password: 
Admin Password Set.

Step 1: Installing dependencies.
	- Updating Ubuntu
	- Installing Python, MySQL client, Redis, etc.

Step 2: Installing Python modules.

Step 3: Starting and configuring MySQL Server.
send: spawn id exp4 not open
    while executing
"send "<password>\r""

Step 4: Starting and configuring Grafana Server.
	- Downloading Grafana dpkg.
	- Installing Grafana
(Reading database ... 72356 files and directories currently installed.)
Preparing to unpack ./grafana_4.5.2_amd64.deb ...
Unpacking grafana (4.5.2) over (4.5.2) ...
Setting up grafana (4.5.2) ...
Restarting grafana-server service... OK
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
	- Configuring Grafana and starting Services

Step 5: Starting and configuring web services.
	- Configuring Web Server and Dependencies
	- Configuring Nginx
	- Starting Nginx
	- Configuring boot time settings
	- Starting services and worker tasks

This sets up to point to a non-existent directory for the nginx server:

micheal.taylor@bubdev:~/FlashStache$ cat /etc/nginx/sites-enabled/flash_stache 
server {
    listen 80;
    server_name 10.204.116.216 ;
    location = /favicon.ico { access_log off; log_not_found off; }
    location /static/ {
        root /flasharray;
    }
    location / {
        include uwsgi_params;
        uwsgi_pass unix:/run/uwsgi/flash_stache.sock;
    }
}

./setup.sh killed

Got this error could not get around it.

RuntimeError: support for python < 3.6 has been removed in setuptools_scm>=6.0.0
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

CSS/Javascript does not appear to load from bare git pull

From a bare install on ubuntu xenial:

micheal.taylor@bubdev:~/FlashStache$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial

What it looks like:
screen shot 2017-11-12 at 11 52 17 pm

What it should look like:
screen shot 2017-11-12 at 11 54 06 pm

Import error on grafana_api_client

grafana_api_client doesn't appear to exist in the modules that are currently installed.

It looks like a requirements file might be needed for this to configure properly on install.

Traceback (most recent call last):
  File "configure_grafana.py", line 5, in <module>
    from grafana_api_client import GrafanaClient, GrafanaClientError, GrafanaUnauthorizedError
ImportError: No module named grafana_api_client

trying to get head around link to grafana

I looked at repository expecting to see a json file of a grafana dashboard. I cannot see one. Is this a standalone data viewing tool or is there a link to grafana ?

The reason I ask is we have a grafana install and I am pushing pure stats via the REST API to gather the stats to grafite so our grafana installation can dashboard. I am trying to figure out the link to figure out the extras that this brings to the party.

FlashStache: dpkg -i encounters lock contention

During installation with setup.sh we get an error that the installation failed:

dpkg: error: dpkg status database is locked by another process

It looks like this is just a simple lock contention issue because the wget hasn't finished saving the file completely before we attempt to run dpkg -i.

What URL is it supposed to use

When I put in my IP address all I get is

This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.

Website Administrator
This is the default index.html page that is distributed with nginx on Fedora. It is located in /usr/share/nginx/html.

You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.

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.