💾 Archived View for alaskalinuxuser.ddns.net › 2021-07-30.gmi captured on 2024-09-29 at 00:14:32. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Nextcloud: Step 5 is currently in process….

">

57w, https://alaskalinuxuser3.ddns.net/wp-content/uploads/2021/05/nc-

300x177.png 300w" sizes="(max-width: 757px) 100vw, 757px" />

Sometimes, I realize that I’m not very bright. The rest of the time, I’m not

very bright, but I just don’t realize it.

Recently, I ran into a snag with my Nextcloud server. I wanted to update it,

but it failed and brought me to a blank white screen with just one phrase on

it:

Step 5 is currently in process. Please call this command later.

It took me a while to figure out what this even means. Turns out, when running

an update, there is a index.php file in your nextcloud ./updater/ directory

that runs through several steps when you perform an update. Step 5 is to

validate the downloaded update package before you proceed to install it. Turns

out mine was stuck at this point.

I began web searching. Sites likehelp.nextcloud.com_had_articles_about_this.

They all typically said the same thing: update the memory limit for php to

512mb and you should be good to go. I did this, in every conceivable way. I

added this line to my .htaccess file in the nextcloud directory:

php_value memory_limit 512M

I edited /etc/php/7.4/fpm/php.ini, and /etc/php/7.4/cli/php.ini, adjusting the

limit from 128mb to 512. I restarted php with systemctl restart php7.4-fpm, I

restarted my apache server. But I could not win. It still got stuck at step 5

when I tried to run the update.

People kept talking about deleting the “steps” file. I searched my entire

nextcloud folder, and didn’t find any. They said delete the old update folder,

called something like “updater-oco7ek3xolkq”. Couldn’t find any folders like

that. I looked around, and everyone said it would be in the data folder. But

mine didn’t have it:

ls ./data\nindex.html nextcloud.log

That’s the moment I realized that I’m not very bright.

They didn’t mean the nextcloud/data folder. They meant the folder where you

keep YOUR nextcloud data. Which, per the install guide, they said don’t put in

your nextcloud directory (for security reasons). So when I looked in my

nextcloud-data folder then I found the folder called updater-ocl9xxrmua1x which

had all the files in it. So, after deleting that folder like so:

rm -rf updater-ocl9xxrmua1x/

I was then able to properly run the updater. Which, consequently, may have

worked better this time because of the php memory limit being set much higher.

Long story short, don’t be fooled like me, and remember the difference between

nextcloud/data and nextcloud-data!

Linux – keep it simple.