Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`
-
@xylems said in Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`:
@jaredbusch Not really a solution to the problem.
This was already a fresh installation. I also verified the download as well.
You are getting an error that I have never had and I have installed many of these.
You could easily have done something wrong unintentionally. Reinstalling is by far the best thing to do for a new install with weird unknown issues.
-
@xylems He means you installed it wrong, and that you wont be able to fix it.
I agree.
If you want the easy way to make this get the Ubuntu 1804 server iso and choose Nextcloud at the end. It will install nextcloud for you.
https://www.ubuntu.com/download/server
Or follow @JaredBusch guide verbatim. -
Don't be afraid of having to reinstall. Nextcloud makes it easy to keep use settings and data.
-
@travisdh1 said in Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`:
Don't be afraid of having to reinstall. Nextcloud makes it easy to keep use settings and data.
He has none yet anyway.
-
@momurda said in Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`:
If you want the easy way to make this get the Ubuntu 1804 server iso and choose Nextcloud at the end. It will install nextcloud for you.
Is it a snap app version?
-
@black3dynamite Dunno its the screen at the end similar to other distros where you can choose to install different desktops, ssh, cups, etc. Nextcloud is a choice now in ubuntu
-
@momurda said in Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`:
@xylems He means you installed it wrong, and that you wont be able to fix it.
I agree.
If you want the easy way to make this get the Ubuntu 1804 server iso and choose Nextcloud at the end. It will install nextcloud for you.
https://www.ubuntu.com/download/server
Or follow @JaredBusch guide verbatim.It's included now? Very nice.
-
@momurda said in Nextcloud: An exception occurred while executing 'INSERT INTO `oc_file_locks`:
@black3dynamite Dunno its the screen at the end similar to other distros where you can choose to install different desktops, ssh, cups, etc. Nextcloud is a choice now in ubuntu
Just confirm it. Nextcloud is installed via snap. The rest apps like PowerShell is from using snap.
-
@black3dynamite Yes i just did install nc and powershell from this iso, it is from snaps.
It does seem to work as i have this now at server ip
-
I am running this on Fedora and Ubuntu is not really an option as I have other items hosted on this server.
I did install it via the Snap package. Update though, once the initial upload of files finished it seems that it went back and got the files it missed due to the exception. I restarted the service (which I did try prior to posting) and the errors no longer showed up. Only ignored files show and other files that I know previously had an issue uploading did upload.
Strange that the issue just went away though.