question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing questions in default space after update to 1.32.1, only visible to admin users

See original GitHub issue

This is an explanation and a solution to the problem of missing questions after an update to 1.32.1.

Previously, everyone in the default space could see questions posted in other spaces but couldn’t access those. This was an unpleasant bug which is now fixed. The side effect of that fix is that all your questions don’t have any space assigned and hence appear hidden. Having a blank space value for a question used to mean that it’s in the default space but now this must be explicitly set.

The way to solve this is to login as admin, clear the postviews cookie and visit every question. This will update the view count but also set the default space to scooldspace:default on each question object. Eventually all questions will be visible to your regular users.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sostercommented, Jul 29, 2019

I could solve it this way:

  • Get the database file from the server and locally start a h2 server with this file
  • Connect to the server with the h2 server webinterface
  • Use this select statement: select * from para_scoold where type='question';
  • Copy the ID of each question
  • Use this url: /question/[id]/some-text
  • set the namespace for the question. Sometimes this is not working, then you can add a comment to the question
0reactions
albogdanocommented, Jul 29, 2019

If you are admin you should be seeing all questions no matter what. Are you sure you’re in the default space? I guess you could do a mass update with an SQL command but I’m not sure how. You need to change just a single field in a column containing a JSON string.

Read more comments on GitHub >

github_iconTop Results From Across the Web

missing personal space - Confluence - Atlassian Community
Issue is happening only for this one user. User is able to see personal space sometimes, but most of the time space is...
Read more >
Visual Studio Code - Terminal Blank Screen - Stack Overflow
My solution for VSCode 1.39.2 with Ubuntu has been: File -> Preferences -> Setting -> Features -> Terminal -> Inherit Env.
Read more >
Site Page Content Type missing from Admin ... - Microsoft Learn
I was looking to update the site page content type in our production tenant only to realize it is not listed in the...
Read more >
Version 1.61.4 | Directadmin Docs
The script should attempt to use the mysql= value from the setup.txt if it exists, (else use current da_admin user/pass), ...
Read more >
Release Notes - FusionAuth
Version 1.41.0. November 10th, 2022. Database migration. The database schema has changed and an upgrade is required for this version of FusionAuth. You ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found