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

How to check logs? #150

Open
mihalt opened this issue Apr 23, 2024 · 5 comments
Open

How to check logs? #150

mihalt opened this issue Apr 23, 2024 · 5 comments

Comments

@mihalt
Copy link

mihalt commented Apr 23, 2024

At first I had problems with detection what happend, when I put wrong client_id. As I understand it couldn't register on Google Drive and by this reason wasn't able to create rclone.conf. But I had on ansible log just info that rclone.conf wasn't found. It was not very easy task to understand that it is not connected with permissions like in this issue etc.

At second, when it is not connected by any reasons via rclone_mounts I see that command was successful. If I use pure rclone I can use --log-file like this:

sudo rclone mount GoogleDriveRemote:directory /directory/ --allow-non-empty --vfs-cache-mode writes --log-level INFO --log-file /home/user/GoogleDriveRemote.log
@mihalt
Copy link
Author

mihalt commented Apr 23, 2024

Additionally would be good to have opportunity to write command options by myself. For example I have a lot of problems with permissions of mounted folder, because I can't define in your config --allow-other https://rclone.org/commands/rclone_mount/#options

@stefangweichinger
Copy link
Owner

the rclone_mount feature was only recently added in #148

Maybe @babidi34 could help enhancing this sub-feature.

Thanks for your feedback.

@stefangweichinger
Copy link
Owner

Additionally would be good to have opportunity to write command options by myself. For example I have a lot of problems with permissions of mounted folder, because I can't define in your config --allow-other https://rclone.org/commands/rclone_mount/#options

#154 might help here, and was released in 0.1.6 today

As far as I understand this issue contains two issues, right?

@mihalt
Copy link
Author

mihalt commented Jul 27, 2024

Additionally would be good to have opportunity to write command options by myself. For example I have a lot of problems with permissions of mounted folder, because I can't define in your config --allow-other https://rclone.org/commands/rclone_mount/#options

#154 might help here, and was released in 0.1.6 today

As far as I understand this issue contains two issues, right?

I shouldn't pass extra flag rclone mount --daemon, right?

@mihalt
Copy link
Author

mihalt commented Sep 29, 2024

Additionally would be good to have opportunity to write command options by myself. For example I have a lot of problems with permissions of mounted folder, because I can't define in your config --allow-other https://rclone.org/commands/rclone_mount/#options

#154 might help here, and was released in 0.1.6 today

As far as I understand this issue contains two issues, right?

Your current state of mount doesn't work for me. rclone config even not creates. Looks like that you have an error here

[Service]
Type=simple
ExecStart=/usr/local/bin/rclone mount '{{ item.remote_name }}':{{ item.remote_path }} {{ item.local_path }} --allow-non-empty {{ item.extra_args }}

And in fact I get on output

[Service]
Type=simple
ExecStart=/usr/local/bin/rclone mount 'GoogleDriveRemote':/remote/path --allow-non-empty --allow-other --allow-non-empty  --log-level INFO --log-file  /var/log/GoogleDriveRemote.log

And should be without ''
ExecStart=/usr/local/bin/rclone mount GoogleDriveRemote:/remote/path — when I delete '' and restart service everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants