Giter Club home page Giter Club logo

vegadns-api's People

Contributors

dependabot[bot] avatar shupp avatar transitorykris avatar tresni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

vegadns-api's Issues

bad path prefix on alter1, 2, 3 in upgrade guide

files are not located in root, missing sql/ path prefix
mysql -u vegadns -p -h localhost vegadns < sql/new_tables_only.sql
mysql -u vegadns -p -h localhost vegadns < alter-01.sql
mysql -u vegadns -p -h localhost vegadns < alter-02.sql
mysql -u vegadns -p -h localhost vegadns < alter-03.sql
mysql -u vegadns -p -h localhost vegadns < sql/data_api_keys_only.sql
should be:
mysql -u vegadns -p -h localhost vegadns < sql/new_tables_only.sql
mysql -u vegadns -p -h localhost vegadns < sql/alter-01.sql
mysql -u vegadns -p -h localhost vegadns < sql/alter-02.sql
mysql -u vegadns -p -h localhost vegadns < sql/alter-03.sql
mysql -u vegadns -p -h localhost vegadns < sql/data_api_keys_only.sql

ENV variables

Hi, I am using VEGADNS now for more than 10 years :) Found your api/ui docker image, which I managed to run, but where can I get the list of ENV variables I can use? I need to setup mysql and stuff and import my old database from 13.3 somehow.

Legacy mysql database issues

ReadMe says to run the commands below to import sql files when using a legacy mysql database. I did this however I received an error on the default records page in the ui and when selecting a domain. After some checking it appears there are 2 new columns (weight & port) in these mysql tables (records & default_records) that arent added by these sql files causing a read error in the ui on these pages. Adding these columns to the tables fixed the issue on the ui and it was then able to display. Commands I used are below. Is there anything else I need to do to ensure the legacy database is fully functional?

mysql -u vegadns -p -h localhost vegadns < /vegadns-api/sql/new_tables_only.sql
mysql -u vegadns -p -h localhost vegadns < /vegadns-api/sql/alter-01.sql
mysql -u vegadns -p -h localhost vegadns < /vegadns-api/sql/alter-02.sql
mysql -u vegadns -p -h localhost vegadns < /vegadns-api/sql/alter-03.sql
mysql -u vegadns -p -h localhost vegadns < /vegadns-api/sql/data_api_keys_only.sql

ALTER TABLE default_records add column weight int(4) after distance;
ALTER TABLE default_records add column port int(4) after weight;
ALTER TABLE records add column weight int(4) after distance;
ALTER TABLE records add column port int(4) after weight;

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.