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

Sync not working from [local] to [remote] #77

Open
LSDSumus opened this issue Nov 16, 2023 · 0 comments
Open

Sync not working from [local] to [remote] #77

LSDSumus opened this issue Nov 16, 2023 · 0 comments

Comments

@LSDSumus
Copy link

LSDSumus commented Nov 16, 2023

Running ols on a M2 Mac with a terminal Python environment and running into a problem where changes made to my project locally aren't updated on the site when running ols -l after applying the changes in #66 to fix the GCLB cookies error.

Remote to local syncing works as it should, but when trying it the other way around I'm unable to both update or delete older files and create newer ones, only creating missing folders and subfolders, but without bringing over any of their contents.

Also, files actually do get deleted from the remote version when stated.

I have an .olignore file set up to ignore the output file and the environment folder, which is created here since I'm running the terminal from the project folder itself, but deleting it doesn't solve the problem.

I do not get any errors, these are the messages I get when running ols -l -v:

Project queried successfully.
✅  Querying project
Project details queried successfully.
✅  Querying project details
Project downloaded successfully.
✅  Downloading project
========================================

.olignore: using .olignore to filter items
========================================

.olignore: using .olignore to filter items
========================================

.olignore: using .olignore to filter items

Syncing files from [local] to [remote]
========================================

-> Warning: file <Test file remote.tex> does not exist on [local] anymore (but it still exists on [remote]).
Should the file be [d]eleted, [r]estored or [i]gnored? (d, r, i) [i]: d

[NEW] Following new file(s) created on [remote]
	Test folder/Test file 2.pdf
	Test folder/Test subfolder/Test file 3.pdf
	Test file 1.pdf

[NEW] Following new file(s) created on [local]

[UPDATE] Following file(s) updated on [remote]
	main.tex

[DELETE] Following file(s) deleted on [remote]
	Test file remote.tex # Actually gets deleted

[SYNC] Following file(s) are up to date

[SKIP] Following file(s) on [local] have not been synced to [remote]

[SKIP] Following file(s) on [remote] have not been synced to [local]

✅  Synced files from [local] to [remote]
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

1 participant