whitewhidow / quest-sidenoder

Cross platform Sideloader for Quest standalone headset
MIT License
92 stars 43 forks source link

"RCLONE global installation not found" when opening sidenoder dmg on Mac #33

Closed lucpeng777 closed 3 years ago

lucpeng777 commented 3 years ago

Describe the bug As directed in the directions, I ran the following code in Terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew cask install android-platform-tools curl https://rclone.org/install.sh | sudo bash brew cask install osxfuse

My password was required a few times, and I entered it in, and the last line of the output after stopping was:

==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.1 ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws ######################################################################## 100.0% ==> Installing Cask osxfuse ==> Running installer for osxfuse; your password may be necessary. ==> Package installers may write to any location; options such as --appdir are i Password: installer: Package name is FUSE for macOS installer: Installing at base path / installer: The install was successful. ==> Changing ownership of paths required by osxfuse; your password may be necess 🍺 osxfuse was successfully installed!

Any potential causes of this problem, and any suggested fixes?

whitewhidow commented 3 years ago

please paste the output of only the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" (alternatively try to dl and install from the rclone website)

thx

lucpeng777 commented 3 years ago

Is this what you mean? Thanks for helping me.

==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew ==> The following existing directories will be made group writable: /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> The following existing directories will have their owner set to lucaspang: /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> The following existing directories will have their group set to admin: /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> The following new directories will be created: /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks

Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> /usr/bin/sudo /usr/sbin/chown lucaspang /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share /usr/local/lib/pkgconfig /usr/local/share/info /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/man/man3 /usr/local/share/man/man5 ==> /usr/bin/sudo /bin/mkdir -p /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks ==> /usr/bin/sudo /usr/sbin/chown lucaspang /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/etc /usr/local/sbin /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Homebrew /usr/local/Frameworks ==> /usr/bin/sudo /bin/mkdir -p /Users/lucaspang/Library/Caches/Homebrew ==> /usr/bin/sudo /bin/chmod g+rwx /Users/lucaspang/Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown lucaspang /Users/lucaspang/Library/Caches/Homebrew ==> Downloading and installing Homebrew... remote: Enumerating objects: 43, done. remote: Counting objects: 100% (43/43), done. remote: Compressing objects: 100% (43/43), done. remote: Total 164602 (delta 0), reused 43 (delta 0), pack-reused 164559 Receiving objects: 100% (164602/164602), 42.27 MiB | 9.14 MiB/s, done. Resolving deltas: 100% (121964/121964), done. From https://github.com/Homebrew/brew

