-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Search: An unknown error occurred #3862
Comments
Hi @helson22,
|
Hi Dan, thanks for your fast reply :-) I do all you suggest on your documentation-pages. Installed with ubuntu script: Updating like this: I do not anything from your second question.
|
Okay, looks like it's on the original line of code, just in a very messy state for some reason. Maybe like someone has tried to upate via manually copying/uploading files. I see a custom Before the below, please backup everything, so the whole machine or the database and files. Just in the event things go wrong and you lose content. Once done try running |
Ok, I'sure that nobody copied files manually but obviously there is something wrong... The owa is a open web analytics folder. I deleted it because it's not in use - because I have no clue how to make it run within Bookstack folder and without subdomain... Do you think all might be OK when updating to the next version or is this probably not true? |
If you've done the above, and have reset files to their expected sate, then you should be fine in the future since your code is now as expected, but hard to say for sure without knowing what caused this set of changes originally. |
Ok,
HEAD is now at 2ac9efa Updated version and assets for release v22.09 then On branch release Untracked files: Do you think I can safely update to latest version now? |
You still have a lot of extra files that are part of future updates, might cause problems. |
Hi, thanx for responding so fast :-) I've done Removing .env.bak Then On branch release Untracked files: nothing added to commit but untracked files present (use "git add" to track) |
Now I get a white page when I want to access bookstack |
Go through the update process, one command at a time, recording output and sharing any errors that occur. |
Error at first command
From https://github.com/BookStackApp/BookStack
Stopped procedure now due to abort. Any Ideas? :-)
|
Delete the |
Ok, question who should own all the files an directories? www-data? Can different permissions cause such mess? From https://github.com/BookStackApp/BookStack
git status On branch release Changes not staged for commit: Untracked files: no changes added to commit (use "git add" and/or "git commit -a") Sorry is there a possibility to make such text block collapsable? |
Depends on the directory and the login user you want to use for updates and stuff. |
Here you can see the difference form two folders of the resources/lang directory ro and de for example adm-bookstack@xxxxxxxxx :/var/www/bookstack$ ls -la resources/lang/ro As you can see the owner and group is root in ro-folder since in de-folder ist adm-bookstack what it should be I think. Actually I don't know how this could happened. |
Hello again, I set permissions, owner and groups as suggested. Still getting git error. I also get the white page when I try accessing bookstack in browser. Even if I rename the messy Folder and copy the whole Bookstack Folder from Backup to /var/www/bookstack Not so funny now :-( I have made backup from the whole bookstack directory as mentioned above an a phpmyadmin mysql backup. Is there a cleaner way without trying around with th messy installation? Should I reinstall? How? Thank you in advance! |
I'm not clear what is currently messy. |
I'm sorry. The git pull command aborts and throws error (#3862 (comment)) I "compressed" the output above an post it here again, would be easier for you I think. error: Your local changes to the following files would be overwritten by merge: in the middle of the huge list above following shows up: I don't know if this is ok or not - I guess not.
On branch release Changes not staged for commit: Untracked files: no changes added to commit (use "git add" and/or "git commit -a") |
Okay, you're still not at a clean state for some reason.
|
Hi again, done till number 5 with no errors I think. This time I attached a TXT with all the output. For me it looks good. If it looks good for you too I can proceed, I guess? Or have I missed something? |
I had a second look at the output. Is this normal behaviour, that some of the entries seem not completed? There are a few that show no 100%. Is this severe? |
Hello Dan, I figured out that the precentage is a GIT similarity index. That's why I tried to continue the update procedure and it worked! Thank you very, very much for your help! - Keep up the good work! :-) BR |
Ah, apologies, I forgot to respond to the above. |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Afteer Update to latest v22.10.2 search shouts at me with "An unknown error occurred". Also, when trying to create a link in HTML Editor an search for existing content/link - the some content is displayed but search within this dialogou only shows the falling dots.
In the logs section below I posted log-file contents after doeing a search. I treid to do the update procedure a second time. The console output is also shown below.
Exact BookStack Version
v22.10.2
Log Content
PHP Version
8.1.2-1ubuntu2.8
Hosting Environment
Ubuntu 22.04.1 LTS
The text was updated successfully, but these errors were encountered: