Comments (22)
(and sorry if my comment earlier was sounding rude - its just very scary if a plugin deletes files from the server. wasnt meant to sound rude in any way ... its amazing what you do and i really have the most respect for anything that all you amazing plugin people do!!! this is really the coolest community and i am super thankful, that you are so responsive and made this plugin in the first place!!)
from obsidian-github-publisher.
1/ I need your configuration and plugin version. This bug must be fixed in the late version (4.11.16)
2/ You can disable auto-clean
3/ You can revert the PR to restore your file.
this is not working reliable - and deleting files is fatal!!
This is pretty disrespectful to say on a plug-in coded by an alone people for free.
from obsidian-github-publisher.
Plugin Version was 4.11.15rc4; but auto-clean was off
ill check again with the current version
from obsidian-github-publisher.
Again, I need a data.json configuration, the repo where you tried to upload and a example note.
from obsidian-github-publisher.
with the newest version it does not find changes and new files when hitting "Refresh published and upload new notes"
from obsidian-github-publisher.
{
"githubRepo": "",
"githubName": "",
"GhToken": "***",
"githubBranch": "main",
"shareKey": "share",
"excludedFolder": [],
"fileMenu": true,
"editorMenu": true,
"downloadedFolder": "fixed",
"folderDefaultName": "Obsidian/Arne",
"yamlFolderKey": "",
"rootFolder": "",
"workflowName": "",
"embedImage": true,
"defaultImageFolder": "",
"autoCleanUp": false,
"autoCleanUpExcluded": [],
"folderNote": false,
"folderNoteRename": "index.md",
"convertWikiLinks": false,
"convertForGithub": false,
"subFolder": "",
"embedNotes": false,
"copyLink": false,
"mainLink": "",
"linkRemover": "",
"hardBreak": false,
"logNotice": false,
"convertDataview": false,
"useFrontmatterTitle": false,
"censorText": [],
"inlineTags": false,
"dataviewFields": [],
"excludeDataviewValue": [],
"metadataFileFields": [],
"frontmatterTitleKey": "title",
"shareExternalModified": false,
"automaticallyMergePR": true,
"metadataExtractorPath": "",
"convertInternalNonShared": false,
"frontmatterTitleRegex": "",
"frontmatterTitleReplacement": "",
"ExcludedFolder": []
}
from obsidian-github-publisher.
with the newest version it does not find changes and new files when hitting "Refresh published and upload new notes"
Try to force re-upload, then.
from obsidian-github-publisher.
uploading single files does work. just the other command is not ... says "no new files"
from obsidian-github-publisher.
It's pretty strange that it deleted file if you use the fixed repository.... I need to check in the code, then
from obsidian-github-publisher.
How works the upload all commands?
from obsidian-github-publisher.
i added a few files without the "share" tag manually (as i have a few hundred files and open one by one adding yaml is timeconsuming for those old files) ... upload all tried to delete them all. I quit obsidian
from obsidian-github-publisher.
When trying to debug this, remove the auto-merging pull-request. It will help to prevent restoring in loop the deleted file, while allowing checking the push.
from obsidian-github-publisher.
BTW the file won't be deleted in your vault! Only in your repository. If they don't have the share:key
and not in your repo, nothing will happend.
Do you have the log message about deleting file ?
from obsidian-github-publisher.
Okay, I think i found the error, could you try to download the beta ? You can do it using BRAT or manually!
from obsidian-github-publisher.
I had to leave the office ... will check tomorrow! thanks!
from obsidian-github-publisher.
Hello! Any update ?
from obsidian-github-publisher.
I am so sorry. I am running from one meeting to the next … hope I have an hour at the office tomorrow
from obsidian-github-publisher.
Take your time! Good luck at your job :)
from obsidian-github-publisher.
Hello!
I'm sorry, I wait for your message/reply before pushing the beta to prod!
from obsidian-github-publisher.
hi, so sorry ... i am on a shoot with 16h days ... i will be back on my obsidian hopefully soon - but could be that i am shooting until march ...
can you post a link to the beta here so i can download? dont know what "brat" is. 😬 will try to do it on the weekends somehow. cant guarantee thou - really sorry bout that
from obsidian-github-publisher.
This may not be the same bug since I didn't get an error saying the repo was empty, but when I tried to update my repo today, every single note got deleted with no warning and no apparent errors. Disabling auto clean didn't help, uploading single files didn't work. I was initially using version 5.3.1, then tried again after updating to 5.3.2 with the same problem, no new notes were uploaded. Every pull request only contained my attachments, never any .md files, even though the plugin appeared to be working normally, even with notice every error enabled.
I tried downgrading to a few different older versions, same problem every time, until ultimately I landed on 4.12.0 where it finally started working again. But on that version, while uploading the whole vault works, uploading a single note causes every other note to be deleted when auto clean is enabled. Downgraded again to 4.11.0 and the same behavior happens. I don't have any more information, unfortunately.
Sorry for being unhelpful, but at this point I just want my workflow to work so I'm going to stick with the old version and just deal with the fact that I have to upload the whole vault for every update if I want auto clean, but wanted to at least confirm that there is in fact something going wrong somewhere.
from obsidian-github-publisher.
Please, reopen a issue with your configuration, command used, log to get more help.
Please keep in mind that I code GitHub Publisher entirely alone, for free.
from obsidian-github-publisher.
Related Issues (20)
- [Bug]: Gives me an error code when I try to upload, but creates branch on GitHub? HOT 2
- [bug]: Refresh published and upload new notes ⇒ upload all notes
- [Bug]: Files uploading with empty content HOT 6
- Set a specific options for an entire folder/multiple file
- [Bug]: When "Sluglify anchor in markdown links" is turned on, the Chinese characters of the anchor content will be deleted. HOT 4
- [Bug]: frontmatter repeat HOT 9
- [Bug]: Internal links grayed out / displayed as class=" not found" on GH Pages HOT 15
- [FR]: Make Dataview conversion compatible with Plugin Groups plugin HOT 3
- [Bug]: Couldn't upload Attachments with Obsidian folder structure while using the Folder Path replacer HOT 1
- [Bug]: Compatibility issue with Excalidraw plugin HOT 6
- [FR]: Option to use different github tokens for additional repos HOT 2
- [FR]: Convert Inline Dataview Queries to Markdown HOT 10
- [Bug]: Cannot use repository on Github Enterprise instance with rate limiting disabled. HOT 12
- [Bug]: Folder Path & File Name Replacer doesn't work on dataview content HOT 3
- [Bug]: Broken link HOT 2
- [Bug]: excalidraw is transformed to svg,bug the link path is not changed HOT 2
- [FR]: 'Delete all before publish' option HOT 1
- [Bug]: [[Wikilinks]] to [MDlinks](links) not working with headers links HOT 4
- [FR]: Allow upload of files not natively handled by Obsidian HOT 5
- [Bug]: File name replacement regex applied to attachment file paths HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-github-publisher.