mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 08:39:55 +03:00
Search: An unknown error occurred #3354
Closed
opened 2026-02-05 06:26:48 +03:00 by OVERLORD
·
23 comments
No Branch/Tag Specified
development
l10n_development
further_theme_development
release
llm_only
vectors
v25-11
docker_env
drawio_rendering
user_permissions
ldap_host_failover
svg_image
prosemirror
captcha_example
fix/video-export
v25.12.3
v25.12.2
v25.12.1
v25.12
v25.11.6
v25.11.5
v25.11.4
v24.11.4
v25.11.3
v25.11.2
v25.11.1
v25.11
v25.07.3
v25.07.2
v25.07.1
v25.07
v25.05.2
v25.05.1
v25.05
v25.02.5
v25.02.4
v25.02.3
v25.02.2
v25.02.1
v25.02
v24.12.1
v24.12
v24.10.3
v24.10.2
v24.10.1
v24.10
v24.05.4
v24.05.3
v24.05.2
v24.05.1
v24.05
v24.02.3
v24.02.2
v24.02.1
v24.02
v23.12.3
v23.12.2
v23.12.1
v23.12
v23.10.4
v23.10.3
v23.10.2
v23.10.1
v23.10
v23.08.3
v23.08.2
v23.08.1
v23.08
v23.06.2
v23.06.1
v23.06
v23.05.2
v23.05.1
v23.05
v23.02.3
v23.02.2
v23.02.1
v23.02
v23.01.1
v23.01
v22.11.1
v22.11
v22.10.2
v22.10.1
v22.10
v22.09.1
v22.09
v22.07.3
v22.07.2
v22.07.1
v22.07
v22.06.2
v22.06.1
v22.06
v22.04.2
v22.04.1
v22.04
v22.03.1
v22.03
v22.02.3
v22.02.2
v22.02.1
v22.02
v21.12.5
v21.12.4
v21.12.3
v21.12.2
v21.12.1
v21.12
v21.11.3
v21.11.2
v21.11.1
v21.11
v21.10.3
v21.10.2
v21.10.1
v21.10
v21.08.6
v21.08.5
v21.08.4
v21.08.3
v21.08.2
v21.08.1
v21.08
v21.05.4
v21.05.3
v21.05.2
v21.05.1
v21.05
v21.04.6
v21.04.5
v21.04.4
v21.04.3
v21.04.2
v21.04.1
v21.04
v0.31.8
v0.31.7
v0.31.6
v0.31.5
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.7
v0.30.6
v0.30.5
v0.30.4
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.2
v0.23.1
v0.23.0
v0.22.0
v0.21.0
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.5
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.6
v0.7.5
v0.7.4
v0.7.3
0.7.2
v.0.7.1
v0.7.0
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
Labels
Clear labels
🎨 Design
📖 Docs Update
🐛 Bug
🐛 Bug
:cat2:🐈 Possible duplicate
💿 Database
☕ Open to discussion
💻 Front-End
🐕 Support
🚪 Authentication
🌍 Translations
🔌 API Task
🏭 Back-End
⛲ Upstream
🔨 Feature Request
🛠️ Enhancement
🛠️ Enhancement
🛠️ Enhancement
❤️ Happy feedback
🔒 Security
🔍 Pending Validation
💆 UX
📝 WYSIWYG Editor
🌔 Out of scope
🔩 API Request
:octocat: Admin/Meta
🖌️ View Customization
❓ Question
🚀 Priority
🛡️ Blocked
🚚 Export System
♿ A11y
🔧 Maintenance
> Markdown Editor
pull-request
Mirrored from GitHub Pull Request
No Label
🐕 Support
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/BookStack#3354
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @helson22 on GitHub (Nov 18, 2022).
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
@ssddanbrown commented on GitHub (Nov 18, 2022):
Hi @helson22,
It looks like the files of your instance are in a messy state, so the new version files are not being fully used.
git statuswithin your BookStack directory?git log -n 1within your BookStack directory?@helson22 commented on GitHub (Nov 18, 2022):
Hi Dan,
thanks for your fast reply :-)
I do all you suggest on your documentation-pages.
Installed with ubuntu script:
https://www.bookstackapp.com/docs/admin/installation/#ubuntu-2204
Updating like this:
https://www.bookstackapp.com/docs/admin/updates/
I do not anything from your second question.
git statusgives:git log -n 1shows:@ssddanbrown commented on GitHub (Nov 18, 2022):
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
owa/folder in there but that should not interfere too much.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
git reset --hard. After running that you should have a much cleanergit statusoutput since most of the code files should be reset to their expected state. Then re-run through the update commands one-at-a-time, noting the original output at each point to share if things still don't work after. Just need to hope development files have not been used at any point here.@helson22 commented on GitHub (Nov 22, 2022):
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?
@ssddanbrown commented on GitHub (Nov 22, 2022):
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.
@helson22 commented on GitHub (Dec 7, 2022):
Ok,
git reset --hard givesHEAD is now at
2ac9efaeUpdated version and assets for release v22.09then
git statussays:On branch release
Your branch is behind 'origin/release' by 161 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Untracked files:
(use "git add ..." to include in what will be committed)
.env.bak
.github/workflows/analyse-php.yml
.github/workflows/lint-php.yml
.github/workflows/test-php.yml
app/Api/ApiEntityListFormatter.php
app/Auth/Permissions/PermissionFormData.php
app/Http/Controllers/Auth/ThrottlesLogins.php
app/Http/Controllers/PermissionsController.php
app/Providers/ValidationRuleServiceProvider.php
app/Providers/ViewTweaksServiceProvider.php
database/migrations/2022_10_07_091406_flatten_entity_permissions_table.php
database/migrations/2022_10_08_104202_drop_entity_restricted_field.php
dev/docs/development.md
dev/docs/javascript-code.md
dev/docs/release-process.md
phpcs.xml
resources/icons/groups.svg
resources/icons/role.svg
resources/js/components/entity-permissions.js
resources/js/components/pointer.js
resources/js/wysiwyg/icons.js
resources/lang/el/
resources/views/form/entity-permissions-row.blade.php
tests/Auth/RegistrationTest.php
tests/Auth/ResetPasswordTest.php
tests/Helpers/EntityProvider.php
tests/Helpers/TestServiceProvider.php
Do you think I can safely update to latest version now?
@ssddanbrown commented on GitHub (Dec 7, 2022):
You still have a lot of extra files that are part of future updates, might cause problems.
You could remove these via running
git clean -fbut BACKUP ALL FILES FIRST since this command does delete files.After running that,
git statusshould show no untracked files like it does now. Then upgrading should be safe. Again though, hard to say for sure without knowing what caused this set of changes originally@helson22 commented on GitHub (Dec 7, 2022):
Hi,
thanx for responding so fast :-)
I've done
git clean -fwith folowing outputRemoving .env.bak
Removing .github/workflows/analyse-php.yml
Removing .github/workflows/lint-php.yml
Removing .github/workflows/test-php.yml
Removing app/Api/ApiEntityListFormatter.php
Removing app/Auth/Permissions/PermissionFormData.php
Removing app/Http/Controllers/Auth/ThrottlesLogins.php
Removing app/Http/Controllers/PermissionsController.php
Removing app/Providers/ValidationRuleServiceProvider.php
Removing app/Providers/ViewTweaksServiceProvider.php
Removing database/migrations/2022_10_07_091406_flatten_entity_permissions_table.php
Removing database/migrations/2022_10_08_104202_drop_entity_restricted_field.php
Removing dev/docs/development.md
Removing dev/docs/javascript-code.md
Removing dev/docs/release-process.md
Removing phpcs.xml
Removing resources/icons/groups.svg
Removing resources/icons/role.svg
Removing resources/js/components/entity-permissions.js
Removing resources/js/components/pointer.js
Removing resources/js/wysiwyg/icons.js
Removing resources/views/form/entity-permissions-row.blade.php
Removing tests/Auth/RegistrationTest.php
Removing tests/Auth/ResetPasswordTest.php
Removing tests/Helpers/EntityProvider.php
Removing tests/Helpers/TestServiceProvider.php
Then
git statusmeant:On branch release
Your branch is behind 'origin/release' by 161 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Untracked files:
(use "git add ..." to include in what will be committed)
resources/lang/el/
nothing added to commit but untracked files present (use "git add" to track)
@helson22 commented on GitHub (Dec 7, 2022):
Now I get a white page when I want to access bookstack
@ssddanbrown commented on GitHub (Dec 7, 2022):
Go through the update process, one command at a time, recording output and sharing any errors that occur.
@helson22 commented on GitHub (Dec 7, 2022):
Error at first command
git pull origin releaseFrom https://github.com/BookStackApp/BookStack
Updating 2ac9efae..bf6a6af6
error: The following untracked working tree files would be overwritten by merge:
resources/lang/el/activities.php
resources/lang/el/auth.php
resources/lang/el/common.php
resources/lang/el/components.php
resources/lang/el/editor.php
resources/lang/el/entities.php
resources/lang/el/errors.php
resources/lang/el/pagination.php
resources/lang/el/passwords.php
resources/lang/el/settings.php
resources/lang/el/validation.php
Please move or remove them before you merge.
Aborting
Stopped procedure now due to abort. Any Ideas? :-)
git statusis the same output as previous post@ssddanbrown commented on GitHub (Dec 7, 2022):
Delete the
resources/lang/el/directory and try again.@helson22 commented on GitHub (Dec 7, 2022):
Ok, question who should own all the files an directories? www-data? Can different permissions cause such mess?
From https://github.com/BookStackApp/BookStack
Updating 2ac9efae..bf6a6af6
error: Your local changes to the following files would be overwritten by merge:
.github/translators.txt
.github/workflows/test-migrations.yml
LICENSE
app/Actions/TagRepo.php
app/Actions/Webhook.php
app/Actions/WebhookTrackedEvent.php
app/Api/ListingResponseBuilder.php
app/Auth/Access/LdapService.php
app/Auth/Access/LoginService.php
app/Auth/Access/Oidc/OidcJwtSigningKey.php
app/Auth/Access/Oidc/OidcProviderSettings.php
app/Auth/Access/Oidc/OidcService.php
app/Auth/Access/Saml2Service.php
app/Auth/Permissions/EntityPermission.php
app/Auth/Permissions/JointPermissionBuilder.php
app/Auth/Permissions/PermissionApplicator.php
app/Auth/Permissions/PermissionsRepo.php
app/Auth/Permissions/SimpleEntityData.php
app/Auth/Role.php
app/Auth/UserRepo.php
app/Config/app.php
app/Config/dompdf.php
app/Config/setting-defaults.php
app/Config/snappy.php
app/Console/Commands/CopyShelfPermissions.php
app/Entities/Models/Book.php
app/Entities/Models/Bookshelf.php
app/Entities/Models/Chapter.php
app/Entities/Models/Entity.php
app/Entities/Models/Page.php
app/Entities/Models/PageRevision.php
app/Entities/Repos/BaseRepo.php
app/Entities/Repos/BookshelfRepo.php
app/Entities/Tools/BookContents.php
app/Entities/Tools/Cloner.php
app/Entities/Tools/HierarchyTransformer.php
app/Entities/Tools/PageEditActivity.php
app/Entities/Tools/PermissionsUpdater.php
app/Http/Controllers/Api/BookApiController.php
app/Http/Controllers/Api/BookshelfApiController.php
app/Http/Controllers/Api/SearchApiController.php
app/Http/Controllers/AuditLogController.php
app/Http/Controllers/Auth/ConfirmEmailController.php
app/Http/Controllers/Auth/ForgotPasswordController.php
app/Http/Controllers/Auth/LoginController.php
app/Http/Controllers/Auth/RegisterController.php
app/Http/Controllers/Auth/ResetPasswordController.php
app/Http/Controllers/Auth/Saml2Controller.php
app/Http/Controllers/Auth/SocialController.php
app/Http/Controllers/Auth/UserInviteController.php
app/Http/Controllers/BookController.php
app/Http/Controllers/BookSortController.php
app/Http/Controllers/BookshelfController.php
app/Http/Controllers/ChapterController.php
app/Http/Controllers/FavouriteController.php
app/Http/Controllers/HomeController.php
app/Http/Controllers/PageController.php
app/Http/Controllers/PageRevisionController.php
app/Http/Controllers/ReferenceController.php
app/Http/Controllers/RoleController.php
app/Http/Controllers/SearchController.php
app/Http/Controllers/TagController.php
app/Http/Controllers/UserController.php
app/Http/Controllers/WebhookController.php
app/Providers/AppServiceProvider.php
app/Providers/AuthServiceProvider.php
app/Providers/EventServiceProvider.php
app/Providers/RouteServiceProvider.php
app/Providers/ThemeServiceProvider.php
app/Settings/SettingService.php
app/Uploads/ImageService.php
app/Util/LanguageManager.php
composer.json
composer.lock
dev/api/responses/books-read.json
package-lock.json
package.json
public/dist/app.js
public/dist/code.js
public/dist/export-styles.css
public/dist/print-styles.css
public/dist/styles.css
readme.md
resources/icons/image.svg
resources/js/app.js
resources/js/code.mjs
resources/js/components/add-remove-rows.js
resources/js/components/ajax-delete-row.js
resources/js/components/ajax-form.js
resources/js/components/attachments-list.js
resources/js/components/attachments.js
resources/js/components/auto-suggest.js
resources/js/components/back-to-top.js
resources/js/components/book-sort.js
resources/js/components/chapter-contents.js
resources/js/components/code-editor.js
resources/js/components/code-highlighter.js
resources/js/components/code-textarea.js
resources/js/components/collapsible.js
resources/js/components/confirm-dialog.js
resources/js/components/custom-checkbox.js
resources/js/components/details-highlighter.js
resources/js/components/dropdown-search.js
resources/js/components/dropdown.js
resources/js/components/dropzone.js
resources/js/components/editor-toolbox.js
resources/js/components/entity-search.js
resources/js/componen
error: The following untracked working tree files would be overwritten by merge:
.github/workflows/analyse-php.yml
.github/workflows/lint-php.yml
.github/workflows/test-php.yml
app/Actions/Queries/WebhooksAllPaginatedAndSorted.php
app/Api/ApiEntityListFormatter.php
app/Auth/Permissions/PermissionFormData.php
app/Auth/Queries/RolesAllPaginatedAndSorted.php
app/Auth/Queries/UsersAllPaginatedAndSorted.php
app/Http/Controllers/Auth/ThrottlesLogins.php
app/Http/Controllers/PermissionsController.php
app/Http/Controllers/UserPreferencesController.php
app/Providers/ValidationRuleServiceProvider.php
app/Providers/ViewTweaksServiceProvider.php
app/Settings/UserShortcutMap.php
app/Util/SimpleListOptions.php
database/migrations/2022_10_07_091406_flatten_entity_permissions_table.php
database/migrations/2022_10_08_104202_drop_entity_restricted_field.php
dev/docs/development.md
dev/docs/javascript-code.md
dev/docs/release-process.md
phpcs.xml
resources/icons/groups.svg
resources/icons/role.svg
resources/icons/shortcuts.svg
resources/js/components/auto-submit.js
resources/js/components/component.js
resources/js/components/entity-permissions.js
resources/js/components/global-search.js
resources/js/components/pointer.js
resources/js/components/setting-homepage-control.js
resources/js/components/shortcut-input.js
resources/js/components/shortcuts.js
resources/js/markdown/actions.js
resources/js/markdown/codemirror.js
resources/js/markdown/common-events.js
resources/js/markdown/display.js
resources/js/markdown/editor.js
resources/js/markdown/markdown.js
resources/js/markdown/settings.js
resources/js/markdown/shortcuts.js
resources/js/services/components.js
resources/js/services/keyboard-navigation.js
resources/js/services/text.js
resources/js/wysiwyg/icons.js
resources/lang/ar/preferences.php
resources/lang/bg/preferences.php
resources/lang/bs/preferences.php
resources/lang/ca/preferences.php
resources/lang/cs/preferences.php
resources/lang/cy/preferences.php
resources/lang/da/preferences.php
resources/lang/de/preferences.php
resources/lang/de_informal/preferences.php
resources/lang/el/activities.php
resources/lang/el/auth.php
resources/lang/el/common.php
resources/lang/el/components.php
resources/lang/el/editor.php
resources/lang/el/entities.php
resources/lang/el/errors.php
resources/lang/el/pagination.php
resources/lang/el/passwords.php
resources/lang/el/preferences.php
resources/lang/el/settings.php
resources/lang/el/validation.php
resources/lang/en/preferences.php
resources/lang/es/preferences.php
resources/lang/es_AR/preferences.php
resources/lang/et/preferences.php
resources/lang/eu/preferences.php
resources/lang/fa/preferences.php
resources/lang/fr/preferences.php
resources/lang/he/preferences.php
resources/lang/hr/preferences.php
resources/lang/hu/preferences.php
resources/lang/id/preferences.php
resources/lang/it/preferences.php
resources/lang/ja/preferences.php
resources/lang/ka/activities.php
resources/lang/ka/auth.php
resources/lang/ka/common.php
resources/lang/ka/components.php
resources/lang/ka/editor.php
resources/lang/ka/entities.php
resources/lang/ka/errors.php
resources/lang/ka/pagination.php
resources/lang/ka/passwords.php
resources/lang/ka/preferences.php
resources/lang/ka/settings.php
resources/lang/ka/validation.php
resources/lang/ko/preferences.php
resources/lang/lt/preferences.php
resources/lang/lv/preferences.php
resources/lang/nb/preferences.php
resources/lang/nl/preferences.php
resources/lang/pl/preferences.php
resources/lang/pt/preferences.php
resources/lang/pt_BR/preferences.php
resources/lang/ru/preferences.php
resources/lang/sk/preferences.php
resources/lang/sl/preferences.php
resources/lang/sv/preferences.php
resources/lang/tr/preferences.php
resources/lang/uk/preferences.php
resources/lang/uz/preferences.php
resources/lang/vi/preferences.php
resources/lang/zh_CN/preferences.php
resources/lang/zh_TW/preferences.php
resources/sass/_opacity.scss
resources/views/auth/parts/login-message.blade.php
resou
Aborting
git status
On branch release
Your branch is behind 'origin/release' by 161 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add/rm ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: .github/translators.txt
deleted: .github/workflows/phpstan.yml
deleted: .github/workflows/phpunit.yml
modified: .github/workflows/test-migrations.yml
modified: LICENSE
modified: app/Actions/TagRepo.php
modified: app/Actions/Webhook.php
modified: app/Actions/WebhookTrackedEvent.php
modified: app/Api/ListingResponseBuilder.php
modified: app/Auth/Access/LdapService.php
modified: app/Auth/Access/LoginService.php
modified: app/Auth/Access/Oidc/OidcJwtSigningKey.php
modified: app/Auth/Access/Oidc/OidcProviderSettings.php
modified: app/Auth/Access/Oidc/OidcService.php
modified: app/Auth/Access/Saml2Service.php
modified: app/Auth/Permissions/EntityPermission.php
modified: app/Auth/Permissions/JointPermissionBuilder.php
modified: app/Auth/Permissions/PermissionApplicator.php
modified: app/Auth/Permissions/PermissionsRepo.php
modified: app/Auth/Permissions/SimpleEntityData.php
deleted: app/Auth/Queries/AllUsersPaginatedAndSorted.php
modified: app/Auth/Role.php
modified: app/Auth/UserRepo.php
modified: app/Config/app.php
modified: app/Config/dompdf.php
modified: app/Config/setting-defaults.php
modified: app/Config/snappy.php
modified: app/Console/Commands/CopyShelfPermissions.php
modified: app/Entities/Models/Book.php
modified: app/Entities/Models/Bookshelf.php
modified: app/Entities/Models/Chapter.php
modified: app/Entities/Models/Entity.php
modified: app/Entities/Models/Page.php
modified: app/Entities/Models/PageRevision.php
modified: app/Entities/Repos/BaseRepo.php
modified: app/Entities/Repos/BookshelfRepo.php
modified: app/Entities/Tools/BookContents.php
modified: app/Entities/Tools/Cloner.php
modified: app/Entities/Tools/HierarchyTransformer.php
modified: app/Entities/Tools/PageEditActivity.php
modified: app/Entities/Tools/PermissionsUpdater.php
modified: app/Http/Controllers/Api/BookApiController.php
modified: app/Http/Controllers/Api/BookshelfApiController.php
modified: app/Http/Controllers/Api/SearchApiController.php
modified: app/Http/Controllers/AuditLogController.php
modified: app/Http/Controllers/Auth/ConfirmEmailController.php
modified: app/Http/Controllers/Auth/ForgotPasswordController.php
modified: app/Http/Controllers/Auth/LoginController.php
modified: app/Http/Controllers/Auth/RegisterController.php
modified: app/Http/Controllers/Auth/ResetPasswordController.php
modified: app/Http/Controllers/Auth/Saml2Controller.php
modified: app/Http/Controllers/Auth/SocialController.php
modified: app/Http/Controllers/Auth/UserInviteController.php
modified: app/Http/Controllers/BookController.php
modified: app/Http/Controllers/BookSortController.php
modified: app/Http/Controllers/BookshelfController.php
modified: app/Http/Controllers/ChapterController.php
modified: app/Http/Controllers/FavouriteController.php
modified: app/Http/Controllers/HomeController.php
modified: app/Http/Controllers/PageController.php
modified: app/Http/Controllers/PageRevisionController.php
modified: app/Http/Controllers/ReferenceController.php
modified: app/Http/Controllers/RoleController.php
modified: app/Http/Controllers/SearchController.php
modified: app/Http/Controllers/TagController.php
modified: app/Http/Controllers/UserController.php
modified: app/Http/Controllers/WebhookController.php
modified: app/Providers/AppServiceProvider.php
modified: app/Providers/AuthServiceProvider.php
deleted: app/Providers/BroadcastServiceProvider.php
deleted: app/Providers/CustomFacadeProvider.php
deleted: app/Providers/CustomValidationServiceProvider.php
modified: app/Providers/EventServiceProvider.php
deleted: app/Providers/PaginationServiceProvider.php
modified: app/Providers/RouteServiceProvider.php
modified: app/Providers/ThemeServiceProvider.php
modified: app/Settings/SettingService.php
modified: app/Uploads/ImageService.php
modified: app/Util/LanguageManager.php
modified: composer.json
modified: composer.lock
modified: dev/api/responses/books-read.json
deleted: dev/docs/components.md
modified: package-lock.json
modified: package.json
modified: public/dist/app.js
modified: public/dist/code.js
modified: public/dist/export-styles.css
modified: public/dist/print-styles.css
modified: public/dist/styles.css
modified: readme.md
modified: resources/icons/image.svg
modified: resources/js/app.js
modified: resources/js/code.mjs
modified: resources/js/components/add-remove-rows.js
modified: resources/js/components/ajax-delete-row.js
modified: resources/js/components/ajax-form.js
modified: resources/js/components/attachments-list.js
modified: resources/js/components/attachments.js
modified: resources/js/components/auto-suggest.js
modified: resources/js/components/back-to-top.js
modified: resources/js/components/book-sort.js
modified: resources/js/components/chapter-contents.js
modified: resources/js/components/code-editor.js
modified: resources/js/components/code-highlighter.js
modified: resources/js/components/code-textarea.js
modified: resources/js/components/collapsible.js
modified: resources/js/components/confirm-dialog.js
modified: resources/js/components/custom-checkbox.js
modified: resources/js/components/details-highlighter.js
modified: resources/js/components/dropdown-search.js
modified: resources/js/components/dropdown.js
modified: resources/js/components/dropzone.js
modified: resources/js/components/editor-toolbox.js
deleted: resources/js/components/entity-permissions-editor.js
modified: resources/js/components/entity-search.js
modified: resources/js/components/entity-selector-popup.js
modified: resources/js/components/entity-selector.js
modified: resources/js/components/event-emit-select.js
modified: resources/js/components/expand-toggle.js
modified: resources/js/components/header-mobile-toggle.js
deleted: resources/js/components/homepage-control.js
modified: resources/js/components/image-manager.js
modified: resources/js/components/image-picker.js
modified: resources/js/components/index.js
modified: resources/js/components/list-sort-control.js
modified: resources/js/components/markdown-editor.js
modified: resources/js/components/new-user-password.js
modified: resources/js/components/notification.js
modified: resources/js/components/optional-input.js
modified: resources/js/components/page-comments.js
modified: resources/js/components/page-display.js
modified: resources/js/components/page-editor.js
modified: resources/js/components/page-picker.js
modified: resources/js/components/permissions-table.js
modified: resources/js/components/popup.js
modified: resources/js/components/setting-app-color-picker.js
modified: resources/js/components/setting-color-picker.js
modified: resources/js/components/shelf-sort.js
deleted: resources/js/components/sidebar.js
modified: resources/js/components/sortable-list.js
modified: resources/js/components/submit-on-change.js
modified: resources/js/components/tabs.js
modified: resources/js/components/tag-manager.js
modified: resources/js/components/template-manager.js
modified: resources/js/components/toggle-switch.js
modified: resources/js/components/tri-layout.js
modified: resources/js/components/user-select.js
modified: resources/js/components/webhook-events.js
modified: resources/js/components/wysiwyg-editor.js
modified: resources/js/services/dom.js
modified: resources/js/services/util.js
modified: resources/js/wysiwyg/config.js
modified: resources/js/wysiwyg/plugin-codeeditor.js
modified: resources/js/wysiwyg/plugin-drawio.js
modified: resources/js/wysiwyg/plugins-customhr.js
modified: resources/js/wysiwyg/plugins-imagemanager.js
modified: resources/js/wysiwyg/shortcuts.js
modified: resources/js/wysiwyg/toolbars.js
modified: resources/lang/ar/activities.php
modified: resources/lang/ar/auth.php
modified: resources/lang/ar/common.php
modified: resources/lang/ar/editor.php
modified: resources/lang/ar/entities.php
modified: resources/lang/ar/settings.php
modified: resources/lang/bg/auth.php
modified: resources/lang/bg/common.php
modified: resources/lang/bg/editor.php
modified: resources/lang/bg/entities.php
modified: resources/lang/bg/settings.php
modified: resources/lang/bs/auth.php
modified: resources/lang/bs/common.php
modified: resources/lang/bs/editor.php
modified: resources/lang/bs/entities.php
modified: resources/lang/bs/settings.php
modified: resources/lang/ca/auth.php
modified: resources/lang/ca/common.php
modified: resources/lang/ca/editor.php
modified: resources/lang/ca/entities.php
modified: resources/lang/ca/settings.php
modified: resources/lang/cs/activities.php
modified: resources/lang/cs/auth.php
modified: resources/lang/cs/common.php
modified: resources/lang/cs/editor.php
modified: resources/lang/cs/entities.php
modified: resources/lang/cs/errors.php
modified: resources/lang/cs/passwords.php
modified: resources/lang/cs/settings.php
modified: resources/lang/cs/validation.php
modified: resources/lang/cy/auth.php
modified: resources/lang/cy/common.php
modified: resources/lang/cy/editor.php
modified: resources/lang/cy/entities.php
modified: resources/lang/cy/settings.php
modified: resources/lang/da/auth.php
modified: resources/lang/da/common.php
modified: resources/lang/da/editor.php
modified: resources/lang/da/entities.php
modified: resources/lang/da/settings.php
modified: resources/lang/de/activities.php
modified: resources/lang/de/auth.php
modified: resources/lang/de/common.php
modified: resources/lang/de/components.php
modified: resources/lang/de/editor.php
modified: resources/lang/de/entities.php
modified: resources/lang/de/errors.php
modified: resources/lang/de/settings.php
modified: resources/lang/de/validation.php
modified: resources/lang/de_informal/activities.php
modified: resources/lang/de_informal/auth.php
modified: resources/lang/de_informal/common.php
modified: resources/lang/de_informal/editor.php
modified: resources/lang/de_informal/entities.php
modified: resources/lang/de_informal/errors.php
modified: resources/lang/de_informal/settings.php
modified: resources/lang/en/auth.php
modified: resources/lang/en/common.php
modified: resources/lang/en/editor.php
modified: resources/lang/en/entities.php
modified: resources/lang/en/settings.php
modified: resources/lang/es/auth.php
modified: resources/lang/es/common.php
modified: resources/lang/es/editor.php
modified: resources/lang/es/entities.php
modified: resources/lang/es/settings.php
modified: resources/lang/es_AR/activities.php
modified: resources/lang/es_AR/auth.php
modified: resources/lang/es_AR/common.php
modified: resources/lang/es_AR/editor.php
modified: resources/lang/es_AR/entities.php
modified: resources/lang/es_AR/settings.php
modified: resources/lang/et/activities.php
modified: resources/lang/et/auth.php
modified: resources/lang/et/common.php
modified: resources/lang/et/editor.php
modified: resources/lang/et/entities.php
modified: resources/lang/et/errors.php
modified: resources/lang/et/settings.php
modified: resources/lang/eu/auth.php
modified: resources/lang/eu/common.php
modified: resources/lang/eu/editor.php
modified: resources/lang/eu/entities.php
modified: resources/lang/eu/settings.php
modified: resources/lang/fa/activities.php
modified: resources/lang/fa/auth.php
modified: resources/lang/fa/common.php
modified: resources/lang/fa/editor.php
modified: resources/lang/fa/entities.php
modified: resources/lang/fa/errors.php
modified: resources/lang/fa/settings.php
modified: resources/lang/fr/activities.php
modified: resources/lang/fr/auth.php
modified: resources/lang/fr/common.php
modified: resources/lang/fr/editor.php
modified: resources/lang/fr/entities.php
modified: resources/lang/fr/errors.php
modified: resources/lang/fr/settings.php
modified: resources/lang/he/auth.php
modified: resources/lang/he/common.php
modified: resources/lang/he/editor.php
modified: resources/lang/he/entities.php
modified: resources/lang/he/settings.php
modified: resources/lang/hr/auth.php
modified: resources/lang/hr/common.php
modified: resources/lang/hr/editor.php
modified: resources/lang/hr/entities.php
modified: resources/lang/hr/settings.php
modified: resources/lang/hu/auth.php
modified: resources/lang/hu/common.php
modified: resources/lang/hu/editor.php
modified: resources/lang/hu/entities.php
modified: resources/lang/hu/settings.php
modified: resources/lang/id/auth.php
modified: resources/lang/id/common.php
modified: resources/lang/id/editor.php
modified: resources/lang/id/entities.php
modified: resources/lang/id/settings.php
modified: resources/lang/it/auth.php
modified: resources/lang/it/common.php
modified: resources/lang/it/editor.php
modified: resources/lang/it/entities.php
modified: resources/lang/it/settings.php
modified: resources/lang/ja/activities.php
modified: resources/lang/ja/auth.php
modified: resources/lang/ja/common.php
modified: resources/lang/ja/editor.php
modified: resources/lang/ja/entities.php
modified: resources/lang/ja/errors.php
modified: resources/lang/ja/settings.php
modified: resources/lang/ko/activities.php
modified: resources/lang/ko/auth.php
modified: resources/lang/ko/common.php
modified: resources/lang/ko/editor.php
modified: resources/lang/ko/entities.php
modified: resources/lang/ko/settings.php
modified: resources/lang/lt/auth.php
modified: resources/lang/lt/common.php
modified: resources/lang/lt/editor.php
modified: resources/lang/lt/entities.php
modified: resources/lang/lt/settings.php
modified: resources/lang/lv/auth.php
modified: resources/lang/lv/common.php
modified: resources/lang/lv/editor.php
modified: resources/lang/lv/entities.php
modified: resources/lang/lv/settings.php
modified: resources/lang/nb/auth.php
modified: resources/lang/nb/common.php
modified: resources/lang/nb/editor.php
modified: resources/lang/nb/entities.php
modified: resources/lang/nb/settings.php
modified: resources/lang/nl/auth.php
modified: resources/lang/nl/common.php
modified: resources/lang/nl/editor.php
modified: resources/lang/nl/entities.php
modified: resources/lang/nl/settings.php
modified: resources/lang/pl/activities.php
modified: resources/lang/pl/auth.php
modified: resources/lang/pl/common.php
modified: resources/lang/pl/editor.php
modified: resources/lang/pl/entities.php
modified: resources/lang/pl/errors.php
modified: resources/lang/pl/settings.php
modified: resources/lang/pt/activities.php
modified: resources/lang/pt/auth.php
modified: resources/lang/pt/common.php
modified: resources/lang/pt/editor.php
modified: resources/lang/pt/entities.php
modified: resources/lang/pt/errors.php
modified: resources/lang/pt/settings.php
modified: resources/lang/pt_BR/activities.php
modified: resources/lang/pt_BR/auth.php
modified: resources/lang/pt_BR/common.php
modified: resources/lang/pt_BR/editor.php
modified: resources/lang/pt_BR/entities.php
modified: resources/lang/pt_BR/errors.php
modified: resources/lang/pt_BR/settings.php
modified: resources/lang/ru/activities.php
modified: resources/lang/ru/auth.php
modified: resources/lang/ru/common.php
modified: resources/lang/ru/editor.php
modified: resources/lang/ru/entities.php
modified: resources/lang/ru/errors.php
modified: resources/lang/ru/settings.php
modified: resources/lang/sk/auth.php
modified: resources/lang/sk/common.php
modified: resources/lang/sk/editor.php
modified: resources/lang/sk/entities.php
modified: resources/lang/sk/settings.php
modified: resources/lang/sl/auth.php
modified: resources/lang/sl/common.php
modified: resources/lang/sl/editor.php
modified: resources/lang/sl/entities.php
modified: resources/lang/sl/settings.php
modified: resources/lang/sv/activities.php
modified: resources/lang/sv/auth.php
modified: resources/lang/sv/common.php
modified: resources/lang/sv/editor.php
modified: resources/lang/sv/entities.php
modified: resources/lang/sv/errors.php
modified: resources/lang/sv/settings.php
modified: resources/lang/sv/validation.php
modified: resources/lang/tr/activities.php
modified: resources/lang/tr/auth.php
modified: resources/lang/tr/common.php
modified: resources/lang/tr/editor.php
modified: resources/lang/tr/entities.php
modified: resources/lang/tr/settings.php
modified: resources/lang/uk/activities.php
modified: resources/lang/uk/auth.php
modified: resources/lang/uk/common.php
modified: resources/lang/uk/editor.php
modified: resources/lang/uk/entities.php
modified: resources/lang/uk/errors.php
modified: resources/lang/uk/settings.php
modified: resources/lang/uz/auth.php
modified: resources/lang/uz/common.php
modified: resources/lang/uz/editor.php
modified: resources/lang/uz/entities.php
modified: resources/lang/uz/settings.php
modified: resources/lang/vi/auth.php
modified: resources/lang/vi/common.php
modified: resources/lang/vi/editor.php
modified: resources/lang/vi/entities.php
modified: resources/lang/vi/settings.php
modified: resources/lang/zh_CN/auth.php
modified: resources/lang/zh_CN/common.php
modified: resources/lang/zh_CN/editor.php
modified: resources/lang/zh_CN/entities.php
modified: resources/lang/zh_CN/settings.php
modified: resources/lang/zh_TW/activities.php
modified: resources/lang/zh_TW/auth.php
modified: resources/lang/zh_TW/common.php
modified: resources/lang/zh_TW/editor.php
modified: resources/lang/zh_TW/entities.php
modified: resources/lang/zh_TW/errors.php
modified: resources/lang/zh_TW/settings.php
modified: resources/lang/zh_TW/validation.php
modified: resources/sass/_animations.scss
modified: resources/sass/_blocks.scss
modified: resources/sass/_buttons.scss
modified: resources/sass/_components.scss
modified: resources/sass/_forms.scss
modified: resources/sass/_header.scss
modified: resources/sass/_layout.scss
modified: resources/sass/_lists.scss
modified: resources/sass/_pages.scss
modified: resources/sass/_spacing.scss
modified: resources/sass/_tables.scss
modified: resources/sass/_text.scss
modified: resources/sass/_variables.scss
modified: resources/sass/styles.scss
modified: resources/views/api-docs/index.blade.php
modified: resources/views/api-docs/parts/endpoint.blade.php
modified: resources/views/api-docs/parts/getting-started.blade.php
modified: resources/views/attachments/manager.blade.php
modified: resources/views/auth/login.blade.php
modified: resources/views/auth/register.blade.php
modified: resources/views/books/index.blade.php
modified: resources/views/books/parts/form.blade.php
modified: resources/views/books/parts/list.blade.php
modified: resources/views/books/parts/sort-box.blade.php
modified: resources/views/books/permissions.blade.php
modified: resources/views/books/show.blade.php
modified: resources/views/books/sort.blade.php
modified: resources/views/chapters/parts/form.blade.php
modified: resources/views/chapters/permissions.blade.php
modified: resources/views/chapters/show.blade.php
modified: resources/views/common/dark-mode-toggle.blade.php
modified: resources/views/common/header.blade.php
modified: resources/views/common/notifications.blade.php
modified: resources/views/entities/export-menu.blade.php
modified: resources/views/entities/favourite-action.blade.php
modified: resources/views/entities/search-form.blade.php
modified: resources/views/entities/sibling-navigation.blade.php
deleted: resources/views/entities/sort.blade.php
modified: resources/views/entities/view-toggle.blade.php
modified: resources/views/form/custom-checkbox.blade.php
modified: resources/views/form/entity-permissions.blade.php
modified: resources/views/form/image-picker.blade.php
deleted: resources/views/form/restriction-checkbox.blade.php
modified: resources/views/form/toggle-switch.blade.php
modified: resources/views/home/parts/expand-toggle.blade.php
modified: resources/views/home/shelves.blade.php
modified: resources/views/home/specific-page.blade.php
modified: resources/views/layouts/base.blade.php
modified: resources/views/pages/parts/code-editor.blade.php
modified: resources/views/pages/parts/editor-toolbox.blade.php
modified: resources/views/pages/parts/markdown-editor.blade.php
modified: resources/views/pages/parts/pointer.blade.php
deleted: resources/views/pages/parts/revision-table-row.blade.php
modified: resources/views/pages/parts/template-manager.blade.php
modified: resources/views/pages/permissions.blade.php
modified: resources/views/pages/revisions.blade.php
modified: resources/views/pages/show.blade.php
modified: resources/views/search/all.blade.php
deleted: resources/views/search/parts/entity-ajax-list.blade.php
modified: resources/views/search/parts/term-list.blade.php
modified: resources/views/settings/audit.blade.php
modified: resources/views/settings/customization.blade.php
modified: resources/views/settings/parts/page-picker.blade.php
modified: resources/views/settings/parts/setting-entity-color-picker.blade.php
modified: resources/views/settings/parts/table-user.blade.php
modified: resources/views/settings/recycle-bin/index.blade.php
modified: resources/views/settings/roles/index.blade.php
modified: resources/views/settings/roles/parts/form.blade.php
modified: resources/views/settings/webhooks/index.blade.php
modified: resources/views/shelves/index.blade.php
modified: resources/views/shelves/parts/form.blade.php
modified: resources/views/shelves/parts/list.blade.php
modified: resources/views/shelves/permissions.blade.php
modified: resources/views/shelves/show.blade.php
modified: resources/views/tags/index.blade.php
deleted: resources/views/tags/parts/table-row.blade.php
modified: resources/views/users/api-tokens/parts/list.blade.php
modified: resources/views/users/index.blade.php
modified: resources/views/users/parts/form.blade.php
modified: routes/api.php
modified: routes/web.php
modified: tests/Actions/AuditLogTest.php
modified: tests/Actions/WebhookCallTest.php
modified: tests/Actions/WebhookFormatTesting.php
modified: tests/Api/AttachmentsApiTest.php
modified: tests/Api/BooksApiTest.php
modified: tests/Api/ChaptersApiTest.php
modified: tests/Api/PagesApiTest.php
modified: tests/Api/RecycleBinApiTest.php
modified: tests/Api/SearchApiTest.php
modified: tests/Api/UsersApiTest.php
modified: tests/Auth/AuthTest.php
modified: tests/Auth/OidcTest.php
modified: tests/Auth/Saml2Test.php
modified: tests/Auth/UserInviteTest.php
modified: tests/Commands/ClearActivityCommandTest.php
modified: tests/Commands/CopyShelfPermissionsCommandTest.php
modified: tests/Commands/RegenerateReferencesCommandTest.php
modified: tests/Commands/UpdateUrlCommandTest.php
modified: tests/Entity/BookShelfTest.php
modified: tests/Entity/BookTest.php
modified: tests/Entity/ChapterTest.php
modified: tests/Entity/CommentSettingTest.php
modified: tests/Entity/CommentTest.php
modified: tests/Entity/ConvertTest.php
modified: tests/Entity/EntityAccessTest.php
modified: tests/Entity/EntitySearchTest.php
modified: tests/Entity/ExportTest.php
modified: tests/Entity/PageContentTest.php
modified: tests/Entity/PageDraftTest.php
modified: tests/Entity/PageEditorTest.php
modified: tests/Entity/PageRevisionTest.php
modified: tests/Entity/PageTemplateTest.php
modified: tests/Entity/PageTest.php
modified: tests/Entity/SortTest.php
modified: tests/Entity/TagTest.php
modified: tests/ErrorTest.php
modified: tests/FavouriteTest.php
modified: tests/HomepageTest.php
modified: tests/OpenGraphTest.php
modified: tests/Permissions/EntityOwnerChangeTest.php
modified: tests/Permissions/EntityPermissionsTest.php
modified: tests/Permissions/ExportPermissionsTest.php
modified: tests/Permissions/RolesTest.php
modified: tests/PublicActionTest.php
modified: tests/Settings/RecycleBinTest.php
modified: tests/TestCase.php
modified: tests/ThemeTest.php
modified: tests/Uploads/AttachmentTest.php
modified: tests/Uploads/ImageTest.php
modified: tests/Uploads/UsesImages.php
modified: tests/UrlTest.php
modified: tests/User/UserManagementTest.php
modified: tests/User/UserPreferencesTest.php
modified: tests/User/UserProfileTest.php
modified: version
Untracked files:
(use "git add ..." to include in what will be committed)
.github/workflows/analyse-php.yml
.github/workflows/lint-php.yml
.github/workflows/test-php.yml
app/Actions/Queries/
app/Api/ApiEntityListFormatter.php
app/Auth/Permissions/PermissionFormData.php
app/Auth/Queries/RolesAllPaginatedAndSorted.php
app/Auth/Queries/UsersAllPaginatedAndSorted.php
app/Http/Controllers/Auth/ThrottlesLogins.php
app/Http/Controllers/PermissionsController.php
app/Http/Controllers/UserPreferencesController.php
app/Providers/ValidationRuleServiceProvider.php
app/Providers/ViewTweaksServiceProvider.php
app/Settings/UserShortcutMap.php
app/Util/SimpleListOptions.php
database/migrations/2022_10_07_091406_flatten_entity_permissions_table.php
database/migrations/2022_10_08_104202_drop_entity_restricted_field.php
dev/docs/development.md
dev/docs/javascript-code.md
dev/docs/release-process.md
phpcs.xml
resources/icons/groups.svg
resources/icons/role.svg
resources/icons/shortcuts.svg
resources/js/components/auto-submit.js
resources/js/components/component.js
resources/js/components/entity-permissions.js
resources/js/components/global-search.js
resources/js/components/pointer.js
resources/js/components/setting-homepage-control.js
resources/js/components/shortcut-input.js
resources/js/components/shortcuts.js
resources/js/markdown/
resources/js/services/components.js
resources/js/services/keyboard-navigation.js
resources/js/services/text.js
resources/js/wysiwyg/icons.js
resources/lang/ar/preferences.php
resources/lang/bg/preferences.php
resources/lang/bs/preferences.php
resources/lang/ca/preferences.php
resources/lang/cs/preferences.php
resources/lang/cy/preferences.php
resources/lang/da/preferences.php
resources/lang/de/preferences.php
resources/lang/de_informal/preferences.php
resources/lang/el/
resources/lang/en/preferences.php
resources/lang/es/preferences.php
resources/lang/es_AR/preferences.php
resources/lang/et/preferences.php
resources/lang/eu/preferences.php
resources/lang/fa/preferences.php
resources/lang/fr/preferences.php
resources/lang/he/preferences.php
resources/lang/hr/preferences.php
resources/lang/hu/preferences.php
resources/lang/id/preferences.php
resources/lang/it/preferences.php
resources/lang/ja/preferences.php
resources/lang/ka/
resources/lang/ko/preferences.php
resources/lang/lt/preferences.php
resources/lang/lv/preferences.php
resources/lang/nb/preferences.php
resources/lang/nl/preferences.php
resources/lang/pl/preferences.php
resources/lang/pt/preferences.php
resources/lang/pt_BR/preferences.php
resources/lang/ru/preferences.php
resources/lang/sk/preferences.php
resources/lang/sl/preferences.php
resources/lang/sv/preferences.php
resources/lang/tr/preferences.php
resources/lang/uk/preferences.php
resources/lang/uz/preferences.php
resources/lang/vi/preferences.php
resources/lang/zh_CN/preferences.php
resources/lang/zh_TW/preferences.php
resources/sass/_opacity.scss
resources/views/auth/parts/login-message.blade.php
resources/views/auth/parts/register-message.blade.php
resources/views/auth/register-confirm-accept.blade.php
resources/views/common/sort.blade.php
resources/views/common/status-indicator.blade.php
resources/views/form/entity-permissions-row.blade.php
resources/views/pages/parts/revisions-index-row.blade.php
resources/views/search/parts/entity-selector-list.blade.php
resources/views/search/parts/entity-suggestion-list.blade.php
resources/views/settings/recycle-bin/parts/recycle-bin-list-item.blade.php
resources/views/settings/roles/parts/asset-permissions-row.blade.php
resources/views/settings/roles/parts/related-asset-permissions-row.blade.php
resources/views/settings/roles/parts/roles-list-item.blade.php
resources/views/settings/webhooks/parts/webhooks-list-item.blade.php
resources/views/tags/parts/tags-list-item.blade.php
resources/views/users/parts/users-list-item.blade.php
resources/views/users/preferences/
tests/Auth/RegistrationTest.php
tests/Auth/ResetPasswordTest.php
tests/Helpers/EntityProvider.php
tests/Helpers/TestServiceProvider.php
no changes added to commit (use "git add" and/or "git commit -a")
Sorry is there a possibility to make such text block collapsable?
@ssddanbrown commented on GitHub (Dec 7, 2022):
Depends on the directory and the login user you want to use for updates and stuff.
Here's my general approach to permissions: https://gist.github.com/ssddanbrown/f0e6e850e57c419c6541dbe6c8facd4b
@helson22 commented on GitHub (Dec 7, 2022):
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
total 112
drwxr-xr-x 2 adm-bookstack root 4096 Sep 14 07:32 .
drwxr-xr-x 45 adm-bookstack www-data 4096 Dec 7 15:12 ..
-rw-r--r-- 1 root root 3440 Sep 14 07:32 activities.php
-rw-r--r-- 1 root root 8832 Sep 14 07:32 auth.php
-rw-r--r-- 1 root root 3416 Sep 14 07:32 common.php
-rw-r--r-- 1 root root 1441 Sep 14 07:32 components.php
-rw-r--r-- 1 root root 6684 Sep 14 07:32 editor.php
-rw-r--r-- 1 root root 22870 Sep 14 07:32 entities.php
-rw-r--r-- 1 root root 7883 Sep 14 07:32 errors.php
-rw-r--r-- 1 root root 239 Sep 14 07:32 pagination.php
-rw-r--r-- 1 root root 619 Sep 14 07:32 passwords.php
-rw-r--r-- 1 root root 23953 Sep 14 07:32 settings.php
-rw-r--r-- 1 root root 7310 Sep 14 07:32 validation.php
adm-bookstack@xxxxxxxx :/var/www/bookstack$ ls -la resources/lang/de
total 128
drwxr-xr-x 2 adm-bookstack www-data 4096 Dec 7 15:12 .
drwxr-xr-x 45 adm-bookstack www-data 4096 Dec 7 15:12 ..
-rw-rw-r-- 1 adm-bookstack adm-bookstack 3608 Dec 7 15:12 activities.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 9173 Dec 7 15:12 auth.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 3487 Dec 7 15:12 common.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 1420 Dec 7 15:12 components.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 6841 Dec 7 15:12 editor.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 24754 Dec 7 15:12 entities.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 8607 Dec 7 15:12 errors.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 241 Aug 18 07:22 pagination.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 680 Aug 18 07:22 passwords.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 1046 Dec 7 15:12 preferences.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 25580 Dec 7 15:12 settings.php
-rw-rw-r-- 1 adm-bookstack adm-bookstack 6994 Dec 7 15:12 validation.php
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.
@helson22 commented on GitHub (Dec 7, 2022):
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!
@ssddanbrown commented on GitHub (Dec 7, 2022):
I'm not clear what is currently messy.
What git error are you getting?
@helson22 commented on GitHub (Dec 7, 2022):
I'm sorry.
The git pull command aborts and throws error (https://github.com/BookStackApp/BookStack/issues/3862#issuecomment-1341032767)
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:
.github/translators.txt
.github/workflows/test-migrations.yml
LICENSE
app/Actions/TagRepo.php
....
....
resources/lang/zh_CN/preferences.php
resources/lang/zh_TW/preferences.php
resources/sass/_opacity.scss
resources/views/auth/parts/login-message.blade.php
resou
Aborting
in the middle of the huge list above following shows up:
error: The following untracked working tree files would be overwritten by merge:
....
....
...
I don't know if this is ok or not - I guess not.
git statussays:On branch release
Your branch is behind 'origin/release' by 161 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
Changes not staged for commit:
(use "git add/rm ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
modified: .github/translators.txt
deleted: .github/workflows/phpstan.yml
deleted: .github/workflows/phpunit.yml
...
...
modified: tests/User/UserPreferencesTest.php
modified: tests/User/UserProfileTest.php
modified: version
Untracked files:
(use "git add ..." to include in what will be committed)
.github/workflows/analyse-php.yml
.github/workflows/lint-php.yml
.github/workflows/test-php.yml
app/Actions/Queries/
....
...
....
tests/Auth/ResetPasswordTest.php
tests/Helpers/EntityProvider.php
tests/Helpers/TestServiceProvider.php
no changes added to commit (use "git add" and/or "git commit -a")
@ssddanbrown commented on GitHub (Dec 7, 2022):
Okay, you're still not at a clean state for some reason.
Ideally we first, before attempting an update, need to be in a position where running
git statusdoes not list any files.git reset --hard.git clean -fthen rungit clean -f -d.git status. If there are any files/folders listed stop here and report back the output.git pull origin releasefirst update command and report back the output.git statusagain. Stop and report back the output if any files are listed.@helson22 commented on GitHub (Dec 8, 2022):
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.
git_clean.txt
If it looks good for you too I can proceed, I guess? Or have I missed something?
@helson22 commented on GitHub (Dec 13, 2022):
I had a second look at the output.
Is this normal behaviour, that some of the entries seem not completed?
f.e. rename resources/views/{entities => common}/sort.blade.php (52%)
There are a few that show no 100%.
Is this severe?
@helson22 commented on GitHub (Dec 15, 2022):
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
helson
@ssddanbrown commented on GitHub (Dec 15, 2022):
Ah, apologies, I forgot to respond to the above.
Good to hear things are now working! I'll therefore close this off.
Remember to take a backup/snapshot now while things are working and in a clean state!