Can’t delete orphaned attachments

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Can’t delete orphaned attachments

Post by elonturing »

Can’t delete orphaned attachments
or attach files to post.

Select delete, click submit

Page refreshes — file still there. No error.

phpbb 3.1.10
Last edited by Mick on Thu Nov 02, 2017 12:24 pm, edited 1 time in total.
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Any ideas?
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Can’t delete orphaned attachments

Post by stevemaury »

Please fill out the Support Request Template and post it back here to enable us to assist you better.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Support Request Template
What version of phpBB are you using? phpBB 3.2.1
What is your board's URL? http://n/a
Who do you host your board with? Dedicated - hivelocity
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.1.10
What styles do you currently have installed? prosilver only
What language(s) is your board currently using? British English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What username can be used to view this issue? n/a
What password can be used to view this issue? n/a
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Problem has existed since whatever phpbb version first added native attachment upload.
Please describe your problem.
Can't delete orphaned attachments

Select delete, click submit

Page refreshes - file still there. No error.

Just updated to 3.2.1 - no changes, same problem.

Generated by SRT Generator
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Any Ideas?
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Can’t delete orphaned attachments

Post by canonknipser »

Post permission of files-folder and at least one of the orphaned attachment files in that folder

Windows-Server/ Linux-Server?
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

canonknipser wrote: Mon Oct 16, 2017 2:55 pm Post permission of files-folder and at least one of the orphaned attachment files in that folder

Windows-Server/ Linux-Server?
Thanks Frank.

Server is CentOS 7

Via cpanel File Manager I get...

Files folder - 777
Not sure how to find orphaned attachment file names, but images in Files folder have three different permissions - 600, 644, 666
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Can’t delete orphaned attachments

Post by canonknipser »

OK, don't know if you can sort via cpanel file manager by permissions, but if you can, do it and change those with 600 and 644 to 666
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

canonknipser wrote: Mon Oct 16, 2017 4:30 pm OK, don't know if you can sort via cpanel file manager by permissions, but if you can, do it and change those with 600 and 644 to 666
No change - It still won't delete.
I select, click submit, page refreshes, file(s) still there. No error, no confirmation, just the same list of files.

I went back and double checked permissions and images are all 666.

Thanks for the help. Any other ideas?
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Any other ideas?
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Still looking for a solution.

Can a moderator please move this thread to the 3.2 support forum. I have upgrade since the first post. Thank you.
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Would it be possible for the developers to get involved?

Other people have reported the same issue.

viewtopic.php?f=46&t=2207766
viewtopic.php?f=556&t=2409631

No solution has ever been posted.

Any help is greatly appreciated.
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Still looking for a solution.
User avatar
canonknipser
Registered User
Posts: 2096
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: Can’t delete orphaned attachments

Post by canonknipser »

Maybe I missed the information, but how many orphaned files do you try to delete? In one of the other topics you linked it was a number of 1200. Just try a small number (about maximum 100) at a run. May take a little, if you have a big number ...
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB
elonturing
Registered User
Posts: 35
Joined: Fri Jan 13, 2006 1:39 pm

Re: Can’t delete orphaned attachments

Post by elonturing »

Thanks again Frank.

Even if I try to delete just one, the result is the same. Click submit, page refreshes — file(s) still there. No error.

I have 1100 orphaned attachments.

Why so many? Because, I've never found a solution. The feature has never worked for me.
Post Reply

Return to “[3.2.x] Support Forum”