calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.47k stars 232 forks source link

Database Failure #675

Closed StreamersConnected closed 7 years ago

StreamersConnected commented 7 years ago

I've done the below steps, and they have not fixed the issue.

Description of the Problem

System Information

I've provided some screenshots to maybe help the process. Channel Creation: https://gyazo.com/9af1118c39563d1ff867370329143c86 User Promotion: https://gyazo.com/012d5ec77d698551b6e92bf5b5d9bc60

Xaekai commented 7 years ago

The database code is in the process of being ported to Knex.js, a generic query builder so the server can support using MySQL, Sqlite3 and Postgres. This is probably due to that.

Your first issue should have already been fixed as of this commit https://github.com/calzoneman/sync/commit/830486bc4f073e148a763afca9d7ab08b241abfd 2 days ago. The rest will have to wait until @calzoneman is available, but I believe he is out of town for a few days.

You can either wait or try revert to commit 22a9acfc90bbc9c3434770528210b079d7870cb3

StreamersConnected commented 7 years ago

We'll wait, I appreciate this. Thank you for your help.

calzoneman commented 7 years ago

Actually both of the above symptoms match up with the issue fixed in https://github.com/calzoneman/sync/commit/830486bc4f073e148a763afca9d7ab08b241abfd. Have you tried with the latest commit?

StreamersConnected commented 7 years ago

I have and it didn't work unfortunately.

calzoneman commented 7 years ago

I'm unable to reproduce the issue. First, please check that your server is fully updated:

» git rev-parse HEAD                                                                                                                                                                             
00a65a1584bf3e2dd78efb1a678829b935814ee0
» rm -rf lib/ && npm run build-server

If you've verified above that (1) you're at the current commit, (2) you have re-build the source files into lib, and (3) you restarted the server after doing this, then please attach the contents of error.log.

StreamersConnected commented 7 years ago

Ill do that right away.

StreamersConnected commented 7 years ago

I've rebuilt it and that seemed to have fixed it, no error, it just creates the channel, but there's no dialog when creating the channel so I don't know if that's intentional.

Although after deleting channels and refreshing it gives me this so I just though I'd let you know. https://gyazo.com/9c5818e83cf76064eb7dc4c958254660 Screenshot^ And I can confirm I'm on the latest version.

Here's my error logs. https://pastebin.com/qPc7Ky6V

calzoneman commented 7 years ago

Although after deleting channels and refreshing it gives me this so I just though I'd let you know.

Is your browser prompting you to resubmit the form? If so, you're not simply reloading the page, you're actually sending the delete request again, and the server is correctly reporting that the channel you deleted doesn't exist anymore.

Marking this issue as resolved.