Hi,

I have managed to reproduce it and indeed Artifactory returns 404 instead
of 413.

I have opened an issue you can follow here:
https://www.jfrog.com/jira/browse/RTFACT-5955

Shay,



On Sun, Sep 1, 2013 at 6:15 PM, caoilte <caoi...@gmail.com> wrote:

> We're running 2.6.6, which I see is quite far behind.
>
> the last entry in artifactory.log (artifact names changed)
>
> 2013-08-31 02:01:31,772 [art-exec-325] [ERROR] (o.a.j.f.JcrFile     :461)
> - Failed to export /repositories/libs-snapshot-local/yyy.war to file
> '/var/lib/artifactory/backup/backup-weekly/20130831.020000.tmp/repositories/libs-snapshot-local/yyyy.war'.:
> No space left on device
> 2013-08-31 02:01:31,772 [art-exec-325] [ERROR] (o.a.j.f.JcrFsItem   :795)
> - Failed to export metadata for
> '/repositories/libs-snapshot-local/yyyy.pom'.: Failed to create metadata
> folder
> '/var/lib/artifactory/backup/backup-weekly/20130831.020000.tmp/repositories/libs-snapshot-local/zzz.pom.artifactory-metadata'.
> 2013-08-31 02:01:31,786 [art-exec-325] [ERROR] (o.a.j.f.JcrFile     :
>
> from catalina.out (artifact names changed)
>
> 2013-08-31 15:47:24,364 [http-bio-8085-exec-125] [INFO ]
> (o.a.e.UploadServiceImpl:427) - Deploy to 'ext-release-local:xxxx.pom'
> Content-Length: 2255
> 2013-08-31 15:47:24,370 [http-bio-8085-exec-125] [ERROR] (o.a.u.FileUtils
>     :278) - Could not fill content in file
> '/var/lib/artifactory/data/tmp/prefilestore/dbRecord1365585521156307078.tmp'
> due to No space left on device
> . Deleting it if possible!
> 2013-08-31 15:47:24,370 [http-bio-8085-exec-125] [WARN ]
> (o.a.j.j.ArtifactoryDataStore:609) - Can not insert new record: No space
> left on device
> 2013-08-31 15:47:24,371 [http-bio-8085-exec-125] [WARN ]
> (o.a.r.j.StoringRepoMixin:661) - Could not save resource
> 'ext-release-local:xxxx.pom': No space left on device
> 2013-08-31 15:47:24,445 [http-bio-8085-exec-125] [ERROR]
> (o.a.j.c.SearchManager:423) - Error indexing node.
> java.io.IOException: No space left on device
> at java.io.RandomAccessFile.writeBytes(Native Method) [na:1.6.0_24]
>  at java.io.RandomAccessFile.write(RandomAccessFile.java:499)
> [na:1.6.0_24]
> at
> org.apache.lucene.store.FSDirectory$FSIndexOutput.flushBuffer(FSDirectory.java:645)
> [lucene-core-jfrog-2.4.1e.jar:na]
>  at
> org.apache.lucene.store.BufferedIndexOutput.flushBuffer(BufferedIndexOutput.java:96)
> [lucene-core-jfrog-2.4.1e.jar:na]
> at
> org.apache.lucene.store.BufferedIndexOutput.flush(BufferedIndexOutput.java:85)
> [lucene-core-jfrog-2.4.1e.jar:na]
>  at
> org.apache.jackrabbit.core.query.lucene.directory.IndexOutputStream.flush(IndexOutputStream.java:71)
> [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e]
> at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:296) [na:1.6.0_24]
>  at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) [na:1.6.0_24]
> at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
> [na:1.6.0_24]
>  at java.io.BufferedWriter.flush(BufferedWriter.java:253) [na:1.6.0_24]
> at
> org.apache.jackrabbit.core.query.lucene.DefaultRedoLog.flush(DefaultRedoLog.java:186)
> [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e]
>  at
> org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1134)
> [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e]
> at
> org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:468)
> [jackrabbit-core-jfrog-2.2.8e.jar:2.2.8e]
>  at
> org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchI2013-08-31
> 16:00:00,044 [art-exec-333] [INFO ] (o.a.j.s.JcrGarbageCollectorJob:46) -
> Garbage collection starting...
>
> from request.log
>
>
> 20130831154724|86|REQUEST|193.35.8.225|non_authenticated_user|PUT|/ext-release-local/xxxx.pom|HTTP/1.1|404|2255
>
> Maybe the way in which the deploy ran out of space is different to what
> you expected?
>
>
>
>
> On Sun, Sep 1, 2013 at 4:01 PM, aviv [via Artifactory] <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=7579052&i=0>
> > wrote:
>
>> Hi,
>>
>> Artifactory returns error 500 when failing to deploy due to out of disk
>> space. Here is a quick example:
>>
>> 2013-09-01 16:56:31,516 [pool-1-thread-31] [ERROR]
>> (o.a.r.s.DeployServiceImpl:262) - Error during deployment: Cannot deploy
>> file CentOS-6.4-x86_64-LiveCD.iso. Cause: There is not enough space on the
>> disk: Cannot deploy file Jar.jar Cause: There is not enough space on the
>> disk
>> 2013-09-01 16:56:31,576 [pool-1-thread-31] [WARN ]
>> (o.a.a.r.RestAddonImpl:1203) - Sending HTTP error code 500: Error during
>> deployment: Cannot deploy file Jar.jar. Cause: There is not enough space on
>> the disk.
>>
>> Can you please add the error you're getting from the artifactory.log?
>>
>> Thanks
>> Aviv
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://forums.jfrog.org/Why-404-when-publishing-fails-because-no-disk-space-tp7579048p7579051.html
>>  To unsubscribe from Why 404 when publishing fails because no disk
>> space?, click here.
>> NAML<http://forums.jfrog.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: Why 404 when publishing fails because
> no disk 
> space?<http://forums.jfrog.org/Why-404-when-publishing-fails-because-no-disk-space-tp7579048p7579052.html>
> Sent from the Artifactory - Users mailing list 
> archive<http://forums.jfrog.org/Artifactory-Users-f2377369.html>at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to