GithubHelp home page GithubHelp logo

fujiwara-api's People

Contributors

merakifc avatar vladivanovic avatar

Watchers

 avatar

fujiwara-api's Issues

error handling for setup procedure

  1. need to do the db check then reroute to appropriate page to finish setup bit
  2. need to check that if you re-do setup that it checks if that instance of an OrgID or Network is in the DB already instead of adding it in again and duplicating the data

snap not available on Ubuntu 20.04 WSL2

Get the following error when trying to install ngrok from snap on Ubuntu 20.04 WSL2

vlad@VIVANOVI-8WRK7:~/fujiwara-api$ sudo snap install ngrok
error: cannot communicate with server: Post http://localhost/v2/snaps/ngrok: dial unix /run/snapd.socket: connect: no such file or directory

WSL2 doesn't support the use of systemctl

vlad@VIVANOVI-8WRK7:~/fujiwara-api$ systemctl start snapd.service
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

The problem is that /etc/os-release doesn't show any differentiating markers for a WSL2 install so we either need error handling in setup.sh or a way to detect the WSL2 version and do the following just incase MS hasn't pushed patches for this any time soon:

sudo apt-get update && sudo apt-get install -yqq daemonize dbus-user-session fontconfig
sudo daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/systemd/systemd --system-unit=basic.target
exec sudo nsenter -t $(pidof systemd) -a su - $LOGNAME
snap version

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.