==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics data has been sent yet (or will be during this install run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations

whitewhidow commented 3 years ago

my bad i actually ment this one

curl https://rclone.org/install.sh | sudo bash (the rclone install)

lucpeng777 commented 3 years ago

zsh: done curl https://rclone.org/install.sh | zsh: suspended (tty input) sudo bash Updating Homebrew... Warning: Calling brew cask install is deprecated! Use brew install [--cask] instead. ==> Caveats osxfuse requires a kernel extension to work. If the installation fails, retry after you enable it in: System Preferences → Security & Privacy → General

For more information, refer to vendor documentation or this Apple Technical Note: https://developer.apple.com/library/content/technotes/tn2459/_index.html

You must reboot for the installation of osxfuse to take effect.

==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.1 ==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws ######################################################################## 100.0% ==> Installing Cask osxfuse ==> Running installer for osxfuse; your password may be necessary. ==> Package installers may write to any location; options such as --appdir are i Password: installer: Package name is FUSE for macOS installer: Installing at base path / installer: The install was successful. ==> Changing ownership of paths required by osxfuse; your password may be necess 🍺 osxfuse was successfully installed!

whitewhidow commented 3 years ago

install of rclone seems to have gone fine.. Is it now still saying "RCLONE global installation not found" (potentially after a reboot) ?

lucpeng777 commented 3 years ago
Screen Shot 2020-12-11 at 4 23 43 PM

Yes. This appeared for a split second(I managed to screenshot) before showing the Rclone global installation not found

whitewhidow commented 3 years ago

yep that just briefly shows before the actual check and error, no clue why it would not find it, if it actually installed successfully ...

does just running rclone in the terminal actually run? (eg. return rclone info) or does it say not found or something ?

also try installing the precompiled binary for rclone via their website (https://rclone.org/downloads/) instead of via brew, see if that helps ?

lucpeng777 commented 3 years ago

do you mean just typing in "rclone" in the terminal window? I closed the original terminal window btw. If so, the output is : zsh: command not found: rclone .

By downloading from rclone, do you mean running this line on terminal: curl https://rclone.org/install.sh | sudo bash ??

gpolanco21 commented 3 years ago

I'm having the same issue. ''rclone'' is installed and running but still same error.

whitewhidow commented 3 years ago

do you mean just typing in "rclone" in the terminal window? I closed the original terminal window btw. If so, the output is : zsh: command not found: rclone .

By downloading from rclone, do you mean running this line on terminal: curl https://rclone.org/install.sh | sudo bash ??

that response indicates that rclone is infact indeed not installed

by downloading from rclone itself i mean running this one : https://downloads.rclone.org/v1.53.3/rclone-v1.53.3-osx-amd64.zip (assuming Intel/AMD - 64 Bit)

gpolanco21 commented 3 years ago

I closed my terminal and ran "rclone" and it brings up a directory. It's installed. I've restarted my computer but still returns the global error.

whitewhidow commented 3 years ago

I closed my terminal and ran "rclone" and it brings up a directory. It's installed. I've restarted my computer but still returns the global error.

"brings up a directory" ?? please post a screen

gpolanco21 commented 3 years ago

rclone Usage: rclone [flags] rclone [command]

Available Commands: about Get quota information from the remote. authorize Remote authorization. backend Run a backend specific command. cat Concatenates any files and sends them to stdout. check Checks the files in the source and destination match. cleanup Clean up the remote if possible. cmount Mount the remote as file system on a mountpoint. config Enter an interactive configuration session. copy Copy files from source to dest, skipping already copied. copyto Copy files from source to dest, skipping already copied. copyurl Copy url content to dest. cryptcheck Cryptcheck checks the integrity of a crypted remote. cryptdecode Cryptdecode returns unencrypted file names. dedupe Interactively find duplicate filenames and delete/rename them. delete Remove the contents of path. deletefile Remove a single file from remote. genautocomplete Output completion script for a given shell. gendocs Output markdown docs for rclone to the directory supplied. hashsum Produces a hashsum file for all the objects in the path. help Show help for rclone commands, flags and backends. link Generate public link to file/folder. listremotes List all the remotes in the config file. ls List the objects in the path with size and path. lsd List all directories/containers/buckets in the path. lsf List directories and objects in remote:path formatted for parsing. lsjson List directories and objects in the path in JSON format. lsl List the objects in path with modification time, size and path. md5sum Produces an md5sum file for all the objects in the path. mkdir Make the path if it doesn't already exist. mount Mount the remote as file system on a mountpoint. move Move files from source to dest. moveto Move file or directory from source to dest. ncdu Explore a remote with a text based user interface. obscure Obscure password for use in the rclone config file. purge Remove the path and all of its contents. rc Run a command against a running rclone. rcat Copies standard input to file on remote. rcd Run rclone listening to remote control commands only. rmdir Remove the path if empty. rmdirs Remove empty directories under the path. serve Serve a remote over a protocol. settier Changes storage class/tier of objects in remote. sha1sum Produces an sha1sum file for all the objects in the path. size Prints the total size and number of objects in remote:path. sync Make source and dest identical, modifying destination only. touch Create new file or change file modification time. tree List the contents of the remote in a tree like fashion. version Show the version number.

Use "rclone [command] --help" for more information about a command. Use "rclone help flags" for to see the global flags. Use "rclone help backends" for a list of supported services.

lucpeng777 commented 3 years ago

yes, same I downloaded from the link you(whitewhindow) gave me, ran the executable in the zip folder downloaded, and the above output shows.

whitewhidow commented 3 years ago

yes, same I downloaded from the link you(whitewhindow) gave me, ran the executable in the zip folder downloaded, and the above output shows.

ah its just the executable ? i thought it would have been an installer, yes the executable will ofcourse just give that output

but the rclone command/executable needs to be globally available ("installed" / added to $PATH var) so that it can be ran from anywhere, not just from the folder that the executable is in. Which is what the command from earlier, the actual install, should have taken care of but for some reason is not. (verify by running the rclone command from the terminal, in a different location than the folder where the executable is currently actually placed, the command will say not found)

To manually do what the installer should have done for you, add the directory that you downloaded, that contains the rclone directory, to your mac's PATH variable.

How to add a directory to PATH on osx -> https://osxdaily.com/2014/08/14/add-new-path-to-path-command-line/ (include bottom part, "Setting PATH in Shell Profile" to make changes persistant) (might differ slightly on your osx version) What is PATH variable? -> https://superuser.com/a/284351 (just for your info)

gpolanco21 commented 3 years ago

I am not getting anything from following those links. Lucpeng777 I hope you get it. if you could post the code you plug in, that would be awesome.

lucpeng777 commented 3 years ago

whitewhidow, I'm really confused by the instructions on the website as well. I did as they said and ended up with this mostorous path. i honestly dk how to code in terminal. I also have no idea how to add the changes I made to PATH to my profile to persist. (BTW the profile name in the screenshot is obviously my fake name, so to the people trying to do stuff, don't bother trying)

Screen Shot 2020-12-11 at 6 47 03 PM
whitewhidow commented 3 years ago

I also have no idea how to add the changes I made to PATH to my profile to persist.

thats why i went out of my way to give you those 2 links

either properly add the rclone directory to path (or copy the rclone exectuable to an existing PATH directory instead (/usr/local/bin) )

so that rclone becomes available, and sidenoder can use it ....

lucpeng777 commented 3 years ago

ummmm, i read the two links you sent me and really tried to understand what's written on them, but I'm afraid I still don't have much of a clue on what to type into my terminal besides what I sent to you. Would you mind sending me the line of code you think i should type onto the terminal and I can do so and let you know how that works? Please, thank you.

](url)

whitewhidow commented 3 years ago

i cant just send copy paste commands because it depends on certain factors.

just copy the rclone executable into the usr/local/bin directory, this will also take care of it

(as opposed to adding the new rclone directory to PATH, you just add the rclone executable an the existing PATH directory)

gpolanco21 commented 3 years ago

Got it working, thank you.

Steve-just-steve commented 3 years ago

Had this happen also. Thank you for taking time to explain it not to mention all your work on this. What a treat. Thanks!

whitewhidow commented 3 years ago

Had this happen also. Thank you for taking time to explain it not to mention all your work on this. What a treat. Thanks!

you're welcome, thank YOU for taking the time to search trough existing issues before just re-posting the same thing again !

saurabh-jadhav-09 commented 2 years ago

Exact same error for me but on windows, since windows does not have a bin directory what am i supposed to do?