-
Notifications
You must be signed in to change notification settings - Fork 15
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
[Bug]: Clean database gives error about Lock held by this virtual machine #473
Comments
I can only reproduce this by clicking the 'clean database' link several times. Although there is no logging the first time, maybe the process is running and therefore it's created a lock. So how do we know 1) if the clean process is running and 2) if it's succesful if there is no entry in the log? Main objective is to make sure the database is cleaned when removing files and covert art. |
@bartmans
|
Confirmed, I see the logging now. |
#473 change the log rule for expunge to show log
What happened?
2024-05-19 20:40:45.319 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ALBUM_ID3
org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/album_id3/write.lock
2024-05-19 20:40:45.319 ERROR --- o.a.p.s.search.IndexManager : Failed to create search index for ARTIST
org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/airsonic/index19/artist/write.lock
Steps to reproduce
Version
11.1.4-SNAPSHOT (Edge)
Version Detail
11.1.4-SNAPSHOT.20240518150716
Operating System
Docker on Synology
Java Version
Apache Tomcat/10.1.20, java 17.0.10
Database
Other
DB Detail
sqlite
Configuration paramter
EncryptionKeyPassword=
EncryptionKeySalt=
SettingsChanged=1714041793916
JWTKey=
DlnaEnabled=false
DlnaServerName=Airsonic
DlnaBaseLANURL=http://192.168.178.25/airsonic/
DlnaServerId=8c88e797-a32e-4380-8cb1-537d025239de
IndexString=A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ)
IgnoredArticles=The El La Los Las Le Les De Het Een
GenreSeparators=;
Shortcuts=
PlaylistFolder=/playlists
MusicFileTypes=mp3 ogg oga aac m4a m4b flac wav wma aif aiff ape mpc shn mka opus alm 669 mdl far xm mod fnk imf it liq wow mtm ptm rtm stm s3m ult dmf dbm med okt emod sfx m15 mtn amf gdm stx gmc psm j2b umx amd rad hsc flx gtk mgt mtp wv
VideoFileTypes=flv avi mpg mpeg mp4 m4v mkv mov wmv ogv divx m2ts webm
CoverArtFileTypes2=cover.jpg cover.png cover.gif folder.jpg jpg jpeg gif png
CoverArtSource=FILETAG
CoverArtConcurrency=4
CoverArtQuality=90
SortAlbumsByYear=false
GettingStartedEnabled=false
WelcomeTitle=Sepulchrijn: Bart's Muziek
WelcomeSubtitle=Beta
WelcomeMessage2=
LoginMessage=
server.servlet.session.timeout=3600m
Theme=ripserver
LocaleLanguage=nl
LocaleCountry=
LocaleVariant=
IndexCreationInterval=1
IndexCreationHour=2
FastCacheEnabled=false
OrganizeByFolderStructure=true
UploadsFolder=%{['USER_MUSIC_FOLDERS'][0]}/Incoming
ExcludePattern=#recycle|@eadir|gsdata
IgnoreSymLinks=true
DownloadBitrateLimit=0
UploadBitrateLimit=0
LdapEnabled=false
LdapUrl=ldap://host.domain.com:389/cn=Users,dc=domain,dc=com
LdapSearchFilter=(sAMAccountName={0})
LdapManagerDn=
LdapAutoShadowing=false
SmtpServer=
SmtpEncryption=SSL/TLS
SmtpPort=465
SmtpUser=
SmtpFrom=
SmtpPassword=
CaptchaEnabled=false
ReCaptchaSiteKey=
HideIndexedFiles=false
PodcastUpdateInterval=-1
PodcastEpisodeRetentionCount=2
PodcastEpisodeDownloadCount=0
spring.liquibase.parameters.mysqlVarcharLimit=384
DbBackupUpdateInterval=24
DbBackupRetentionCount=5
EnableCueIndexing=false
FullScan=false
ClearFullScanSettingAfterScan=false
Proxy Server
Synology Nginx
client detail
Firefox and Chrome
language
Dutch
Relevant log output
The text was updated successfully, but these errors were encountered: