Menu

Can't create bookmarks in portable mode 47.0

2016-09-03
2016-09-03
  • - 2016-09-03

    In portable mode, bookmarks can't be created. Ctrl-D and clicking the bookmark star do nothing. If you right-click in the bookmarks toolbar, the "New Bookmark", "New Folder", and "New Separator" options are greyed out. "Add New Bookmark" option in that context menu is not greyed out, but it does nothing.

    Please look over my steps to reproduce and advise what else I can try. Thanks in advance.

    1. Perform Custom installation of Light to a directory on a USB drive [mine: G:\apps\Light]. This is a clean install after deleting that same directory where it was previously installed.
    2. Launch Light for the first time for this installation.
    3. Observe that at this time, pages can be bookmarked (note the colored 'bookmarked' star on the right) and the context menu items mentioned above are not greyed out. The bookmark bar is populated with items. https://i.sli.mg/I1rEXq.png
    4. Rename G:\apps\Light\browser\custom_t.ini to custom.ini and replace the contents with:
    [Option]
    Custom=1
    -----------------------------------------------------------
    [UserDataDir]
    IsRelative=1
    Path=../profile
    isCompact=1
    -----------------------------------------------------------
    [TOption]
    Custom=1
    -----------------------------------------------------------
    [TempDir]
    IsRelative=1
    Path=../cache
    isCompact=1
    -----------------------------------------------------------
    [PluginDir]
    Custom=1
    IsRelative=1
    Path=../plugins
    
    1. Launch Light again. The profile and cache folders are created. The "Import Settings and Data" wizard appears.
    2. Select "Don't import anything." Light launches. The plugins folder is created.
    3. Browse to a website. Observe that the right-click context menu of the bookmarks toolbar has changed. The items mentioned above are greyed out, and again it is impossible to bookmark a page as described. https://i.sli.mg/jKs0Iw.png
    4. Close Light.
    5. Browse to G:\apps\Light\profile\Profiles\1tyqvstu.default . These files exist there:
      places.sqlite
      places.sqlite.corrupt
      places.sqlite-shm
      places.sqlite-wal
      xulstore.json
    6. https://support.mozilla.org/en-US/kb/cant-add-change-or-save-bookmarks says "If you can't add new bookmarks or if changes you make to the toolbar are not saved when you restart Firefox, see Changes to toolbars and window sizes are not saved."
    7. https://support.mozilla.org/en-US/kb/changes-toolbars-and-window-sizes-are-not-saved says this may be addressed by deleting xulstore.json.
    8. Delete xulstore.json and launch Light again. The issue persists.
    9. Close Light.
    10. Delete all of the places.sqlite* files and the newly created xulstore.json. Launch Light again.
    11. All five of the files mentioned above are created again. The issue persists.
    12. http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox -- attempt the solution under "Problems limited to bookmarks" (create a bookmarks backup and then restore it). While trying to back up the bookmarks, the .json backup file is not written to the specified location and no error message is given.
    13. Attempt "Rebuild Places database" section in the link above:
    14. Close Light.
    15. Delete all of the places.sqlite* and xulstore.json again.
    16. The bookmarkbackups directory is already empty, so it turns out this attempt doesn't differ from what was already tried in step 14.
    17. Open Light again and see that the issue persists.
    18. Close Light and try the solution in "If a places.sqlite.corrupt file exists" section in the link above (rename places.sqlite.corrupt to places.sqlite and delete all other places.sqlite* files).
    19. The issue persists. All of the places.sqlite* files EXCEPT places.sqlite.corrupt are created.
    20. Install the Places Maintenance add-on mentioned in the above link and as it says "run the extension with all of the options enabled". Turns out there is no chance to specify these options -- The extension stays on the first step of "Fetching stats..." indefinitely.
    21. Try step 14 again. The bookmarkbackups directory is still empty. The issue persists. xulstore.json and all four places.sqlite* files are created again, including places.sqlite.corrupt.
    22. https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Places/places.sqlite_Database_Troubleshooting#How_to_(try_to)_recover_from_a_corrupt_places.sqlite
      26.
    jack@earth[~]+ sqlite3 places.sqlite.corrupt
    SQLite version 3.12.0 2016-03-29 10:14:15
    Enter ".help" for usage hints.
    sqlite> PRAGMA integrity_check;
    ok
    sqlite>
    
    1. "If the result IS OK, this guide won't help; stop here and please file a bug."
    2. In step 16, the .json bookmarks backup file was not written. In addition, no file is written when attempting to export bookmarks to an HTML file.
    3. http://kb.mozillazine.org/Unable_to_export_bookmarks_to_HTML_file_-_Firefox
    4. Disable all extensions, consisting of "Places Maintenance" and "Firefox Hotfix". The bookmarks still cannot be backed up.
    5. The article says: "Bookmarks and browsing history are stored in the Places database file "places.sqlite". If this file is damaged or missing certain bookmark entries, the export function will fail. [7] If you have a recent profile backup you can replace the original "places.sqlite" with the backup copy. If you have no backup or if it doesn't resolve the issue, you can force Firefox to create a new copy of places.sqlite and rebuild the Places database. Close Firefox completely, open the Firefox profile folder and remove (or rename) all files named "places.sqlite", including "places.sqlite.corrupt" files and "places.sqlite-journal", if found. When you next start Firefox, "places.sqlite" will be rebuilt and your bookmarks will be automatically restored from the most recent JSON backup (however, this will remove your browsing history of recently visited pages)."
    6. Close Light and delete all of the places.sqlite* but do not delete xulstore.json. The bookmarkbackups folder is still empty.
    7. Launch Light. All of the listed files including places.sqlite.corrupt are created again, and the issue persists.
    8. Close Light.
    9. In the Windows Run dialogue, enter: G:\apps\Light\light.exe -P
    10. The Profile Manager is opened. Create a new profile and launch Light using that profile.
    11. The issue persists under the new profile. The new profile also has a places.sqlite.corrupt file.
    12. Give up
     
    • Anonymous

      Anonymous - 2019-06-06
      Post awaiting moderation.
    • Anonymous

      Anonymous - 2019-06-11
      Post awaiting moderation.
    • Anonymous

      Anonymous - 2019-06-21
      Post awaiting moderation.
    • Anonymous

      Anonymous - 2019-06-25
      Post awaiting moderation.

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.