Skip to content

Commit 35e9da6

Browse files
committed
enh(faq): Document steps to recover from failsafe
1 parent c16bd14 commit 35e9da6

File tree

1 file changed

+71
-22
lines changed

1 file changed

+71
-22
lines changed

pages/faq.vue

Lines changed: 71 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@
77
append-icon="mdi-magnify"
88
class="mt-2 mb-4"
99
v-model="searchQuery"
10-
label="Search questions..."/>
10+
label="Search questions..."
11+
/>
1112
<div v-for="faq in filteredFaqs" :key="faq.question" class="mt-5">
1213
<v-card class="mb-5 mr-5" rounded>
13-
<v-card-title
14-
style="cursor: pointer"
15-
@click="faq.show = !faq.show"
16-
>{{ faq.question }}
14+
<v-card-title style="cursor: pointer" @click="faq.show = !faq.show"
15+
>{{ faq.question }}
1716
<v-spacer></v-spacer>
1817
<v-btn icon>
1918
<v-icon>{{
20-
faq.show ? 'mdi-chevron-up' : 'mdi-chevron-down'
21-
}}</v-icon>
19+
faq.show ? 'mdi-chevron-up' : 'mdi-chevron-down'
20+
}}</v-icon>
2221
</v-btn>
2322
</v-card-title>
2423
<v-expand-transition>
@@ -38,7 +37,9 @@
3837
<v-col cols="10" sm="8">
3938
<p>
4039
Have a problem with floccus that isn't covered here?
41-
<a href="https://github.com/floccusaddon/floccus/issues">File an issue on GitHub</a>
40+
<a href="https://github.com/floccusaddon/floccus/issues"
41+
>File an issue on GitHub</a
42+
>
4243
</p>
4344
<p>
4445
How does Floccus deal with your personal data?
@@ -76,7 +77,8 @@ The only mobile browser to support extensions that interact with bookmarks is cu
7677
answer: `Firefox for Android is making strides to support more addons. Floccus requires specific bookmarks APIs, however, which have not been implemented in Firefox for Android yet. So, we still wait, but the waiting won't be long.`,
7778
},
7879
{
79-
question: 'Does floccus sync my bookmarks with end-to-end encryption?',
80+
question:
81+
'Does floccus sync my bookmarks with end-to-end encryption?',
8082
answer: `Floccus offers multiple sync methods. Only the WebDAV and the Google Drive option allow setting an encryption password to sync with end-to-end encryption. Syncing via Nextcloud Bookmarks or Git is not possible in end-to-end encrypted fashion with floccus.`,
8183
},
8284
{
@@ -88,7 +90,7 @@ The only mobile browser to support extensions that interact with bookmarks is cu
8890
{
8991
question: 'Does floccus support separators in Firefox?',
9092
answer:
91-
'Yes. Separators are synced even to Browsers that don\'t support them natively using bookmarks as substitutes. When using Nextcloud Bookmarks you currently can only have one separator per folder.',
93+
"Yes. Separators are synced even to Browsers that don't support them natively using bookmarks as substitutes. When using Nextcloud Bookmarks you currently can only have one separator per folder.",
9294
},
9395
9496
{
@@ -141,34 +143,62 @@ If you are missing some toplevel folders on a browser, try setting a different l
141143
After two hours of trying floccus should override the lock and finally start syncing again. If this doesn't happen for you, please have a look at the issues section on the floccus github repository and perhaps file a new issue there.`,
142144
},
143145
{
144-
question: "I'm seeing 'Failed to map parentId' errors. What can I do?",
146+
question:
147+
"I'm seeing 'Failed to map parentId' errors. What can I do?",
145148
answer: `This error indicates that something went wrong during the sync. The developers are aware of these errors and are working on fixing all instances of them. In the meantime you can try to trigger a sync from scratch in the settings of the profile that errored. Make sure you have a backup of your bookmarks before you do this, and check your bookmarks for deleted bookmarks that may have come back. You can be sure that nothing will be deleted in this step, though.`,
146149
},
147150
{
148-
question: "I'm seeing 'E035: Failed to create bookmark on the server' errors . What can I do?",
151+
question:
152+
"I'm seeing 'E035: Failed to create bookmark on the server' errors . What can I do?",
149153
answer: `This error can happen with older versions of Nextcloud Bookmarks. An update to the latest version should fix this. If it doesn't, please file an issue on the floccus or Nextcloud Bookmarks github repositories.`,
150154
},
151155
{
152-
question: "I'm seeing 404 errors with the Linkwarden sync method. What can I do?",
156+
question:
157+
"I'm seeing 404 errors with the Linkwarden sync method. What can I do?",
153158
answer: `This error can happen with older versions of Linkwarden. An update to the latest version should fix this. If it doesn't, please file an issue on the floccus github repository.`,
154159
},
155160
{
156-
question: "I am receiving a 401 HTTP error when trying to set up Floccus with Git. What can I do?",
161+
question:
162+
'I am receiving a 401 HTTP error when trying to set up Floccus with Git. What can I do?',
157163
answer: `Try setting up a device token and using that instead of your personal password. The steps for this can vary depending on the service you are using, but you can find more information here: https://github.com/floccusaddon/floccus/discussions/1655`,
158164
},
159165
{
160-
question: "I'm seeing 'E034: Remote bookmarks file is unreadable.' errors. What can I do?",
166+
question:
167+
"I'm seeing 'E034: Remote bookmarks file is unreadable.' errors. What can I do?",
161168
answer: `This error can happen e.g. after you have shutdown your computer while floccus was running. Sometimes that leads to only parts of the bookmarks file getting uploaded, which floccus notices and stops the sync. You can remedy this situation by deleting the file on the server and triggering a sync with floccus, ideally on the device that you last made changes on. Floccus will then re-upload the whole file.`,
162169
},
163170
{
164171
question: "Can I use floccus on Kagi's Orion browser?",
165172
answer: `Yes, since floccus v5.6 you should be able to install the extension from the Chrome Web Store. (You may have to restart the browser once before it starts working.)`,
166173
},
167174
{
168-
question: "When logging in with Google, I get the following error: 'You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.' What can I do?",
175+
question:
176+
"When logging in with Google, I get the following error: 'You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.' What can I do?",
169177
answer: `You're likely using a browser that is not supported by Google's OAuth login service, e.g. Ungoogled Chromium is such a browser. You can still set up a Google Drive sync profile by setting it up on a supported browser, exporting that profile to a file and importing it into the unsupported browser.`,
170178
},
171-
].map(faq => ({...faq, show: false})),
179+
{
180+
question:
181+
"I get the following error: 'Failsafe: The current sync run would delete x% of your local/remote links in this profile.'",
182+
answer: `The error means that floccus' failsafe has kicked in, which prevents floccus from unintended deletion of too much data (or unintended duplication). This may happen because somehow the file on your server got emptied or you deleted a lot of bookmarks (or tabs) in one go on the current or a different device.
183+
184+
If the local bookmarks in the current browser are correct, You can
185+
186+
1. Go to the settings for your floccus profile
187+
2. Disable the failsafe
188+
3. Set the sync strategy to "Upload local changes and revert changes from other browsers".
189+
4. Click "Save"
190+
5. Then click sync in the floccus overview panel. This will push the state of your bookmarks on that browser to the server, after that normal sync should succeed again without the failsafe kicking in. That means you can Enable the failsafe again now and set sync strategy back to merge.
191+
192+
If, on the other hand, the state on the server is the correct version of your set of bookmarks, you can
193+
194+
1. Go to the settings for your floccus profile
195+
2. Disable the failsafe
196+
3. Set the sync strategy to "Revert local changes and download changes from other browsers".
197+
4. Click "Save"
198+
5. Then click sync in the floccus overview panel. This will force the current state of the server onto your browser, after that normal sync should succeed again without the failsafe kicking in. That means you can Enable the failsafe again now and set sync strategy back to merge.
199+
`,
200+
},
201+
].map((faq) => ({ ...faq, show: false })),
172202
}
173203
ret.filteredFaqs = ret.faqs
174204
return ret
@@ -180,15 +210,34 @@ After two hours of trying floccus should override the lock and finally start syn
180210
return
181211
}
182212
const queries = this.searchQuery.toLowerCase().split(' ')
183-
this.filteredFaqs = this.faqs.filter(faq => queries.every(query => faq.question.toLowerCase().includes(query)) || queries.every(query => faq.answer.toLowerCase().includes(query)))
184-
}
213+
this.filteredFaqs = this.faqs.filter(
214+
(faq) =>
215+
queries.every((query) =>
216+
faq.question.toLowerCase().includes(query)
217+
) ||
218+
queries.every((query) => faq.answer.toLowerCase().includes(query))
219+
)
220+
},
185221
},
186222
head: {
187223
title: 'Frequently Asked Questions',
188224
meta: [
189-
{ hid: 'description', name: 'description', content: 'Floccus offers seamless cross-browser bookmarks syncing, here you can find all the answers to your questions.' },
190-
{ hid: 'og:title', property: 'og:title', content: 'Frequently Asked Questions - Floccus bookmarks sync' },
191-
{ hid: "twitter:title", name: "twitter:title", content: 'Frequently Asked Questions - Floccus bookmarks sync' },
225+
{
226+
hid: 'description',
227+
name: 'description',
228+
content:
229+
'Floccus offers seamless cross-browser bookmarks syncing, here you can find all the answers to your questions.',
230+
},
231+
{
232+
hid: 'og:title',
233+
property: 'og:title',
234+
content: 'Frequently Asked Questions - Floccus bookmarks sync',
235+
},
236+
{
237+
hid: 'twitter:title',
238+
name: 'twitter:title',
239+
content: 'Frequently Asked Questions - Floccus bookmarks sync',
240+
},
192241
],
193242
},
194243
}

0 commit comments

Comments
 (0)