Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jq sync issues #9

Open
danimesq opened this issue Feb 8, 2022 · 9 comments
Open

jq sync issues #9

danimesq opened this issue Feb 8, 2022 · 9 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@danimesq
Copy link
Member

danimesq commented Feb 8, 2022

No description provided.

@danimesq danimesq added the bug Something isn't working label Feb 8, 2022
@danimesq danimesq added this to the v2 milestone Feb 8, 2022
@danimesq danimesq self-assigned this Feb 8, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 8, 2022

Reference: jqlang/jq#2344

@danimesq danimesq reopened this Feb 8, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 8, 2022

Appeared again, this time with:

Web3Updater Version: v2 / Patch: 0

Checking for new updates...
Updating Web3Updater...
Installing update 1...
Installing update 2...
Installing update 3...
{
"patch_at": 2,
"cid_at": ""
}
Installing update 4...
/usr/lib/web3updater/./updates.sh: 42: [: =: unexpected operator
/usr/lib/web3updater/./sample_updates_3-5.sh: 28: [: -ge: unexpected operator

@danimesq
Copy link
Member Author

danimesq commented Feb 8, 2022

After running again:

Web3Updater Version: v2 / Patch:

Checking for new updates...
/usr/lib/web3updater/./sample_updates_3-5.sh: 28: [: -ge: unexpected operator
/usr/lib/web3updater/./sample_updates_3-5.sh: 4: [: -ge: unexpected operator
/usr/lib/web3updater/web3updater: line 76: [: : integer expression expected
UP-TO-DATE like a breeze! No new updates to install, yet.
/usr/lib/web3updater/./sample_updates_3-5.sh: 28: [: -ge: unexpected operator

@danimesq
Copy link
Member Author

danimesq commented Feb 8, 2022

New attempt to fix: f2bea83

@danimesq danimesq closed this as completed Feb 8, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 9, 2022

Appeared again:

Installing update 4...
./updates.sh: 42: [: =: unexpected operator
/usr/lib/web3updater/./sample_updates_3-5.sh: 32: [: -ge: unexpected operator

In:

if [ $(jq -r '.patch_at' /usr/lib/web3updater/update.json) -ge 4 ]; then (sample_updates_3-5.sh)

and:

if [ $(jq -r '.patch_at' /usr/lib/web3updater/update.json) = 4 ]; then (updates.sh)

@danimesq danimesq reopened this Feb 9, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 9, 2022

Another attempt in: f65c81a

@danimesq
Copy link
Member Author

danimesq commented Feb 9, 2022

But, again:

Installing update 5...
/usr/lib/web3updater/./sample_updates_3-5.sh: 32: [: -ge: unexpected operator

In:

if [ $(jq -r '.patch_at' /usr/lib/web3updater/update.json) -ge 4 ]; then (sample_updates_3-5.sh)

@danimesq danimesq reopened this Feb 9, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 9, 2022

Here we go again

@danimesq danimesq reopened this Feb 9, 2022
@danimesq
Copy link
Member Author

danimesq commented Feb 9, 2022

Fixing this bug is a top priority now.

Otherwise I'm not able to launch the beta of W3U v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant